|
|
2011-04-19
, 16:05
|
|
Posts: 13 |
Thanked: 2 times |
Joined on Apr 2011
@ Germany
|
#162
|
Could you give a hint how to install the google stuff? I unpacked the tarball and did "python setup.py install" as root, but it still complains:
Code:~ $ ./latitude-updater.py Traceback (most recent call last): File "./latitude-updater.py", line 38, in <module> import location ImportError: No module named location
~$ apt-get install python-location
# python latitude-updater.py -v 2011-04-19 18:01:36: Got loc data .... (acc ...) alt nan (...), head nan, speed nan 2011-04-19 18:01:45: Sending location update ... (acc ...)
| The Following User Says Thank You to Whoopi For This Useful Post: | ||
|
|
2011-04-20
, 08:04
|
|
|
Posts: 288 |
Thanked: 175 times |
Joined on Oct 2010
@ Petaling Jaya, Selangor, Malaysia
|
#163
|
to migrate to the official api i need:
a rest libreary in meego and maemo
a oauth libreary in meego and maemo
a json libreary in meego and maemo
... and i need time......
|
|
2011-04-21
, 14:36
|
|
Posts: 4 |
Thanked: 4 times |
Joined on Feb 2010
@ Espoo, Finland
|
#164
|

|
|
2011-04-21
, 15:36
|
|
Posts: 13 |
Thanked: 2 times |
Joined on Apr 2011
@ Germany
|
#165
|
Please download and try again (or just uncomment "print service.currentLocation... line).

|
|
2011-04-25
, 10:05
|
|
|
Posts: 288 |
Thanked: 175 times |
Joined on Oct 2010
@ Petaling Jaya, Selangor, Malaysia
|
#166
|
|
|
2011-04-27
, 07:31
|
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#167
|
oh, how dumb i was... okay, i removed the comment and now it works! thank you!
maybe an improvement: according to the gps-icon in the status area, your script continuously access the gps-receiver. could you please modify it, so that it turns gps off, while waiting for the next update?
which you must create first by manually running it once and going through the authorization.| The Following 3 Users Say Thank You to MasterZap For This Useful Post: | ||
|
|
2011-04-27
, 09:23
|
|
|
Posts: 288 |
Thanked: 175 times |
Joined on Oct 2010
@ Petaling Jaya, Selangor, Malaysia
|
#168
|
I made a quick modification to the script which switches to true GPS position (the way I want it, cell tower is 100% useless to me), plus adds a "--once" command line option.
That way, I can call alarmed to call the script every 10 minutes addomg the "--once" option, et voila.... also, it requires the config file latitude.dat to be in /home/user/latitude/ (probably not a very unix-y place to put it)which you must create first by manually running it once and going through the authorization.
After that, you can put it into Alarmed w. eg. a cron string "*/10 * * * *" or somesuch.
/Z
|
|
2011-04-27
, 10:25
|
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#169
|
Hi MasterZap,
Do you have step-by-step noob level instructions? Or can somebody please do a lovely front-end GUI for this?
Thanks in advance...

|
|
2011-04-27
, 13:03
|
|
Posts: 177 |
Thanked: 199 times |
Joined on Nov 2007
@ Concepcion, Chile
|
#170
|
| The Following User Says Thank You to rlinfati For This Useful Post: | ||
a rest libreary in meego and maemo
a oauth libreary in meego and maemo
a json libreary in meego and maemo
... and i need time......
User:rlinfati
Last edited by rlinfati; 2011-04-19 at 20:19.