maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Waze for N900/N9/N950 (https://talk.maemo.org/showthread.php?t=79860)

sdpkom 2012-01-23 05:43

Re: [Announce] Waze for N900/N9/N950
 
Quote:

Originally Posted by damagedspline (Post 1154126)
@scarcow & @sdpkom i was still not successful in reproducing the search issue on my n900. it is running stable cssu and overclocked to 850mhz. as such i will prepare a test binary that should log the incoming results from the search server, which you will need to install.
just out of curiosity, when you press the "show on map" after the search, does it show a yellow "pin" in the so-called result location?

yes it does.

another thing, if i long tap on the map, i can successfuly navigate there (e.g bypassing the searchbox).

i think itss related to the searchbox thing, because afterwords, even if i do the same search from my log of last places, it still works.

i use ukeybord to be able to type hebrew characters.

damagedspline 2012-01-23 08:38

Re: [Announce] Waze for N900/N9/N950
 
Quote:

Originally Posted by sdpkom (Post 1154238)
yes it does.

another thing, if i long tap on the map, i can successfuly navigate there (e.g bypassing the searchbox).

i think itss related to the searchbox thing, because afterwords, even if i do the same search from my log of last places, it still works.

i use ukeybord to be able to type hebrew characters.

I use my modified fastsms to write Hebrew characters, but I don't think this is the case as @scarcow doesn't use Hebrew at all.

Anyway, please @sdpkom & @scarcow, if you can, please do the following before running waze - it should provide me with enough info to continue my investigation:
Code:

rm /home/user/MyDocs/.waze/postmortem
cp /home/user/MyDocs/.waze/preferences /home/user/MyDocs/.waze/preferences.bak
echo "General.Log level: 1" >> /home/user/MyDocs/.waze/preferences

This will remove the existing log file and raise the log level to the highest and create a backup of the original preferences file (so that you can easily revert the change).

After that please run waze and redo the search, this time it will produce a very big log file which you might need to zip in order to upload it to the thread. When I tried searching for Jerusalem for example I found the following result in the log which is the expected result:
Code:

AddressCandidate,waze,35.210370296460354,31.78015076092996,,,Jerusalem,,
Thanks.

ScarCow 2012-01-23 19:45

Re: [Announce] Waze for N900/N9/N950
 
Ok, my result for Pannonhalma, Hungary is:
Code:

AddressCandidate,waze,17.754636421738,47.5499188825995,,,Pannonhalma,,
Is this enough, or do you need the whole postmortem? Btw, i think these coordinates are swaped. If i put these into google maps for example, it will show me to somewhere in the Arab peninsula. If i swap them, that's the correct place.

The approximate coordinates of the location waze shows me is something like 47.00,17.00

This gives me an idea...
Yes, seems i was correct. If i test with Debrecen, 47.529974,21.639357, it shows me 47.0, 21.0, so, it seems that it somehow casts it to int, or something when displaying. The actual results in postmortem are correct (even though swapped).

Does this help?

-sc

damagedspline 2012-01-24 11:23

Re: [Announce] Waze for N900/N9/N950
 
Quote:

Originally Posted by ScarCow (Post 1154581)
This gives me an idea...
Yes, seems i was correct. If i test with Debrecen, 47.529974,21.639357, it shows me 47.0, 21.0, so, it seems that it somehow casts it to int, or something when displaying. The actual results in postmortem are correct (even though swapped).

Does this help?

Thanks, thats very helpful & also consistent with what @sdpkom experienced.
I'll start digging to find the bad cast.

damagedspline 2012-01-26 22:07

Re: [Announce] Waze for N900/N9/N950
 
@sdpkom & @scarcow i was not able to find the bad cast as waze is a mess so instead i recompiled with the -Wconversion flag to point out "hidden" casts - i made 4 small changes and the result deb has been uploaded here.

Since i was not able to reproduce your issue, can you please test it?

Note that you must install v0.0.5 before installing this deb. if you already have v0.0.5 installed ignore previous sentence :)

sdpkom 2012-01-27 15:13

Re: [Announce] Waze for N900/N9/N950
 
sorry for being unresponsive last week. it was a hecktick week.

installed it.
Now what?, do you still need me to change the logging level? do you need my postmortem file? anything else?

damagedspline 2012-01-27 20:34

Re: [Announce] Waze for N900/N9/N950
 
Quote:

Originally Posted by sdpkom (Post 1156566)
sorry for being unresponsive last week. it was a hecktick week.

installed it.
Now what?, do you still need me to change the logging level? do you need my postmortem file? anything else?

after install just try to do the search again. no need to raise the log level. If it doesnt solve the issue i'll try to find another angle for it.

654321 2012-01-27 21:16

Re: [Announce] Waze for N900/N9/N950
 
1 Attachment(s)
Search still not working ok and last crash:

damagedspline 2012-01-27 21:50

Re: [Announce] Waze for N900/N9/N950
 
Quote:

Originally Posted by 654321 (Post 1156710)
Search still not working ok and last crash:

according to the log you are out of memory and that is why it crashed...

ScarCow 2012-01-28 12:31

Re: [Announce] Waze for N900/N9/N950
 
I can confirm what 654321 said. Search still has the same issue.

-sc


All times are GMT. The time now is 15:57.

vBulletin® Version 3.8.8