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)

ginggs 2012-07-28 17:53

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

Originally Posted by ZogG (Post 1244218)
n950 is n9 as well right? just to be clear

I was able to install it on my N9 and it seems to run fine too.

DJBENTZY 2012-07-28 18:42

Re: [Announce] Waze for N900/N9/N950
 
Hi,

First thing, thanks for the work you've done so far.
I installed the latest Alpha version on my n900 and this is my report:

1. i tried to "drive to" an old saved location and also a new address, i get this "calulating route, please wait..." and it stay like this till i close it manually. (tried to restart the app but i get the same result).
2. I don't know if it just UI bug or not but while "refreshing map of my area" the tooltip message shows the progress of the data downloading, the thing is when it gets to 92%-95%
it getting freeze on that percentage and go off when i touch the screen.

Please let me know if you need more info,

Thanks,

Bentzy

damagedspline 2012-07-28 18:44

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

Originally Posted by ZogG (Post 1244218)
n950 is n9 as well right? just to be clear

Yep. Maybe you are right and I should change the platform name releases to Maemo5 & Harmattan to avoid confusion.

damagedspline 2012-07-28 18:49

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

Originally Posted by DJBENTZY (Post 1244270)
Hi,

First thing, thanks for the work you've done so far.
I installed the latest Alpha version on my n900 and this is my report:

1. i tried to "drive to" an old saved location and also a new address, i get this "calulating route, please wait..." and it stay like this till i close it manually. (tried to restart the app but i get the same result).
2. I don't know if it just UI bug or not but while "refreshing map of my area" the tooltip message shows the progress of the data downloading, the thing is when it gets to 92%-95%
it getting freeze on that percentage and go off when i touch the screen.

Please let me know if you need more info,

Thanks,

Bentzy

Regarding item #1, can you please remove the postmortem file, raise the debug level, reproduce and send the newly generated postmortem file?

Regarding item #2, its a bug which also sometimes happens to the map tiles. I hope to fix it in the next releases.

DJBENTZY 2012-07-28 18:58

Re: [Announce] Waze for N900/N9/N950
 
I need your help with this file location and also how to set the debug level..
Thanks,

damagedspline 2012-07-28 19:24

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

Originally Posted by DJBENTZY (Post 1244278)
I need your help with this file location and also how to set the debug level..
Thanks,

all of u'r user data resides in /home/user/MyDocs/.waze/*
to raise the log level you should edit 'data/preferences.ini' under your user data directory.
in that file you should find a section named '[%General]'. Under that section u should add the following line:
Code:

Log%20level=1
Then start waze. U can recognize that u are in higher debug level as there will be a new baloon with your coordinates in the upper left corner of the screen.

DJBENTZY 2012-07-28 20:04

Re: [Announce] Waze for N900/N9/N950
 
I sent you the log file to your email.

Flynx 2012-07-29 00:27

Re: [Announce] Waze for N900/N9/N950
 
1 Attachment(s)
Quote:

Originally Posted by damagedspline (Post 1244199)

The changes:
* "Failed to connect to navigation route server" fix

f you install the packages below, please report anything that has stopped working since the last release. Please understand that it is still ALPHA release...


Thanks!

First of all... major thanks for taking on this project.

I tried the update you posted this morning. I used to get the "preparing voice... 0%" message that would never go away. now it loaded the voice. so thats progress.

however routing to a destination still doesn't work. eventually the message goes away but the route never comes.

verbose postmortem attached. it is not gz.... just remove the suffix.

note: i have no sim card... wifi exclusively.

thanks!
-matt

damagedspline 2012-07-29 07:45

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

Originally Posted by DJBENTZY (Post 1244291)
I sent you the log file to your email.

I didn't receieve. have you sent to damagedspline at gmail?

damagedspline 2012-07-29 17:44

Re: [Announce] Waze for N900/N9/N950
 
OK, I think I found the cause for the new issue where "Navigate never ends".
Please try to disable network compression (Settings -> Data Usage -> Use Data Compression) and restart Waze.
If that "solves" the issue, it verifies my findings and I will start drilling to the bottom of this.

ZogG 2012-07-29 17:55

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

Originally Posted by damagedspline (Post 1244651)
OK, I think I found the cause for the new issue where "Navigate never ends".
Please try to disable network compression (Settings -> Data Usage -> Use Data Compression) and restart Waze.
If that "solves" the issue, it verifies my findings and I will start drilling to the bottom of this.

it worked =)

Flynx 2012-07-30 04:28

Re: [Announce] Waze for N900/N9/N950
 
I will try again... but I turned off data compression after reading about it causing problems... so i'm 90% sure I had it off last time. I'll try again tomrrow.

ginggs 2012-07-30 06:24

Re: [Announce] Waze for N900/N9/N950
 
Since upgrading from 0.0.9 to 0.0.9-28, I've noticed the volume is now too loud (to the point of sounding tinny), using the hardware volume controls and adjusting the settings inside Waze (General / Volume Control) seems to have no effect.

I also took the new version on a 50km trip yesterday, using navigation.
On the way there, there were no problems, but on the return trip, Waze crashed three times. Should I post the postmortem files here or open a new issue on the waze-qt project?

I checked and my data compression setting is still off.

ginggs 2012-07-30 16:25

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

Originally Posted by ginggs (Post 1244836)
Since upgrading from 0.0.9 to 0.0.9-28, I've noticed the volume is now too loud (to the point of sounding tinny), using the hardware volume controls and adjusting the settings inside Waze (General / Volume Control) seems to have no effect.

OK, it seems when I upgraded to Waze 0.0.9-28 new voice navigation prompts were downloaded. The new ones are louder and tinnier. :confused: My previous files are all dated May 25.

It may be that I never needed to change the volume before and that it has never worked.

Quote:

Originally Posted by ginggs (Post 1244836)
I also took the new version on a 50km trip yesterday, using navigation.
On the way there, there were no problems, but on the return trip, Waze crashed three times.

I did exactly the same trip today, on the way there, Waze crashed once, on the return trip not at all.

damagedspline 2012-07-31 13:26

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

Originally Posted by ginggs (Post 1244999)
OK, it seems when I upgraded to Waze 0.0.9-28 new voice navigation prompts were downloaded. The new ones are louder and tinnier. :confused: My previous files are all dated May 25.

It may be that I never needed to change the volume before and that it has never worked.


I did exactly the same trip today, on the way there, Waze crashed once, on the return trip not at all.

Please raise the debug level, reproduce and send the logs :)

ginggs 2012-08-02 10:13

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

Originally Posted by damagedspline (Post 1245452)
Please raise the debug level, reproduce and send the logs :)

I created an issue and attached the postmortems.

Regarding the volume control settings, should the setting in General / Volume Control affect the level of the voice prompts?
I have tried switching from English, which I now found too loud, to English UK (Natalie), which I find too soft.

djcrash1981 2012-08-02 15:11

Re: [Announce] Waze for N900/N9/N950
 
Hi, I've been using your app for sometime and I've found a recurring bug, everytime that I try to download the spanish (mexico) speech language it crashes the app, to the point that when I restart the app it closes again in a infinite loop that the only way to stop it is to delete the .waze directory, but if i do that, my saved places and favorites get deleted without option to re-download them or anything at all.

What do you need me to do so you can check this bug so it gets updated in the next release?

Regards.

damagedspline 2012-08-02 15:59

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

Originally Posted by djcrash1981 (Post 1246512)
Hi, I've been using your app for sometime and I've found a recurring bug, everytime that I try to download the spanish (mexico) speech language it crashes the app, to the point that when I restart the app it closes again in a infinite loop that the only way to stop it is to delete the .waze directory, but if i do that, my saved places and favorites get deleted without option to re-download them or anything at all.

What do you need me to do so you can check this bug so it gets updated in the next release?

Regards.

i encoutered this issue myself in my tests last night, but in my case after ~10 waze crashes it started working correctly. I was not able to find the cause, the debugger show that the crash occured in an illogical place of the app.

damagedspline 2012-08-03 15:08

Re: [Announce] Waze for N900/N9/N950
 
Update: Navigation is working again when Data Compression in use. Still needs to find the source of the other reported crashes.

Update 2: One of the crashes was identified to be caused by the map tiles. That's a lot of code in 2 files that I will need to cover. I still havn't found the cause for the crashes that sometimes occur on first starts when downloading 1500.mp3 (in the application start)

damagedspline 2012-08-11 19:21

Re: [Announce] Waze for N900/N9/N950
 
New test packages v0.0.9-29:
I'm afraid that you will need to remove ~/MyDocs/.waze/ as there is a possibility that the previous releases saved some data in a bad way that might have caused a crash when the data was read. I am still not sure it solves the unexplained crashes during navigation - please take that into account when trying.

N900
N9/N950

ginggs 2012-08-12 06:33

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

Originally Posted by damagedspline (Post 1250596)
New test packages v0.0.9-29:
I'm afraid that you will need to remove ~/MyDocs/.waze/ as there is a possibility that the previous releases saved some data in a bad way that might have caused a crash when the data was read. I am still not sure it solves the unexplained crashes during navigation - please take that into account when trying.

Thanks, I have removed ~/MyDocs/.waze/ and installed the new version.

I noticed the following while installing:
Code:

# dpkg -i waze_0.0.9-29_armel.deb
Selecting previously deselected package waze.
(Reading database ... 51959 files and directories currently installed.)
Unpacking waze (from waze_0.0.9-29_armel.deb) ...
aegis-installing waze (from '')
Package waze: denied 'GRP::audio' -- origin '' does not allow it
Package waze: denied 'mce::TKLockControl' -- origin '' does not allow it
Package waze: denied 'GRP::audio' for '/opt/waze/bin/waze' -- origin '' does not allow it
Package waze: denied 'mce::TKLockControl' for '/opt/waze/bin/waze' -- origin '' does not allow it
Setting up waze (0.0.9-29) ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...

Are these messages any cause for concern?

PS: Please put instructions for raising the debug level in the first post.

Edit: In the application, if I go to My waze / Waze Groups I get a '404 - Not Found' error. After entering my old username and password, my favourites were downloaded, but only Home and Work have the correct name, the others only show the city name or garbage, the locations are correct though.

damagedspline 2012-08-12 07:25

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

Originally Posted by ginggs (Post 1250750)
I noticed the following while installing:
Code:

Package waze: denied 'GRP::audio' -- origin '' does not allow it
Package waze: denied 'mce::TKLockControl' -- origin '' does not allow it
Package waze: denied 'GRP::audio' for '/opt/waze/bin/waze' -- origin '' does not allow it
Package waze: denied 'mce::TKLockControl' for '/opt/waze/bin/waze' -- origin '' does not allow it

Are these messages any cause for concern?

These warnings are only because I did not signed the package with aegis "certificate" and you can ignore them. Once I upload it to the repository it will be OK.

I will add the instruction for raising the debug level to the first post shortly. BTW, in the next release I might add a settings entry for that in the UI... (EDIT: updated)

Schturman 2012-08-13 06:28

Re: [Announce] Waze for N900/N9/N950
 
Tested yesterday..
2 crashes on first run, after applying all my settings all work good.
Navigation twice, same rout (both directions) - without problem/crashes.
Thank you

ginggs 2012-08-13 10:54

Re: [Announce] Waze for N900/N9/N950
 
After uninstalling v0.0.9-28, removing ~/MyDocs/.waze/ and installing v0.0.9-29, I am still getting many crashes (same as with v0.0.9.0-28).
Waze still crashes when attempting to search for a second time.
On the upside though, I now seem to be able to resume a route after a crash (this didn't work in v0.0.9-28 for me).

ZogG 2012-08-13 11:21

Re: [Announce] Waze for N900/N9/N950
 
Btw can you add the version number to about, i think it only shows official version and not the port

damagedspline 2012-08-15 19:45

Re: [Announce] Waze for N900/N9/N950
 
Starting the next release, you will be able to set the log level in Settings -> General Settings -> Logging -> Minimal or Full. I will update the first post once released.

@Zogg starting the next release the qt port version will be in the about screen :)

@ginggs The second search crash bug is the original waze code. I will hopefully fix it when I'll QMLize the UI.

@Schuterman I am still puzzled about those crashes at the first run and did not experience them personally...

What bothers me most is the crashes that occur during navigation as it might occur due to waze send data fitted to v3.0 and not v2.4 and if thats the case I need to modify the code to match...

damagedspline 2012-08-16 20:19

Re: [Announce] Waze for N900/N9/N950
 
I know you are getting tired by my rapid updates lately but I am really trying to pin down the crash during navigation. If you experience it with v0.0.9 and above, please install the new v0.0.9-30, raise the debug level (Now in General Settings) and post here or in a bug report the postmortem file. I have added some many debug logs to certain parts of the tile manager & the tile DB layer in which I hope will have one of these issues that causes those crashes.

N9/N950
N900

EDIT: No need to remove the ~/MyDocs/.waze directory

ginggs 2012-08-17 13:10

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

Originally Posted by damagedspline (Post 1252741)
I know you are getting tired by my rapid updates lately but I am really trying to pin down the crash during navigation.

Not at all. :)
You keep updating, I'll keep testing!

Quote:

Originally Posted by ginggs (Post 1251271)
On the upside though, I now seem to be able to resume a route after a crash (this didn't work in v0.0.9-28 for me).

This issue is back since I installed v0.0.9-30. Sometimes it does resume a route and sometimes it doesn't. I haven't figured out a pattern yet.

When it doesn't resume, no route is shown, no voice prompts are heard and the icon that shows directions isn't visible, but if waze crashes while in this state, the next time it starts it will prompt to resume the route.

It may be that I didn't test v0.0.9-29 long enough for the problem to occur. :(

PdxDoug 2012-08-17 14:34

Re: [Announce] Waze for N900/N9/N950
 
Have tried v0.0.9-28 through v0.0.9-30 and am still getting no routing/navigation on my N900. Turning compression on/off makes no difference.

The Network Monitor option is enabled. When tapping "Drive To" button the "Calculating route, please wait" message is displayed. The data counter starts incrementing, but no route is ever returned. The "Calculating route" message will stay on the screen until the "Hide" button is pressed.

My N900 is using the Power50 kernel with CSSU Stable. Routing works on all the other N900 GPS Apps (Nokia, GeePS, Mappero).

I have deleted the MyDocs/.Waze folder multiple times.

Any hints appreciated!

damagedspline 2012-08-17 16:25

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

Originally Posted by PdxDoug (Post 1252974)
Have tried v0.0.9-28 through v0.0.9-30 and am still getting no routing/navigation on my N900. Turning compression on/off makes no difference.

The Network Monitor option is enabled. When tapping "Drive To" button the "Calculating route, please wait" message is displayed. The data counter starts incrementing, but no route is ever returned. The "Calculating route" message will stay on the screen until the "Hide" button is pressed.

My N900 is using the Power50 kernel with CSSU Stable. Routing works on all the other N900 GPS Apps (Nokia, GeePS, Mappero).

I have deleted the MyDocs/.Waze folder multiple times.

Any hints appreciated!

If v0.0.9-30 is installed, please raise the debug level (General Settings -> Logging), reproduce, post the postmortem file and I will look into it.

damagedspline 2012-08-17 16:28

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

Originally Posted by ginggs (Post 1252943)
This issue is back since I installed v0.0.9-30. Sometimes it does resume a route and sometimes it doesn't. I haven't figured out a pattern yet.

When it doesn't resume, no route is shown, no voice prompts are heard and the icon that shows directions isn't visible, but if waze crashes while in this state, the next time it starts it will prompt to resume the route.

It may be that I didn't test v0.0.9-29 long enough for the problem to occur. :(

The only difference between v0.0.9-29 & v0.0.9-30 is the about & logging menus and the extra logging in the map tiles manager. Most likely the issue was only partially solved in 29.
I will further investigate.

PdxDoug 2012-08-18 04:52

Re: [Announce] Waze for N900/N9/N950
 
1 Attachment(s)
Quote:

Originally Posted by damagedspline
If v0.0.9-30 is installed, please raise the debug level (General Settings -> Logging), reproduce, post the postmortem file and I will look into it.

Postmorten (zipped) attached.

Thanks in advance. Hope this helps...

damagedspline 2012-08-18 06:27

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

Originally Posted by PdxDoug (Post 1253153)
[/INDENT]
Postmorten (zipped) attached.

Thanks in advance. Hope this helps...

Looks like the waze navigation servers for your country are down, as in the log I can see you get the following response:
HTML Code:

<html><head><title>Apache Tomcat/6.0.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /rtserver_v2/command</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/rtserver_v2/command</u></p><p><b>description</b> <u>The requested resource (/rtserver_v2/command) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.28</h3></body></html>
I will check why you didn't get the proper "Navigate failed" dialog as a result, but about the servers not working there is nothing much I can do...
1) Is there an active waze community in your country?
2) Do you know anyone with a Symbian phone that can install the official waze version and check if the navigate is working OK for them?

damagedspline 2012-08-18 10:10

Re: [Announce] Waze for N900/N9/N950
 
N900 users that have the navigation crashes and assist in the testing, please note:
I will update this post shortly with a special deb specific to N900 which will generate core dumps. this means that a special file is generated with all of the crash data (including pinpoint the crashed code).
It didn't work before because apparently maemo5 needs the following steps for it to generate the core file:
Code:

sudo su
echo "deb http://repository.maemo.org fremantle/tools free non-free" >> /etc/apt/sources.list.d/hildonapplication-manager.list 
apt-get update
apt-get install sp-rich-core
exit

after that all of the applications that tend to crash will generate the compressed data in ~/MyDocs/core-dumps as long as the application was built in debug mode, which is what I am currently doing - so stay tuned!

N9/N950 users: I havn't checked yet how its achieved in Meego...


EDIT:

N900 deb is ready and you can install it from here, make sure to install the core dumper package stated above before running waze. the generated core dump file is quite big, so please send it to my email: damagedspline at gmail.

EDIT 2:

N9/N950 deb is also ready and you can get it from here. The dependency is similar to N900 - sp-rich-core for Harmattan needs to be installed but it is broken (atleast in PR1.3), so if someone finds instructions on how to install it, please share!

ginggs 2012-08-19 15:37

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

Originally Posted by damagedspline (Post 1253224)
The dependency is similar to N900 - sp-rich-core for Harmattan needs to be installed but it is broken (atleast in PR1.3), so if someone finds instructions on how to install it, please share!

What do you mean it is broken?
I suggest you start a new thread in case someone knows the answer but doesn't follow this one.

ginggs 2012-08-20 09:46

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

Originally Posted by ginggs (Post 1252943)
This issue is back since I installed v0.0.9-30. Sometimes it does resume a route and sometimes it doesn't. I haven't figured out a pattern yet.

I think I have it figured out now.

After a crash, if I tap Yes to resume the route it does not resume, however, if I leave it to time out and default to Yes, it does resume the route.

PdxDoug 2012-08-22 18:17

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

Originally Posted by damagedspline (Post 1253170)
Looks like the waze navigation servers for your country are down, as in the log I can see you get the following response:
HTML Code:

<html><head><title>Apache Tomcat/6.0.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /rtserver_v2/command</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/rtserver_v2/command</u></p><p><b>description</b> <u>The requested resource (/rtserver_v2/command) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.28</h3></body></html>
I will check why you didn't get the proper "Navigate failed" dialog as a result, but about the servers not working there is nothing much I can do...
1) Is there an active waze community in your country?
2) Do you know anyone with a Symbian phone that can install the official waze version and check if the navigate is working OK for them?

Yes, United States. Had employee install on Waze (v3.2.2.2) from Google Play on Android (V2.2) phone. Navigation works perfectly on Android and fails on Nokia N900.

Thanks again for your efforts!

gianko 2012-09-09 09:46

Re: [Announce] Waze for N900/N9/N950
 
as i joined foursquare...i tried to use checkin with foursquare in waze...i put my login credentials but then appear a message saying is not able to connect to foursquare try later. api changed?

damagedspline 2012-09-09 19:55

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

Originally Posted by gianko (Post 1263556)
as i joined foursquare...i tried to use checkin with foursquare in waze...i put my login credentials but then appear a message saying is not able to connect to foursquare try later. api changed?

I don't know. basically when you provide your credentials of facebook/twitter/foursquare, they are passed to their servers when you start the application. All of the logic is happening on their servers which is not open source.
Thats how it worked in v2.4 and that is most likely how it still works in newer versions...

My house content is still wrapped in boxes (my dev machine is in one of them), so I hope to check it next week when I finish unwrapping most of them...

damagedspline 2012-10-04 08:19

Re: [Announce] Waze for N900/N9/N950
 
1 Attachment(s)
I have several days off before I start working at Intel.

As such, I am using this time to work on Waze.
I am postponing the crashes handling to a later time and currently work on the hardest and most complicated task ever: Convert the UI to QML.

In the attached screenshot you can see a small proof-of-concept that I have done and TADA - full portrait mode is now an option!

The buttons are in QML and the map is a custom QDeclarativeItem, both are working.

Whats left before a new release is to remake all of the various menus in QML.


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

vBulletin® Version 3.8.8