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-05-17 13:25

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

Originally Posted by thegman (Post 1008112)
I used this bit of python code (uses dbus) for listening to CellID changes when I threw together "Rest in Peace": http://talk.maemo.org/showthread.php...628#post428628

It could be modified for your needs to only ask location updates when the CellID changes

Thanks... not sure I need that, since when position is set to cell id, you only get updates when position changes anyway.

The trick is that my code is totally based around a sort of loop that enables the whole location subsystem at given intervals, which is backwards to the way it need to be if I need to listen to location changes instead... so either way it's a bit of "turning the code inside out" to make this do what I want for cell tower changes.

Not a high priority to fix, but I'm surely thinking about it.

But many thanks!!

/Z

morti 2011-05-17 13:54

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Still having issues when ZapLoc is running in background mode and fails to get a perfect gps lock, e.g.
- In offline mode (no signal)
- Indoors (coarse location)

It seems the daemon keeps trying to get a lock for a long time (gps icon is almost constantly flashing in status bar), which quickly drains the battery.

Is there or should there be some kind of a timeout in place for when the phone fails to get a location or gets only cell location?

Anyone else having the same issue?

MasterZap 2011-05-17 13:59

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I still havn't solved the offline thing.

Also, I simply wait until 3 samples come in. I guess when it finds zero GPS, then there will not come in any samples. So yeah, a timeout..... sounds smart.

Can anybody help me figure out how to detect off-lined-ness from Python? I sure can't.

/Z

morti 2011-05-17 14:21

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I'm less worried about the offline thing, since for now I can just turn off background updates, in the future command line options will make this even easier, and anyway I'm sure you'll find a solution sooner or later.

But do you think the same issue can be causing the battery loss during weak signal? This is my biggest/only concern currently with the otherwise excellent software ;)

thegman 2011-05-17 14:38

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

Can anybody help me figure out how to detect off-lined-ness from Python? I sure can't.
This should work from the shell (untested):
Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_device_mode
If it does, you should be able to fire the same dbus call from python

Edit:
Just tested it, and it returns "flight" or "normal" depending on device mode (flight === offline)

rmayrink 2011-05-17 15:11

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Any news about map bug?

Thanks.

MasterZap 2011-05-17 16:38

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

Originally Posted by morti (Post 1008207)
I'm less worried about the offline thing, since for now I can just turn off background updates, in the future command line options will make this even easier, and anyway I'm sure you'll find a solution sooner or later.

But do you think the same issue can be causing the battery loss during weak signal? This is my biggest/only concern currently with the otherwise excellent software ;)

Command line options are coming for sure; I loved that idea.

/Z

MasterZap 2011-05-17 18:08

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

Originally Posted by rmayrink (Post 1008240)
Any news about map bug?

Thanks.

The south-of-the-equator issue? Yep, 'tis fixed. It was a stupid mistake in the code. I had forgotten half the planet :)

Get the new version, it's fixed.

/Z

Reflektorfalke 2011-05-17 19:06

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1007711)
I have authorized ZapLoc with my Facebook account successfully.
But whenever I hit the Facebook places button after searching for a second or two (showing the moving 110101 signs) it gives me an error, in XTerm it tells me
" Unexpected error: <class īurllib2.HTTPErrorī> "

Anyone knows what the problem is here?

Hi MasterZap,

sorry for asking once again, but as you havenīt replied so far I assume you missed my post!?

Just updated to latest version and still have this urllib2 error - any idea whats wrong?

EDIT:
SOLVED by purging, reinstalling and reauthorizing to Facebook using MicroB instead of Opera Mobile. Seems like authorization does not complete correctly.

rmayrink 2011-05-17 19:08

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 1008427)
The south-of-the-equator issue? Yep, 'tis fixed. It was a stupid mistake in the code. I had forgotten half the planet :)

Get the new version, it's fixed.

/Z

No update available this time (apt-get update/upgrade as root). I did an update today, but the problem still happens. The update is already available?

EDIT 1: I will try to remove e install ZapLoc again.
EDIT 2: Version 0.9.4-27 installed: Same error.
EDIT 3: From terminal and ZapLoc showing "Loading":

~ $ /opt/zaploc/zaploc.py
Daemon is not running - starting it
Starting ZapLoc daemon:
Location method Cell-tower
5 minutes between samples
(-15.809755073860288, -47.84617337398231, nan, 1048.0)
(-15.801646169275045, -47.842374695464969, 59240.0, 1048.0)
(-15.801646169275045, -47.842374695464969, 59240.0, 1048.0)
(-15.801646169275045, -47.842374695464969, 59240.0, 1048.0)
(-15.810280367732048, -47.846128363162279, 21456.0, 1053.0)
Et tu, Brute...

andrei1089 2011-05-17 19:14

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Are you planning to display location of friends from latitude?

petur 2011-05-18 08:32

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I have two issues:
1) it stops updating (latitude) after some time. I use alarmed to switch to offline at night, in the morning it goes normal again and ZapLoc starts its updates. Currently set to 5 minutes. After about an hour, the updates stopped.
2) roughly 40% to 50% of the updates are not ACWP (cell tower) locations but CWP (country) locations. Either there is a bug or this is an issue of Power v47 or CSSU?

Will try the daemon on the commandline to log what it says

edit: on starting the daemon, it didn't mention that it was already running, so the daemon wasn't running anymore? It is configured to start at boot and never quit.

edit2: on the commandline, at least one line said mode 0 while another said mode 2

MasterZap 2011-05-18 08:46

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Right, it displays all incoming GPS samples of all qualities, good and bad, but it won't act on them. It will clearly tell you when it is creating a latitude update by saying "Latitude Update" in the spew of crap, as well as spitting out all it's own internal thinking about any auto-checkin spots... you'll read stuff like:

"No, I'm already logged in to X, doign nothing"
"Closest auto-checking spot is X at distance Y, further than radius, ignoring"

...and loads and loads of internal monologue like that.

/Z

MasterZap 2011-05-18 08:47

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

Originally Posted by andrei1089 (Post 1008483)
Are you planning to display location of friends from latitude?

Yes, but unfortuinately this is impossible with the current API (crazy, right? Everyone on the latitude api mailing list is complaining weekly about that "misfeature")

/Z

MasterZap 2011-05-18 09:06

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1008472)
EDIT:
SOLVED by purging, reinstalling and reauthorizing to Facebook using MicroB instead of Opera Mobile. Seems like authorization does not complete correctly.

Was the auth launching opera mobile for you? Hmm. I have not tested if that works at all... frankly, I tried to write code so it would use MicroB... coz if you just try "webbrowser.open()" in python, you a) get opera mobile and b) it doesn't even open the page you wanted but displays an error....(!)

Maybe I should make more certain it uses MicroB.... (tho I have no clue how to do that, maybe call it on the command line directly!??)

/Z

petur 2011-05-18 10:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
OK, so there seems to be a bug in the ACWP code as the log shows a CWP location with mode 2. Accuracy 16000

Would it be possible to ad an option to set a minimum accuracy for a ACWP location to be accepted? And maybe allow to select if it should either discard the location or try GPS?

here's part of the log:
Code:

Sleeping GPS for approx. 5 minutes
2011-05-18 11:39:59: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0
Starting GPS...
2011-05-18 11:44:58: Got loc data 50.400000,4.400000 (acc 16000.000000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
C
2011-05-18 11:44:58: Latitude update 50.400000,4.400000 (acc 16000.000000)
{'latitude': 50.399999899999997, 'kind': 'latitude#location', 'accuracy': 16000, 'longitude': 4.3999999000000001, 'timestampMs': '1305711904703'}
2011-05-18 11:45:04: General location update 50.400000,4.400000 (acc 16000.000000)
Searching for closest spot:
Sleeping GPS for approx. 5 minutes
2011-05-18 11:45:05: Got loc data 50.400000,4.400000 (acc 16000.000000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0
Starting GPS...
2011-05-18 11:49:58: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
C

on the other hand, the log does print a location before it says it switches on GPS...

morti 2011-05-18 10:29

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by MasterZap (Post 1008900)
Was the auth launching opera mobile for you? Hmm. I have not tested if that works at all... frankly, I tried to write code so it would use MicroB... coz if you just try "webbrowser.open()" in python, you a) get opera mobile and b) it doesn't even open the page you wanted but displays an error....(!)

Everything works just fine by using Opera authentication, except Facebook. I haven't verified if using MicroB fixes the error with Facebook, but apparently it should.

MasterZap 2011-05-18 10:44

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

Originally Posted by petur (Post 1008950)
Would it be possible to ad an option to set a minimum accuracy for a ACWP location to be accepted? And maybe allow to select if it should either discard the location or try GPS?

There alerady is, but I just realized I put this inside an if-statement only applying to GPS mode. I put a separate (bigger) rejection threshold of 9999 meters for cell locations (it seems these bogus ones always come in at about 16000 meters accuracy)

Quote:

Originally Posted by petur (Post 1008950)
on the other hand, the log does print a location before it says it switches on GPS...

Precognition ;) :cool: :eek:

/Z

MasterZap 2011-05-18 10:46

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by morti (Post 1008975)
Everything works just fine by using Opera authentication, except Facebook. I haven't verified if using MicroB fixes the error with Facebook, but apparently it should.

Ah.

Facebook is really weird, they put their auth stuff in a # thing rather than as a proper HTML parameter, so I had to jump through additional hoops (including bouncing off a page of my site with javascript on it that takes the stuff after the hashtag and makes a parameter out of it) to make that work. Prossibly this javascript for some reason doesn't work with facebook... I'd guesstimate?

/Z

MasterZap 2011-05-18 12:18

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

Originally Posted by rmayrink (Post 1008476)
No update available this time (apt-get update/upgrade as root). I did an update today, but the problem still happens. The update is already available?

Heh, seem's I've been screwing up my packaging (I tried to "automate" it and all clever and stuff) and some of my changes hasn't apparently made it into the actual packages (duh).

Should be fixed now (anything newer than 0.9.4_30)

How a little wrong copy in a script can screw things up ;)

/Z

petur 2011-05-18 12:20

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 1008999)
There alerady is, but I just realized I put this inside an if-statement only applying to GPS mode. I put a separate (bigger) rejection threshold of 9999 meters for cell locations (it seems these bogus ones always come in at about 16000 meters accuracy)

Weird... then why is the location with 16000 accuracy coming through?

rmayrink 2011-05-18 14:03

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

The bug with maps was solved on build 0.9.4-30.

Thank you!

MasterZap 2011-05-18 15:12

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Yep, it seems that build 28, 27 and maybe a few earlier were the same after all.. I had set up scripts to copy files to the build directory and I had botched that.... so I kept rebuilding the same old version... OOPS :)

/Z

MasterZap 2011-05-18 15:13

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

Originally Posted by petur (Post 1009072)
Weird... then why is the location with 16000 accuracy coming through?

You need at least build 30 for this to actually work (see prev post.

/Z

petur 2011-05-18 15:15

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
So far 0.9.4-30 seems to be running fine!
For some reason the accuracy is also much higher, even if configured cell-only.

MasterZap 2011-05-18 15:16

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

Originally Posted by petur (Post 1008876)
edit: on starting the daemon, it didn't mention that it was already running, so the daemon wasn't running anymore? It is configured to start at boot and never quit.

Btw, the daemon didn't tell you if it was already running (the main program did, however). It just silently killed anything running in the background. I've changed that so the Daemon will also inform you from build 30 on, if it kills the old one.

/Z

petur 2011-05-18 20:26

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I still have the daemon die on itself after a few hours... restart it and it goes on again. The only indication I get is that latitude isn't updated anymore.

Reflektorfalke 2011-05-18 20:44

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by MasterZap (Post 1008900)
Was the auth launching opera mobile for you?

yap. I set Opera as default browser using browser switchboard. It opened and said "Authenticated, you may close this window now..."
After closing the progress bar in Zaploc seemed to go on forever, but after closing and restarting Zaploc showed FB as authenticated, but obviously it was not...

petur 2011-05-18 21:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Right now, the daemon is going mad.... the gps icon goes on/off with a rate of 1/sec. And I don't mean it is blinking, it is actually enabling/disabling location services, as the drop-down statusmenu constantly redraws itself to show/hide the location icon.

edit: log attached:
Code:

Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
2011-05-18 23:02:43: Got loc data 51.034139,3.713658 (acc 96.017000)
alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
Updates within 100 meters - not sending
2011-05-18 23:02:43: General location update 51.034139,3.713658 (acc
96.017000)
Searching for closest spot:
Sleeping GPS for approx. 0 minutes
^CTraceback (most recent call last):
  File "/opt/zaploc/app/zdaemon.py", line 295, in restart_gpsd
KeyboardInterrupt
2011-05-18 23:02:44: Got loc data 51.034139,3.713658 (acc 96.017000)
alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
Updates within 100 meters - not sending
2011-05-18 23:02:44: General location update 51.034139,3.713658 (acc
96.017000)
Searching for closest spot:
Sleeping GPS for approx. 0 minutes
2011-05-18 23:02:45: Got loc data 51.034139,3.713658 (acc 96.017000)
alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0
^CTraceback (most recent call last):
  File "/opt/zaploc/zaploc-daemon.py", line 8, in <module>
    if __name__ == '__main__': app.zdaemon.main(sys.argv[1:])
  File "/opt/zaploc/app/zdaemon.py", line 470, in main
  File "/opt/zaploc/app/zdaemon.py", line 337, in init
KeyboardInterrupt


jpala16 2011-05-18 21:15

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1009490)
yap. I set Opera as default browser using browser switchboard. It opened and said "Authenticated, you may close this window now..."
After closing the progress bar in Zaploc seemed to go on forever, but after closing and restarting Zaploc showed FB as authenticated, but obviously it was not...

Same here. It says authenticated. I haven't tried if it works (Facebook Places) yet as I'm not willing to post where I have been on Facebook, as I don't want to let half the people there know where I have been. Is that what it does, I'm right?

Reflektorfalke 2011-05-18 21:37

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by jpala16 (Post 1009513)
Same here. It says authenticated. I haven't tried if it works (Facebook Places) yet as I'm not willing to post where I have been on Facebook, as I don't want to let half the people there know where I have been. Is that what it does, I'm right?

If searching for places via FB works you are authorized correctly.
If not delete facebook.dat from /home/user/.zaploc and reauthenticate using MicroB.

But why using this app with FB if you donīt want to check in to places???

MasterZap 2011-05-19 06:02

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

Originally Posted by petur (Post 1009502)
Right now, the daemon is going mad.... the gps icon goes on/off with a rate of 1/sec. And I don't mean it is blinking, it is actually enabling/disabling location services, as the drop-down statusmenu constantly redraws itself to show/hide the location icon.

edit: log attached:
Code:

Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
Starting GPS...
2011-05-18 23:02:43: Got loc data 51.034139,3.713658 (acc 96.017000)
alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
Updates within 100 meters - not sending
2011-05-18 23:02:43: General location update 51.034139,3.713658 (acc
96.017000)
Searching for closest spot:
Sleeping GPS for approx. 0 minutes
^CTraceback (most recent call last):
  File "/opt/zaploc/app/zdaemon.py", line 295, in restart_gpsd
KeyboardInterrupt
2011-05-18 23:02:44: Got loc data 51.034139,3.713658 (acc 96.017000)
alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
Updates within 100 meters - not sending
2011-05-18 23:02:44: General location update 51.034139,3.713658 (acc
96.017000)
Searching for closest spot:
Sleeping GPS for approx. 0 minutes
2011-05-18 23:02:45: Got loc data 51.034139,3.713658 (acc 96.017000)
alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0
^CTraceback (most recent call last):
  File "/opt/zaploc/zaploc-daemon.py", line 8, in <module>
    if __name__ == '__main__': app.zdaemon.main(sys.argv[1:])
  File "/opt/zaploc/app/zdaemon.py", line 470, in main
  File "/opt/zaploc/app/zdaemon.py", line 337, in init
KeyboardInterrupt


Hmm, somehow you've managed to configure the time to 0 minutes? Or have you tried the new command line options?

You can do

Code:

python /opt/zaploc/zaploc-daemon.py -i 5 --cell
...for example. Clearly somehow you've gotten your update time set to 0 minutes.... not sure how you did that. :)

EDIT: Ok I undersand what you did: You tried the "udpate only when cell tower changes" mode? That is NOT WORKING yet. It will actually, indeed, set the update rate to 0. DON'T USE THAT YET!!

Old text you can forget:
I'd go into the setup in ZapLoc and change the value, then restart the daemon in -v mode to see what it says it's delay is.... if that doesn't work, I'd kill /home/user/.zaploc/config.dat and see if that helps.


/Z

MasterZap 2011-05-19 06:05

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1009490)
yap. I set Opera as default browser using browser switchboard. It opened and said "Authenticated, you may close this window now..."

Okay, that's interesting. This means the callback got to the app properly... but maybe the auth-token didn't. I don't think I do much testing if the auth-token is really there and working before I pop you over to the "you may close this window" page. Hmm.

Quote:

After closing the progress bar in Zaploc seemed to go on forever, but after closing and restarting Zaploc showed FB as authenticated, but obviously it was not...
This is a sign of something crashing after it has received the callback, so I'm guesstimating it's hung up on trying to extract a nonexisting auth token... or somesuch.

I'll try to reproduce, and see what I can do. For now... well.... avoid Opera Mini for auth? :)

/Z

MasterZap 2011-05-19 06:07

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1009541)
If searching for places via FB works you are authorized correctly.
If not delete facebook.dat from /home/user/.zaploc and reauthenticate using MicroB.

But why using this app with FB if you donīt want to check in to places???

I realize there is a possibility for a misunderstanding here that I hadn't thought about: When you choose the "Facebook" or "Twitter" checkboxes when checking in, it's not really ZapLoc that is tweeting nor facebooking (with the exception of explicitly using Facebook Places), it is the service itself. So checkin e.g. "Twitter" in a Gowalla spot, it is actually Gowalla that is told to tweet.

So if you are not using FB Places, you don't need to authenticate with Facebook at all, if you don't want to. It may still be interesting to LOOK at FB places, even if you don't plan to check in to them.

/Z

Maruzko 2011-05-19 07:12

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
wow, awesome, will give it a try.

jpala16 2011-05-19 07:32

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1009541)
If searching for places via FB works you are authorized correctly.
If not delete facebook.dat from /home/user/.zaploc and reauthenticate using MicroB.

But why using this app with FB if you donīt want to check in to places???

I'm learning what those things are. I'm searching for information at this time. Didn't get that Facebook Places is different than posting your current location to Facebook.

I use this app for Google Latitude. It works fantasticly. But now I want to know what the other features are, what do they imply for my privacy and all that stuff.

Thanks again for your work MasterZap. Keep it up! :)

petur 2011-05-19 07:55

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 1009692)
EDIT: Ok I undersand what you did: You tried the "udpate only when cell tower changes" mode? That is NOT WORKING yet. It will actually, indeed, set the update rate to 0. DON'T USE THAT YET!!


bingo.....

thegman 2011-05-19 08:01

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

For now... well.... avoid Opera Mini for auth
Btw, this seems to be a "known" issue with not using microB for authorisation? Atleast there are other apps which explicitly state this:
http://talk.maemo.org/showthread.php...ghlight=microb

morti 2011-05-19 09:28

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Just wanted to let you know that so far everything seems to be working well with the newest version, and the command line options are amazingly useful :)

Keep up the good work!

petur 2011-05-19 13:22

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I just had ZapLoc stop updating Latitude again - it is set to check every 5 minutes and update at least once per hour. Current latitude data was 2 hours old, so I decided to start de daemon in the terminal to check, and it told me it detected and killed the running version.

So the daemon isn't crashing, but why is it stopping the updates?

How to go about to debug?


All times are GMT. The time now is 13:16.

vBulletin® Version 3.8.8