View Single Post
bergie's Avatar
Posts: 381 | Thanked: 847 times | Joined on Jan 2007 @ Helsinki
#78
Originally Posted by cudgel View Post
No, I didn't have hostip installed - that did it. I assume that the script needs to be run from the directory containing the poi.db file (at least that's where I ran it). Worked like a charm.
It can be run anywhere, but for now it requires you to keep the poi.db in its default location. This is because current pymaemo doesn't have GConf available and so I can't read a custom POI DB location from Maemo Mapper's config.

Anyway, great to hear it worked!

I tried installing gpsd and the geoclue gpsd backend, but that seems pretty broken at the moment. It would be a nice option though, as I'm not sure the hostip backend would populate correctly if I'm using a EDGE connection from T-Mobile (but I haven't tested that theory).
hostip is very inaccurate at least with GPRS/3G networks here in Finland. Usually you get a totally wrong city.

GPS (or Plazes for example) would be a lot better, but again I'm a bit limited by not having GConf available and so not being able to read user's positioning backend preference.

So far the script is mostly just a proof-of-concept. With next release of pymaemo I hope I'll be able to make it a lot better.