maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) (https://talk.maemo.org/showthread.php?t=73068)

MasterZap 2011-11-15 09:34

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
...and sorry guys for being away. I've been busy with Slightly Annoyed Rodents for the N9 and N950 :)

eph.zero 2011-11-17 20:22

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Apparently Gowalla forgot to put the Connections page into the redesign, so it's not possible to deauthorize apps from the web at the moment. :-/

https://groups.google.com/d/topic/go...Gqs/discussion

Anyone know of another way to de-authorize ZapLoc on Gowalla so I can start over and get it working again?

Gusse 2011-11-17 21:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by MasterZap (Post 1123816)
0.9.5-2 should fix both these things - I hope.

As for the new busybox problem... if someone can show me the output of

Code:

ps | grep "zaploc-daemon"
with new busybox, I can try to figure something out....

/Z

Here is ps output (also with -w) after 3 starts with latest busybox.
Code:

BusyBox v1.19.3 (Debian 1.19.3power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ ps | grep "zaploc-daemon"
2542 user    39760 S    {zaploc-daemon.p} /usr/bin/python/opt/zaploc/zaplo
 4134 user    39632 S    {zaploc-daemon.p} /usr/bin/python /opt/zaploc/zaplo
 4181 user    39632 S    {zaploc-daemon.p} /usr/bin/python /opt/zaploc/zaplo
 4243 user      2816 S    grep zaploc-daemon
~ $ ps -w | grep "zaploc-daemon"
 2542 user    39760 S    {zaploc-daemon.p} /usr/bin/python /opt/zaploc/zaploc-daemon.py -d
 4134 user    39632 S    {zaploc-daemon.p} /usr/bin/python /opt/zaploc/zaploc-daemon.py -d
 4181 user    39632 S    {zaploc-daemon.p} /usr/bin/python /opt/zaploc/zaploc-daemon.py -d
 4245 user      2820 S    grep zaploc-daemon


Gusse 2011-11-21 18:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Thanks Z!
Now ZapLoc is once again compatible with latest BusyBox.

If this will be the last update to Zaploc then let us know when it will be in extras-testing and let's pushed it to extras. This version should go there and have a wider audience :)

sylwiusz 2011-11-21 19:19

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
MasterZap.
I'd love to use your nice app just for google latitude. And it would probably work, but it seems it uses supl.nokia.com server for GSM positioning. Well, for some reason and for some people it doesn't show correct position at all! For instance no matter in which part of Poland you are, your position is shown as "Szadek" - see here:
http://talk.maemo.org/showthread.php?t=79791
And it causes problems in other parts of the world too:
http://talk.maemo.org/showthread.php...kia.com&page=3
supl.google.com works properly (shame on you Nokia!). Is it possible to change positioning server in ZapLoc's configuration file or is it a matter of rebuilding app by you? :-(
If the latter is a case - could you recompile ZapLoc with google server please, please, please? :-)

woody14619 2011-11-21 19:43

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by sylwiusz (Post 1127005)
it would probably work, but it seems it uses supl.nokia.com server for GSM positioning.

This is normally a phone setting, not an app setting. Zaploc should just be using the liblocation system to get this info. If you change the phone setting (System->Settings->Location->Network positioning) it should change this for all apps.

I get 0 lock info when I have things set to supl,nokia.com, and can't get a lock for a solid 20 minutes. Change it to supl.google.com and everything works quickly, including Zaploc.

sylwiusz 2011-11-21 20:03

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
But I have supl.google.com set in system positioning preferences :-( And yet ZapLoc shows wrong position still (the same as Ovi Maps showed when supl.nokia.com was set), while with google server Ovi Maps shows right position using only cell tower localisation :-/
Yup, I know, getting google latitude to work on N900 is not an easy task ;-)

sylwiusz 2011-11-22 16:42

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
It seems it works now allright :-) Perhaps at the begining there was a cached localisation found somewhere? Anyway one day of use and I have google latitude filled with places I visited today ;-) Thanks MasterZap :-)

MasterZap 2011-11-24 18:04

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I am not myself doing anything with supl.nokia.anything that's the N900 location stuff. All I do is ask the location layer for positoins. I do nuttin' more (well, okay, the WiFi-based location stuff I do myself)

My N900 is still broken but I can use it for some updates... some update may come....

...also, the sorf-of death of my N900 may speed up making ZapLoc for N9(50).... I hope.

Thing is my game is keeping me a tad busy too. :)

/Z

sylwiusz 2011-11-25 12:05

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Yeah, it seems it was a kind of a cache related problem.
But I feel I have a bad luck. I've installed the newest version of ZapLoc to another N900 and during start a dialog box "authorizing ZapLoc with google latitude" with animated binary code stays on the screen forever, no google auth site opens :-( Maybe I'll try some older versions in this case?

sylwiusz 2011-11-25 13:13

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Yup, tried to remove config file, tried to reinstall, dialog box stays on the screen, it won't go further to google oauth :-/

MasterZap 2011-11-29 09:32

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I know of no change on Google latitude... but I'll try to revive my broken N900 and give it a try. I'm still waiting to know if my broken USB port is covered under warranty in the opinion of the store where I bought it (I know my and Nokias opinoin) ;)

/Z

sxa 2011-12-19 22:32

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by sibbe (Post 1102722)
Hi,
When I start the application - Set up Services - tick on Foursquare and click on Authorize... I get the message Authorizing ZapLoc with Foursquare and the progress bar shows moving ones and zeroes. But nothing happens - it doesn't open any browser window to authenticate, just hangs there until I click Abort.

Tried uninstall / reinstall, uninstalling removing all dependencies by apt-get autoremove --purge zaploc and reinstalling, but no change.

I'm getting the same problem as this. If I bring up the task switcher I can see a window close animation - which I can only guess was supposed to be the browser window that ZapLoc is trying to start up to do the auth. Is there any way to resolve/debug this?

Whoopi 2012-02-29 18:20

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
hello guys,
i try using zaploc 0.9.5-5 (from extras-testing) on my n900 (most of the packages on my n900 are from the stable-repos).
when i start the app, the auth-dialog appears. in case i select the google-latitude auth, just nothing happens (also no auth!). when i select auth of foursquare, gowalla or facebook, the dialog "authorizing zaploc with ..." appears but hangs and the console output is:

Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/opt/zaploc/app/zaploc.py", line 685, in run
File "/opt/zaploc/app/zfoursquare.py", line 60, in authorize
NameError: global name 'options' is not defined

how can i make this work?
(i already tried removing the /home/user/.zaploc directory which didn't help.)

canuckkat 2012-03-10 17:10

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
For some reason it's not seeing my newly made home from foursquare.

carloxic 2012-06-15 13:16

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by MasterZap (Post 1130463)
I know of no change on Google latitude... but I'll try to revive my broken N900 and give it a try. I'm still waiting to know if my broken USB port is covered under warranty in the opinion of the store where I bought it (I know my and Nokias opinoin) ;)

/Z

send it by post to any service store in finland, they'll send u a new one back. I did that and got a new phone within 7 days

carloxic 2012-06-15 13:21

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by colchaodemola (Post 1116435)
Is there a way to make the daemon run once , update and exit ?
I was thinking about something as zaploc-daemon.py --update.
So i could run in network scripts to update every time it connects to the network.

this is probably the best nick i've seen in a loooong time! congrats...

Self-Perfection 2012-07-24 21:39

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Zaploc does not update google latitude for a few days. Here is error message from zaploc-daemon:
Code:

10:11:37: Latitude update LAT,LONG (acc 62.9)
10:11:37: Connection is up - Good!
10:11:39: Error updating location <class 'apiclient.oauth.CredentialsInvalidError'>
10:11:39: Sleeping... Zzzzz

I've tried to remove /home/use/.zaploc dir and re-authorize zaploc in google latitude but it did not help. Browser shows page
"Not Found
Error 404"
in authorization attempt.

petur 2012-07-24 22:57

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
oh... that explains a lot. I had switched off updating when leaving on holiday (roaming costs) and was wondering why it refused to update when I enabled it again.

Google api change?

riku2015 2012-07-29 14:35

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
having same problem, i try reauthorize then i get error 404 on browser from google latitude

wurusai 2012-07-30 04:57

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
it is a real problem!!! and i thought it was just me!!!

riku2015 2012-07-31 17:42

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
is there any fix yet? my friends miss me and they don't know where i am... :(

MasterZap 2012-08-13 14:42

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Fix on it's way. Also removing the defunct GoWalla service. Yes, I got myself a new N900 - who can live without one? :)

/Z

petur 2012-08-13 16:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Great news, thanks. Any tech details?

MasterZap 2012-08-14 05:49

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Google switched to OAuth2, Latitude used to be on the defunct old OAuth1 model. I was on the latitude mailing list but wasn't paying attention that they were actually *shutting down* the OAuth1 route on July 20:th [they had been running both in parallel for a while].

I also removed Gowalla, which is no longer with us... sadly, since its existance was half the reason I wrote the app in the 1st place :)

/Z

kurtyy 2012-08-14 08:03

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
works as well for me. thanks a lot

petur 2012-08-14 09:35

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Confirming that everything is working fine again. Thanks a lot!

Self-Perfection 2012-08-20 17:51

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
First of all, thank you for the fix!

I've encountered two problems though:
  1. Posting accuracy is broken again. Accuracy is posted but very rarely. Can it be caused by posting floating point value instead of integer as it were last time?
  2. If zaploc-daemon is strated while the phone in offline mode and updating of auth token is required (due to expiration) then zaploc-daemon tries to get initial authorization via oauth2 and launches browser.

riku2015 2012-08-21 10:41

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Heya!
Thanks for the update!
I got it working first google latitude was able to authorize on web browser until it was going back then it stayed on loop spinning around the loading..
i tried to delete zaploc all config files and reinstalling software, now there is bigger problem,

When i try to authorize google latitude (i check the option Google Latitude) it will stay endless loop loading. nothing happens. just loop the loading, not even browser opens anymore??

Any tips?

MasterZap 2012-08-24 07:46

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by Self-Perfection (Post 1253842)
First of all, thank you for the fix!

I've encountered two problems though:[*] Posting accuracy is broken again. Accuracy is posted but very rarely. Can it be caused by posting floating point value instead of integer as it were last time?

Possible - I had to re-code the entire posting-to-latitude coz it was frankly easier than trying to understand the strange google api for Oauth2... since I had hand-coded OAuth2 for all the other services, it was easier to just clone a lot of the code for FB and FS to the latitude service.

Tho, if you post an accuracy to latitude, latitude returns the value as a float?

Quote:

Originally Posted by Self-Perfection (Post 1253842)
[*] If zaploc-daemon is strated while the phone in offline mode and updating of auth token is required (due to expiration) then zaploc-daemon tries to get initial authorization via oauth2 and launches browser.

Yeah unfortunately the token expires after only one hour, which I find quite excessive (compare to the Gowalla token that expired after 2 weeks, or FB / FoureSquare that doesn't expire at all)

I'll see what I can do....

/Z

Self-Perfection 2012-08-26 18:46

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
One more observation. It seems, posting to latitude is not reliable enough in current version. For example, I have 20 rows "Checked you in at X, X on Latitude" in zaploc-daemon log for my yesterday travellings, but only 14 points in "Location history" section of Google Latitude website.

Update: Google hides points that seems to be erroneous. There is option to show hidden points. So hidden points seems to be a result of problems with posting accuracy.

getnani 2012-08-30 11:10

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
1. is the zaploc supposed to work now? or is there a fix to be done yet?
or do i need to reset zaploc?

2. As of now, every time I reboot n900, I get an authorization request from GOogle Latitude.. Is this normal? i know i am using the daemon version. yet asking me daily for permission looks silly!

3. When I check for attached services, It just hangs after fb Places, keeps on doing that circle thing. Is this known? Does it happen to all? or Am i Just by myself wrt this Error?

petur 2012-08-30 11:24

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Works here.... for the authorisation problem, read up a few posts.

getnani 2012-08-30 11:26

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Thanks for the reply petur.

Could you please help me how should i reset the app?
so that i can start from scratch

also, what is the latest ver?

petur 2012-08-30 11:32

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
The config is stored under /home/user/.zaploc so if you rename that you start from scratch.

getnani 2012-08-30 11:34

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
thanks m8. Doing it r8 now. will keep u posted!

petur 2012-08-30 11:36

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
And now that HAM finally started, here is the version number: 0.9.6-4

getnani 2012-08-30 12:54

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Thanks for the ver petur. I have the same one.

deleted config files. reauthorised, but hangs @google latitude. It says success in the web browser. After I close it and get back to the Zaploc, it just circles forever. Does anybody have this issue?

petur 2012-08-30 13:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
And that's with the latest version?

getnani 2012-08-30 13:03

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
yup that is correct


All times are GMT. The time now is 20:53.

vBulletin® Version 3.8.8