Re: About the upcoming maemo user karma
Hi, On Nov 7, 2007 8:38 PM, Jesse Guardiani <[EMAIL PROTECTED]> wrote: > I really really really like Ohloh. I just set up Kagu Media Player under > Ohloh and it give excellent statistics and information about our project: > http://www.ohloh.net/projects/7442?p=Kagu+Media+Player Yep. We've been following Ohloh stats for the Midgard Project for a while now and they're really nice. > All we need is a way to map Ohloh Contributors to maemo.org accounts, and > map Ohloh Statistics to maemo.org's karma system, right? > Would the Ohloh API work for that? It would. The only problem is that they only allow 1000 (IIRC) API queries per day while we have 7000+ users to count karma for. This means we need to split the users we have into some kind of processing batches. Anyway, for the different ideas for collecting karma: the karma system in Midgard has a PHP plug-in API. I've already shown Ferenc how to do plug-ins but I will also make a doc about it soon so others can help us to expand the reach of the karma calculations. > Jesse Guardiani /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: About the upcoming maemo user karma
On 11/2/07, Mike Morrison <[EMAIL PROTECTED]> wrote: > What about applications that are not hosted in garage but are listed in the > application catalog? My program falls into this category [1]. Also, I > currently host the packages for it in my own repository (I will be moving to > the extras repository for future builds). Does that also affect the karma > calculations? Currently it is showing a zero for my product karma [2]. The problem is this: in the product page it says "Submitted by ", meaning that you're not marked as the application author in the database. I've now marked you as the author, so karma should come by tomorrow morning. If you are author of an application in the app catalog but not marked as such, go to the app page and click "edit metadata", and add yourself as the author. /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: About the upcoming maemo user karma
On 11/1/07, Henri Bergius <[EMAIL PROTECTED]> wrote: > There will be recount every night, so once you have linked your > garage, bugzilla, maemo.org and mailing list accounts together (mostly > by using a consistent email address everywhere), your stats will start > to show up nicely. Unfortunately the automatic recount did not fire this night. My bad, hadn't actually installed the cron handler. I'll launch a manual recount a bit later today, and next night the automatic one should happen normally. -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: About the upcoming maemo user karma
On 11/1/07, Jesse Guardiani <[EMAIL PROTECTED]> wrote: > Does that mean that projects hosted mostly off garage will receive less > karma per effort? Unless we figure out some way to get the stats :-) Ohloh is an option... -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: About the upcoming maemo user karma
Hi, On 11/1/07, Quim Gil <[EMAIL PROTECTED]> wrote: > We are near to implement user karma in maemo.org. Like most karma > systems, it is used as a nice add-on to promote and show off those > investing time and energies in the project. While the algorithm is still being tuned and maemo team is adding more karma calculation plugins, you can see the current "top contributors" list in: http://maemo.org/profile/list Karma (with details on where it came from) is available in a profile page. For example: http://maemo.org/profile/view/bergie Your own karma is also in: https://maemo.org/profile/ There will be recount every night, so once you have linked your garage, bugzilla, maemo.org and mailing list accounts together (mostly by using a consistent email address everywhere), your stats will start to show up nicely. Comments welcome, as always :-) /Henri PS: The karma system was developed as a quite generic Midgard module. See the logic in http://trac.midgard-project.org/browser/trunk/midcom/net.nehmer.account Plugins can be developed independently of the actual module and we're happy to receive ideas of potential karma data sources. -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N810 maemo device program open for submissions
On 10/18/07, Andrea Grandi <[EMAIL PROTECTED]> wrote: > I've registred to maemo.org creating an account. I got the > confirmation email from maemo.org and I was able to log into the > "garage". But if I go to www.maemo.org and I try to enter my user and > password I cannot login :( There is some delay before accounts are replicated from Gforge to Midgard. Try again a bit later. -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Fwd: Launching web browser from python
Sorry, forgot to send this to the list. -- Forwarded message -- From: Henri Bergius <[EMAIL PROTECTED]> Date: Oct 10, 2007 1:33 PM Subject: Re: Launching web browser from python To: David HAUTBOIS <[EMAIL PROTECTED]> On 10/10/07, David HAUTBOIS <[EMAIL PROTECTED]> wrote: > Hi > > I'm developping a python application. > What is the best way to launch the web browser with a specified URL ? This is what we do in maemoplazer: # Launch browser DBUS service bus = dbus.SessionBus() proxy_obj = bus.get_object('com.nokia.osso_browser', '/com/nokia/osso_browser') dbus_iface = dbus.Interface(proxy_obj, 'com.nokia.osso_browser') # Make browser use correct url dbus_iface.open_new_window(str("url")) > David. /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: webkit based browser for 770/N800?
On 9/10/07, Hannes Wolf <[EMAIL PROTECTED]> wrote: > As Nokia is using a webkit based browser for some Symbian60 mobile > phones, is there any specific reason, why they donĀ“t use it for the > 770/N800? Does anybody work on this somewhere? A quick googling gave the following news items saying that something is happening... http://arstechnica.com/journals/linux.ars/2007/08/07/new-webkit-backend-under-development-for-n800-web-browser http://www.atoker.com/blog/2007/09/05/webkitgtk-at-linuxconf-europe-2007/ > TIA. Hannes Wolf (CyBear). /Bergie -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Google Summer of Code
Hi, Google Summer of Code final reviews were due today, and I just filed the one for GeoClue. There were four maemo SoC projects this year: * GeoClue for Maemo * Japanese/Chinese handwriting recognition on Maemo * Ruby Maemo Bindings * Smoove - Instant Desktop Migration Suite It would be very interesting to hear how the other projects went. Would anybody (Quim?) care to make a summary and post it? GeoClue has pretty good set of status updates in Jussi's blog: http://vilunki.wordpress.com/ And the fact is, new GeoClue looks quite good: http://www.flickr.com/photos/bergie/1183413084/ Now we only need to get apps to use it for location context awareness :-) -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [Fwd: Re: community calendar beta is out]
On 8/14/07, Acadia Secure Networks <[EMAIL PROTECTED]> wrote: > I would like to start using/testing this application but I use Microsoft > Outlook as my primary calendar management app. > > Is there a simple way to sync this calendar app with Microsoft Outlook > calendar events and/or import Outlook calendar events to the app? ical import/export/subscription is in the roadmap. > John Holmblad /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: maemo.org scrambled...
On 8/14/07, Tony Maro <[EMAIL PROTECTED]> wrote: > Looks like large chunks are currently missing (404) or generating script > errors inside Midgard. I hope someone is in the middle of a revamp or > something... The server was upgraded from EOLd PHP4 to PHP 5.2, which caused some issues for a while. Things are good now, next we need to invalidate Squid caches. -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: maemo wiki survey
On 7/8/07, Henri Bergius <[EMAIL PROTECTED]> wrote: > This means that next week (probably Mon/Tue), I will make some changes > to the wiki component Hopefully this will address some of the concerns, once installed: http://bergie.iki.fi/blog/making_midgard_wiki_easier.html -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: maemo wiki survey
Hi! We had some discussion with Ferenc about this thread last Friday and agreed that some of things should be addressed ASAP. This means that next week (probably Mon/Tue), I will make some changes to the wiki component, including at least capability of showing latest changes from all sub-wikis (namespaces). The wiki software already has a "latest changes" view, but this feature only shows the current wiki/namespace instead of all namespaces under it. When I do this change it will also happen in the "changes" RSS feed. I will also look at adding preview capability to the regular form-based editor. Then to your comments: On 7/5/07, Kees Jongenburger <[EMAIL PROTECTED]> wrote: > -The cms documentation is very poor(formating rules etc) > --how to create a toc etc > https://bugs.maemo.org/show_bug.cgi?id=1590 The formatting is standard Markdown Extra with couple of wiki-specific tags added. But you're right, we should collect both the Markdown Extra documentation and our wiki docs in the same place, and preferably ship that with the wiki itself. > -When not editing in wysiwyg mode not preview button is visible > https://bugs.maemo.org/show_bug.cgi?id=1408 The reason here is twofold: obviously, I've been mostly too lazy to add preview functionality, but also so many Midgard setups run in staging/live model where saving and previewing are essentially the same thing (and only content approval publishes the changes) that this hasn't been a critical missing feature. > -when committing everybody can see that I am watching page changes That happens also with MoinMoin, which is why I added this feature. I could easily hide the notices, though. > -No maemo wiki specific search > https://bugs.maemo.org/show_bug.cgi?id=1381 There would be wiki-specific search if we used Midgard's own indexer. However, I suspect it should be possible to make searches limited to a specific URL space using Maemo's Google appliance. > I would like a world view / site map arranged on topic of booth wiki > and non wiki content > so that if I find that page I know I don't have to look in other parts > of the website This is easy to implement: just create a new folder with type "sitemap". Ferenc/Quim, what do you think? > I guess that it is the main wiki page that needs cleanup Agreed, now it is quite horrible. I think for example Midgard's own wiki is much nicer with its manually maintained front page: http://www.midgard-project.org/documentation/ As to other things people here have requested like for example anonymous editing, those are mostly questions of configuration and the decisions about them must be made by the Nokia folks. Personally I'd advice against anonymous editing however, as it creates quite big need to monitor and police the changes against abuse. Registration/login is not a big deal, and the resources that would be needed for keeping the wiki clean are most likely best used elsewhere. /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: about SoC organization reward
On 5/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Using SoC money to sponsor trips to GUADEC sounds very good. The best > proposal (IMHO) I have heard so far. > > What are the thoughts of the other SoC students? Rest of people? +1 from me. > Quim -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Download page broken again?
On 5/8/07, Neil MacLeod <[EMAIL PROTECTED]> wrote: > Looks like a good kicking has done the trick - thanks Henri! :) There was a corrupt cache dir on the server that had been caused by kernel killing MySQL mid-request. (thanks for figuring it out, Rambo!) Hopefully the admins will soon set up swap on the server so this doesn't happen again... -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Download page broken again?
On 5/8/07, Neil MacLeod <[EMAIL PROTECTED]> wrote: > Scratch that - the whole of http://maemo.org is returning a blank (zero byte) > page. Home Page, > Planet, whatever I had bookmarked is now a blank page. :( Weird thing is that the regular web server and Midgard are running just fine in https://maemo.org/ I'll try to kick the Squid process (which runs in port 80) a couple of times to see what is wrong. -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] Jaiku: http://bergie.jaiku.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: New PyMaemo svn repository
Hi! On 3/19/07, Luciano Miguel Wolf <[EMAIL PROTECTED]> wrote: Our next target is to release a new version with bugfixes (more bindings-e.g.: LibConIC, UCS4 encoding based and d-bus problem). Regarding the DBUS problem, I'm *very* happy to hear you guys are working on it. This means we soon will have new GeoClue positioning backends written with pymaemo... BTW, any news about GConf support in pymaemo? Anyway, obrigado for working on this! Luciano Wolf /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Summer Of Code Proposal: Wifi Localization
Hi! On 3/19/07, Guy Van den Broeck <[EMAIL PROTECTED]> wrote: Over the past year I have been writing modules and demo applications that use WiFi signal strengths to localise the user inside a building. In urban areas, or inside buildings, where GPS systems often fail, WiFi signals are a good alternative. Sounds interesting. This would be a very nice GeoClue backend. There are 2 possible approaches: -you can use the list of available MAC-addresses to find your position with a resolution of 10s of meters. This can be done by using an (open source) wardriving database like SkyHook's, or wigle.net's. This is also somewhat connected to MaemoPlazer which I'm working on. Currently it only uses your current WiFi access point, but multiple might be interesting too... http://bergie.iki.fi/blog/maemo_plazer_released.html -you can use the signalstrengths together with fingerprints taken on e.g. a university campus or a game hall and find the user's position with a resolution of 1-2 meters. This is suitable for games, musea, etc. A particle filter can be used to calculate the moving user's positions in time. This kind of position data would be very interesting. I trust you're familiar with MIT's Museum Without Walls concept? http://museum.mit.edu/files/presentations/2006-03-15-mwow/pages/page_9.html I have previously implemented this in Java, but I could do it in e.g. Python too. Python (or Mono) would be simpler for the Maemo platform. - is anybody willing to mentor this project? I'd be more than happy to :-) guy van den broeck /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Issues with bora's dbus-python
On 3/2/07, Luciano M. Wolf <[EMAIL PROTECTED]> wrote: Hi Henri, Hi! Thanks for this report. Right now we are migrating pymaemo svn to garage.maemo.org. After this we will give special attention to all bugs reported. Could you open a bug on pymaemo bugzilla[1] with a link or some information about this patch for pyrex? Here's the bug as reported by Simon McVittie (smcv on #dbus): https://garage.maemo.org/tracker/index.php?func=detail&aid=561&group_id=40&atid=229 Luciano Wolf /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Maemo roadmap, SDK improvements...
Hi! On 3/6/07, Quim Gil <[EMAIL PROTECTED]> wrote: > By the way, the new wiki does not require us to use CamelCase, so page > names can be also just RFE/Position awareness. Even much better. Good. :-) Calling it a policy then. Right, tell me if I went too far. :) How the structure of the page could look like. (*) are mandatory. I made a quick test with this on my local install, and I've attached the schema that implements most of the things you wanted. This can be easily added to the wiki on test.maemo.org by just a configuration change. See the editing view in http://www.nehmer.net/~bergie/maemo_wiki_edit_rfe.png I made the person selection fields "searchable" so you can connect Maemo garage users to the wiki pages more easily. Since they're linked to the real contact records we have quite nice options for displaying them. - Related resources (URLs) I'd just put these to the page content. - Discussion (relevant links to mailing list posts and/or wiki-style discussion here, not to mess with the previous fields). Again, this could be in the content. Another option we have here is that we could utilize tagging. Since Maemo mailing list archives will be in Midgard a bit later it would be easy to connect the email threads and wiki pages with each other: just include the following in the end of your email body if you want to connect your message with this particular RFE: tags: "RFE/Position awareness" This will be parsed by Midgard and stored as a local tag that enables us to see the link both ways (link to wiki page from mailing list archive, and link to email thread from the wiki page). Also, it would be great if the web admins and the author of the page could edit this additional field: - Status (Wishlist, Planning, Alpha, Beta, Stable) Added. Now it requires admin user. However, it would be easy to also add a proper privilege for this so it could be enabled for users who are not necessarily full admins. What do you think? Quim Gil - http://maemo.org /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] 'rfe' => array ( 'description' => 'request for enhancement', 'fields' => array ( 'title' => Array ( 'title' => 'title', 'storage' => 'title', 'readonly' => true, 'type' => 'text', 'widget' => 'text', ), 'abstract' => Array ( 'title' => 'abstract', 'storage' => 'abstract', 'required' => true, 'type' => 'text', 'type_config' => Array ( 'output_mode' => 'markdown' ), 'widget' => 'textarea', 'widget_config' => Array ( 'height' => 4, 'width' => 80, ), ), 'author' => array ( 'title' => 'Proposed by', 'storage' => 'author', 'required' => true, 'type' => 'select', 'type_config' => array ( 'require_corresponding_option' => false, 'options' => array(), ), 'widget' => 'universalchooser', 'widget_config' => array ( 'class' => 'org_openpsa_contacts_person', 'component' => 'org.openpsa.contacts', 'titlefield' => 'name', 'idfield' => 'guid', 'constraints' => array ( array ( 'field' => 'username', 'op'=> '<>', 'value' => '', ), ), 'searchfields' => array ( 'firstname', 'lastname', 'username', ), 'orders'=> array ( array('lastname'=> 'ASC'),
Re: Maemo roadmap, SDK improvements...
On 3/5/07, Quim Gil <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-02 at 17:45 +0200, ext Henri Bergius wrote: Yes, we can have links to wiki pages. What about sanitizing http://test.maemo.org/community/wiki/improvementideas/ Sounds good. These pages could have a common syntax in order to identify them better i.e. PositionAwarenessRFE, JavaRFE, WhateverRFE. Perhaps a defauilt template would help creators of new pages. What do you think. The wiki (both old MoinMoin and the new Midgard Wiki) supports namespaces, so we can collect them under "RFE", so RFE/PositionAwareness, RFE/Java etc. By the way, the new wiki does not require us to use CamelCase, so page names can be also just RFE/Position awareness. Traditional wiki templates are not supported by Midgard Wiki, but instead we can have schemas that provide different editing fields for different things. If you add a list of what data you'd like to collect per each RFE I can make a schema for it. Quim Gil - http://maemo.org /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Maemo roadmap, SDK improvements...
On 3/2/07, Johannes Eickhold <[EMAIL PROTECTED]> wrote: I would like to know who the owner or target of a specific entry in the roadmap is. E.g. Nokia employee or garage user + contact info or at least a project website. It would be nice if one could get more specific information on an entry this way. Could this be integrated into the roadmap somehow? How about a wiki page linked to each roadmap item? BTW, would be great to get something about position awareness into the roadmap. With mobile devices like N800 that'd bring interesting possibilities... Jonek /Henri -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Issues with bora's dbus-python
Hi, all! I've been trying to make Maemo Plazer to function as a GeoClue position backend. GeoClue is a DBUS-based system that applications can use to get location information for the device. This can eventually be used for bunch of interesting things like pulling local wikipedia pages and populating them as Maemo Mapper POIs or whatever. However, it seems that the version of dbus-python that is available for bora is not fully compatible with Python 2.5 on the N800. This means that I can't return multiple values from a DBUS service written in Python as GeoClue would require. From discussion on #dbus: bergie: Exception exceptions.AttributeError: "'exceptions.TypeError' object has no attribute '__module__'" in 'dbus_bindings._GIL_safe_cmessage_function_handler' ignored smcv: that's the python 2.5 incompatibility smcv: INdT either need to patch their version of pyrex with the python 2.5 compat patch from Fedora and rebuild d-p, or build d-p 0.80.2 instead Here is some more detailed information about this... If I return a single value from my method I get a correct response: $ dbus-send --print-reply --dest=com.plazes.maemoplazer /com/plazes/maemoplazer org.foinse_project.geoclue.position.current_position method return sender=:1.318 -> dest=:1.319 double 60.1642 But with any other option, I get something else: [double 60.2 double 24.5] ...or... (dbus-monitor too dumb to decipher arg type 'r') If I provide the method signature in the DBUS service decorator, I get the dbus_bindings._GIL_safe_cmessage_function_handler error shown above. HostIP service (which is written in C) returns the right stuff: $ dbus-send --print-reply --dest=org.foinse_project.geoclue.position.hostip /org/foinse_project/geoclue/position/hostip org.foinse_project.geoclue.position.current_position method return sender=:1.159 -> dest=:1.320 double 60.2167 double 24.6667 My current code is: @dbus.service.method("org.foinse_project.geoclue.position", in_signature='', out_signature='dd') def current_position(self): # FIXME: We have to somehow get dbus-python to return multiple values here return self.maemoplazer.lat, self.maemoplazer.lon (https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/src/maemoplazer_service.py?root=maemoplazer&view=markup) And the interface I'm trying to provide is: (http://svn.foinse-project.org/geoclue/trunk/geoclue/position_glue.xml) Now, would it be possible to get a fixed dbus-python package for bora? -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
GeoClue and Summer of Code
Hi, all! I saw Quim's post about the Google Summer of Code on maemo-developers. I wonder if GeoClue would be a fitting project there? GeoClue is a DBUS-based positioning service layer for free desktops. It can be used to add geographical awareness for applications, which would fit a mobile device like Maemo perfectly. Currently GeoClue is still in development stage, with some position information backends like GPSD and "host IP" already working and Plazes almost there. The project would provide nice opportunities for students to work on: * Integrating GeoClue positioning to various applications - Maemo Mapper position source - Switching timezones when you travel - "Where are your friends" based on Jabber positioning extension - Geotagging images or any other information produced on the device * Building "geo widgets" to Maemo and GNOME - Map widget displaying stuff on the map - Location selection widget ("I'm now in central Helsinki") * Aggregating location-based info to the Maemo device - Wikipedia pages near you (the mobile travel guide scenario) - Local news - Weather - ... I'm quite sure both Tigert and myself would be available as mentors. While I'm only learning Maemo/GNOME hacking myself, I have quite a bit of experience about dealing with geographical information in the web space. More info from GeoClue in: http://live.gnome.org/GeoClue And some related stuff in: https://wiki.ubuntu.com/GeoLocDesktopService http://bergie.iki.fi/blog/the-real-hitchhiker-s-guide-to-the-galaxy.html http://bergie.iki.fi/blog/maemo-mapper-takes-us-closer-to-the-hitchhiker-s-guide.html -- Henri Bergius Motorcycle Adventures and Free Software http://bergie.iki.fi/ Skype: henribergius Jabber: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers