Notices


Reply
Thread Tools
andrei1089's Avatar
Posts: 81 | Thanked: 109 times | Joined on Apr 2009 @ Brasov/Cluj, Romania
#51
Are you planning to display location of friends from latitude?
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#52
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
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro

Last edited by petur; 2011-05-18 at 08:38.
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#53
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
 

The Following User Says Thank You to MasterZap For This Useful Post:
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#54
Originally Posted by andrei1089 View Post
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
 

The Following User Says Thank You to MasterZap For This Useful Post:
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#55
Originally Posted by Reflektorfalke View Post
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

Last edited by MasterZap; 2011-05-18 at 09:08.
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#56
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...
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro

Last edited by petur; 2011-05-18 at 10:03.
 
Posts: 13 | Thanked: 1 time | Joined on Feb 2010
#57
Originally Posted by MasterZap View Post
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.
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#58
Originally Posted by petur View Post
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)

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

/Z
 

The Following User Says Thank You to MasterZap For This Useful Post:
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#59
Originally Posted by morti View Post
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
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#60
Originally Posted by rmayrink View Post
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

Last edited by MasterZap; 2011-05-18 at 15:14.
 

The Following User Says Thank You to MasterZap For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:47.