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)

damagedspline 2012-03-17 11:59

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

Originally Posted by mrsellout (Post 1180189)
Is this of any use for the audio issue?
http://www.developer.nokia.com/Commu...ce=twitterfeed

I dont think it will help because the issue is when the audio is played (like pressing the play button in a media player). even if the sound is muted, it still "play" the file in the background but you cant hear it.

Quote:

Originally Posted by legoman666
Future support for portrait planned? Not really thrilled with the landscape orientation...

Yes, it is planned for a future release as an option. see the project roadmap, it is scheduled for the long term.

damagedspline 2012-03-23 16:44

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

Originally Posted by damagedspline (Post 1180627)
I dont think it will help because the issue is when the audio is played (like pressing the play button in a media player). even if the sound is muted, it still "play" the file in the background but you cant hear it.

i have an idea about how to allow both the navigation sounds and button clicks to play well while music plays in the background (by another app) but i wont be able to test it for a few more days as the current code is not stable yet...
(basically use QSoundEffect instead of QMediaPlayer for playing the audio - might work, might not)

damagedspline 2012-04-13 06:18

Re: [Announce] Waze for N900/N9/N950
 
@gianko While I am encoutering/fixing a lot of crashes because of my code changes, I found one that is not related to my changes and might be the cause for the crash that you experienced.
It is a long shot, but worth a shot.
Edit MyDocs/.waze/preferences and in there change the following from:
TTS.Feature Enabled: yes
to:
TTS.Feature Enabled: no

Then try to run waze again.

gianko 2012-04-14 12:10

Re: [Announce] Waze for N900/N9/N950
 
1 Attachment(s)
i was trying right now to run waze with the original omap kernel,no power.

same crash but it gives the error:Illegal instruction
no segmentation fault

i put General Log level 1 in the preferences and this is what i got:

/opt/waze/bin $ ./waze
13:56:29.182 s..debug.. qt/roadmap_device.cc, line 50 roadmap_backlight_initialize() - Current setting : no [File: 'qt/roadmap_device.cc'; Line: 50]
13:56:29.184 s..debug.. qt/roadmap_device.cc, line 78 roadmap_set_backlight() - Current setting : no [File: 'qt/roadmap_device.cc'; Line: 78]
13:56:29.185 s..debug.. roadmap_power.c, line 97 Starting the periodic for power. Period: 30000. [File: 'roadmap_power.c'; Line: 97]
13:56:29.186 s..debug.. roadmap_map_settings.c, line 116 intialiazing map settings [File: 'roadmap_map_settings.c'; Line: 116]
13:56:29.187 s..debug.. roadmap_download_settings.c, line 85 intialiazing map settings [File: 'roadmap_download_settings.c'; Line: 85]
Illegal instruction

postmortem attached if u can take a look, in the meanwhile i will try your new suggestion. thanks 4 d support. i'll let u know

gianko 2012-04-14 13:23

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

Originally Posted by damagedspline (Post 1191514)
@gianko While I am encoutering/fixing a lot of crashes because of my code changes, I found one that is not related to my changes and might be the cause for the crash that you experienced.
It is a long shot, but worth a shot.
Edit MyDocs/.waze/preferences and in there change the following from:
TTS.Feature Enabled: yes
to:
TTS.Feature Enabled: no

Then try to run waze again.

tried but same problem, no results. :(

what else can be? :confused:

i am in Italy, should i change the line "GeoConfig.Force Location: usa" in preferences?

other things? i tried everything, from swappolube settings, to original kernel, to supl.google.com in gps settings.

damagedspline 2012-04-15 06:56

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

Originally Posted by gianko (Post 1192024)
tried but same problem, no results. :(

what else can be? :confused:

i am in Italy, should i change the line "GeoConfig.Force Location: usa" in preferences?

other things? i tried everything, from swappolube settings, to original kernel, to supl.google.com in gps settings.

Thanks for checking. Changing the force location setting will not help as it is usually commented (start with ';').

the crash occur after reading the configuration from the file. I have rewritten that layer in the upcoming release. If the issue is still not resolved in it i will add some extra logging and send u a special edition :)

damagedspline 2012-04-17 21:01

Re: [Announce] Waze for N900/N9/N950
 
I will release the Waze Qt Everywhere Alpha release (v0.0.7) on 19/20-Apr.
Note that it is Alpha as I have made some big changes to some of Waze's base layers and might have missed some residual bugs.
I will not recommend installing this version unless you are willing to assist in testing and report the bugs.

Changelog:
  • Rewrite the network layer to be based on Qt instead of kernel sockets
  • Rewrite the config layer to use QSettings
  • Rewrite the path+file layer to use QFile & QDir
  • Fix current traffic reports list dialog - reports not visible
  • Support multiuser environments (such as Linux and Windows)
  • Fix low battery warning still showing when charging

@gianko since it didn't work in the first place for you, you have nothing to lose but to try it once I'll release it.

Schturman 2012-04-17 21:41

Re: [Announce] Waze for N900/N9/N950
 
Cool!, before updating we need to uninstall previous version?

damagedspline 2012-04-18 04:26

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

Originally Posted by Schturman (Post 1193516)
Cool!, before updating we need to uninstall previous version?

Partially. To get the best test results, you will have to delete ~/MyDocs/.waze before upgrading. For that matter, I will make the deb to do it automagically if it recognizes an older release.
In any event, all of your existing waze settings from previous releases will be lost, as the settings files are now in new format.

In addition, I will enable high debug level logs by default, so that in case of crash you'll be able to send the postmortem file when crash or bad behavior occurs. This file can get to a few MB in a couple of days so it is best to delete it once in a while.

When uploading the postmortem to this forum be sure to zip it first and describe as much as you can about what happend.

I will copy the text above to the 1st post upon Alpha release.

Thanks for assisting.

gianko 2012-04-18 19:25

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

Originally Posted by damagedspline (Post 1193500)
I will release the Waze Qt Everywhere Alpha release (v0.0.7) on 19/20-Apr.
Note that it is Alpha as I have made some big changes to some of Waze's base layers and might have missed some residual bugs.
I will not recommend installing this version unless you are willing to assist in testing and report the bugs.

...

@gianko since it didn't work in the first place for you, you have nothing to lose but to try it once I'll release it.

i'm ready for testing :)

damagedspline 2012-04-19 22:20

Re: [Announce] Waze for N900/N9/N950
 
New release is out

@gianko try to run from the command line and see if you get a core dump

Hiro P. 2012-04-20 05:33

Re: [Announce] Waze for N900/N9/N950
 
After basic configuration (language, user, password) it asks at the same time for "import old favorites" and "download language files" then crashes. After that it crashes immediately after start.

damagedspline 2012-04-20 09:14

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

Originally Posted by Hiro P. (Post 1194730)
After basic configuration (language, user, password) it asks at the same time for "import old favorites" and "download language files" then crashes. After that it crashes immediately after start.

Please post ~/MyDocs/.waze/postmortem
Please execute the following in terminal:
Code:

ulimit -c unlimited
/opt/waze/bin/waze

when the crash occurs a core file should be generated in the current working directory. Please post it as well (you should zip both)

droll 2012-04-20 10:04

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

Originally Posted by damagedspline (Post 1194613)
New release is out

@gianko try to run from the command line and see if you get a core dump

i don't see the new release in the repos.....??

sorry, my bad.......looking at first post. :)

gianko 2012-04-20 12:14

Re: [Announce] Waze for N900/N9/N950
 
1 Attachment(s)
tried now,still bad luck:
Code:

~ $ cd /opt/waze/bin/
/opt/waze/bin $ ls
waze
/opt/waze/bin $ ./waze
14:12:45.349 s..debug.. ../waze/qt/roadmap_device.cc, line 50 roadmap_backlight_initialize() - Current setting : no    [File: '../waze/qt/roadmap_device.cc'; Line: 50]
14:12:45.351 s..debug.. ../waze/qt/roadmap_device.cc, line 78 roadmap_set_backlight() - Current setting : no    [File: '../waze/qt/roadmap_device.cc'; Line: 78]
14:12:45.370 s..debug.. ../waze/roadmap_power.c, line 97 Starting the periodic for power. Period: 30000.        [File: '../waze/roadmap_power.c'; Line: 97]
14:12:45.470 s..debug.. ../waze/roadmap_map_settings.c, line 116 intialiazing map settings        [File: '../waze/roadmap_map_settings.c'; Line: 116]
14:12:45.472 s..debug.. ../waze/roadmap_download_settings.c, line 85 intialiazing map settings        [File: '../waze/roadmap_download_settings.c'; Line: 85]
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted
/opt/waze/bin $ ls
waze
/opt/waze/bin $ ulimit -c unlimited
/opt/waze/bin $ ./waze
14:13:48.559 s..debug.. ../waze/qt/roadmap_device.cc, line 50 roadmap_backlight_initialize() - Current setting : no        [File: '../waze/qt/roadmap_device.cc'; Line: 50]
14:13:48.565 s..debug.. ../waze/qt/roadmap_device.cc, line 78 roadmap_set_backlight() - Current setting : no        [File: '../waze/qt/roadmap_device.cc'; Line: 78]
14:13:48.567 s..debug.. ../waze/roadmap_power.c, line 97 Starting the periodic for power. Period: 30000.        [File: '../waze/roadmap_power.c'; Line: 97]
14:13:48.569 s..debug.. ../waze/roadmap_map_settings.c, line 116 intialiazing map settings        [File: '../waze/roadmap_map_settings.c'; Line: 116]
14:13:48.623 s..debug.. ../waze/roadmap_download_settings.c, line 85 intialiazing map settings        [File: '../waze/roadmap_download_settings.c'; Line: 85]
Segmentation fault
/opt/waze/bin $ ls
waze
/opt/waze/bin $

postmortem attached

Schturman 2012-04-20 12:35

Re: [Announce] Waze for N900/N9/N950
 
Hi
For me and for now without problem:
1. Installation - ok
2. Setting - ok, but can't change the car, i get empty list.. It's also asked me for restore favorites and inserted my home address without problem.
3. Downloading of map - ok, but it's asked me like before, to reopen app and when i reopened it, the app crashed immediately. I waited 5-10 sec. and reopened it again - now it's opened without problem.
Today i will try to navigate and i will report later..
Thank you for your work!

coredumb 2012-04-20 13:00

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

Originally Posted by Schturman (Post 1194840)
Hi
2. Setting - ok, but can't change the car, i get empty list.. It's also asked me for restore favorites and inserted my home address without problem.

also cannot change the 'everyday moods'. the list is empty.

anonymous 2012-04-20 14:35

Re: [Announce] Waze for N900/N9/N950
 
Is the user account and password stored plain text? or sent unencrypted?

I would like to upgrade and possibly file bug reports if I find any. But it might also mean I lose my clever username and all my precious points.

Just guessing, but... /home/user/mydocs/user ?

Don't know why I didn't try before asking. I was right :)

droll 2012-04-20 15:14

Re: [Announce] Waze for N900/N9/N950
 
it works fine for me. still crashes sometimes when doing search.

waze's search is horrible - i key in roads / addresses etc and it doesn't turn up in the results!

other than that, it works ok.

Hiro P. 2012-04-20 16:02

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

Originally Posted by damagedspline (Post 1194791)
Please post ~/MyDocs/.waze/postmortem
Please execute the following in terminal:
Code:

ulimit -c unlimited
/opt/waze/bin/waze

when the crash occurs a core file should be generated in the current working directory. Please post it as well (you should zip both)

Started from terminal it did not crash anymore. Instead it downloaded the German voice files and now I can start it from the desktop without crash.

damagedspline 2012-04-20 16:10

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

Originally Posted by Schturman (Post 1194840)
Hi
For me and for now without problem:
1. Installation - ok
2. Setting - ok, but can't change the car, i get empty list.. It's also asked me for restore favorites and inserted my home address without problem.
3. Downloading of map - ok, but it's asked me like before, to reopen app and when i reopened it, the app crashed immediately. I waited 5-10 sec. and reopened it again - now it's opened without problem.
Today i will try to navigate and i will report later..
Thank you for your work!

Quote:

Originally Posted by coredumb
also cannot change the 'everyday moods'. the list is empty.

Thanks for finding those - an easy fix for next release.

Quote:

Originally Posted by anonymous
Is the user account and password stored plain text? or sent unencrypted?

I would like to upgrade and possibly file bug reports if I find any. But it might also mean I lose my clever username and all my precious points.

Just guessing, but... /home/user/mydocs/user ?

Don't know why I didn't try before asking. I was right

Yes, it is stored locally as plain text, it always been like this in Waze 2.4 official Android release. Currently, all data is sent unencrypted as I haven't finished implementing the encryption part (see the release notes where I stated to refrain from using passwords in this release). The communication encryption will be fixed for the next release. About the local files, I need to check first what is the amount of change that is required for the Waze baseline code - if it is a small change I will fix it as well for the next release.

Currently the next release is set to 2 weeks from this post date - in the meanwhile I am gathering bugs to fix. If all is good it will come earlier than that.

damagedspline 2012-04-20 16:16

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

Originally Posted by Hiro P. (Post 1194919)
Started from terminal it did not crash anymore. Instead it downloaded the German voice files and now I can start it from the desktop without crash.

We probably scared the bug away, sneaky little bugger :p
It might be related to the encryption layer which is only partially implemented. hopfully fixed in the next release.

Quote:

Originally Posted by gianko
tried now,still bad luck

try this to generate the core file:
Code:

cd /home/user
ulimit -c unlimited
/opt/waze/bin/waze

/opt/waze/bin has only root write permissions so the core file probably was not able to be written there as you executed waze as a normal user. (core should now be be generated in /home/user)

drucula 2012-04-20 17:40

Re: [Announce] Waze for N900/N9/N950
 
Version 0.0.7 works well, but I miss the ability to use the program offline. It keeps on asking to connect to the Internet.

damagedspline 2012-04-20 20:47

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

Originally Posted by drucula (Post 1194979)
Version 0.0.7 works well, but I miss the ability to use the program offline. It keeps on asking to connect to the Internet.

You can try to enable offline mode manually:
Set "Data Usage" -> "Download traffic info" to "Off"
Set "Map" -> Everything to "Off" except "Speedometer" under "Show on map" button group

gianko 2012-04-20 22:01

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

Originally Posted by damagedspline (Post 1194933)
try this to generate the core file:
Code:

cd /home/user
ulimit -c unlimited
/opt/waze/bin/waze

/opt/waze/bin has only root write permissions so the core file probably was not able to be written there as you executed waze as a normal user. (core should now be be generated in /home/user)

how the core file should looks like? i cannot find any new file in /home/user

i executed
Code:

cd /home/user
ulimit -c unlimited
/opt/waze/bin/waze

as a normal user but give same segfault and no core file

always from /home/user i tried to type root and tried again
this time the process seems to go beyond the usual seg fault and i got some new messages in xterm (like flag:1 etc) but it was very slow and appears to be in a loop or to take several time, so i just stopped with ctrl+z but still no core file in /home/user

should i try again with root privileges? and wait for this long process to got this core file? it will drain my battery? just to know, so i will put on charge :)

damagedspline 2012-04-21 13:33

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

Originally Posted by gianko (Post 1195109)
how the core file should looks like? i cannot find any new file in /home/user

i executed
Code:

cd /home/user
ulimit -c unlimited
/opt/waze/bin/waze

as a normal user but give same segfault and no core file

always from /home/user i tried to type root and tried again
this time the process seems to go beyond the usual seg fault and i got some new messages in xterm (like flag:1 etc) but it was very slow and appears to be in a loop or to take several time, so i just stopped with ctrl+z but still no core file in /home/user

should i try again with root privileges? and wait for this long process to got this core file? it will drain my battery? just to know, so i will put on charge :)

you should not run waze as root. It does not cause issues, symply not advised.
btw, ctrl+z does not close the application, it only kinda freezes it to the background. so you should kill waze properly you should run 'ps -eaf | grep waze | grep -v grep' to find the running waze application and then 'kill -9 ...' Where you replace the 3 dots with the number from the first column of the ps run. (or simply restart the phone instead :p)
the core file is a file that its name starts with core. I will check why it was not generated, it should have. Maybe there is another settings that is needed besides running the ulimit command

Schturman 2012-04-21 13:59

Re: [Announce] Waze for N900/N9/N950
 
ok, i tried the navigation.. Work very nice.. 15 minutes without any crashes... And it's looks the gps signal is more stable than the previous versions..
Thanks

damagedspline 2012-04-21 16:32

Re: [Announce] Waze for N900/N9/N950
 
@gianko apparently bad_alloc dont generate a core file. I will create a special binary for you attempting to catch the issue.

gianko 2012-04-22 09:20

Re: [Announce] Waze for N900/N9/N950
 
thanks. i will try that.

ps: can this (http://status.waze.com/some-info-abo...-the-int-80908) cause problems?

Schturman 2012-04-22 19:12

Re: [Announce] Waze for N900/N9/N950
 
Hi
Today I got 3 time the same error on the black screen "WAZE is not responding" - close "YES" and "NO"..
I always pressed "NO" and it has continued to work.. :confused:

damagedspline 2012-04-25 13:37

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

Originally Posted by Schturman (Post 1195992)
Hi
Today I got 3 time the same error on the black screen "WAZE is not responding" - close "YES" and "NO"..
I always pressed "NO" and it has continued to work.. :confused:

i wonder why it happend... Anyway, you dont have to click No, as it recovers after 3 seconds.it also happend here so I will try to find the cause.

@anonymous the ssl network encryption change is commited and will be released with the missing list items next week. Regarding the password encryption in the config files, it is acomplex matter: since this application is opensourced, the encryption key is exposed in the source repository so even if i encrypt it, it can easily be decrypted.

damagedspline 2012-05-02 21:21

Re: [Announce] Waze for N900/N9/N950
 
Starting to roll out v0.0.8, starting with N900.
Unless you will specifically request URLs, the new version is only going to be available in the repositories as follows:
N900: Extras-devel repository (already available)
N9/N950: Apps4Meego testing repository (UPDATE: already available)
Ubuntu Oneiric and above: My personal PPA reposiory (to use: sudo add-apt-repository ppa:damagedspline/waze-qt) which will hopefully be integrated to the next Ubuntu releases. (work in progress)

I am doing this for 2 reasons:
1) push more people to use apps4meego - which contains several more free applications
2) you will have an "package update" notification whenever a new release is out and you will not have to keep refreshing the forum - even though I like the company.

@gianko - I am not sure that this new release will fix your crash, I made 2 fixes suggested by the ubuntu autobuilder compiler that might also be relevant to N900. anyway, after I am done with fixing the autobuilds for ubuntu and N9 - I will dedicate myself to the issue you're experiencing.

Next release (0.1.0) will be codenamed "Chico" and will be ~1 months from now and will have new map engine for better performance.
Then the next next release (0.2.0) will be codenamed "Djako" and will have an entire new UI - targeted ~4 months from now.

Schturman 2012-05-03 07:21

Re: [Announce] Waze for N900/N9/N950
 
Hi
Today I noticed about update to 0.0.8 and installed this. Thank you !
I saw that now we can change profile and the car, but I don't see the button for downloading map, only for refresh ? :/

damagedspline 2012-05-03 11:43

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

Originally Posted by Schturman (Post 1201152)
Hi
Today I noticed about update to 0.0.8 and installed this. Thank you !
I saw that now we can change profile and the car, but I don't see the button for downloading map, only for refresh ? :/

If you have downloaded the map in v0.0.7 you still have it in v0.0.8 so no need to redownload everything :)

coredumb 2012-05-03 12:56

Re: [Announce] Waze for N900/N9/N950
 
damagedspline,
seems "data compression" doesn't work properly. it won't let waze do the transfer data, and keep show "searching network..." message.

Schturman 2012-05-03 17:19

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

Originally Posted by damagedspline (Post 1201252)
If you have downloaded the map in v0.0.7 you still have it in v0.0.8 so no need to redownload everything :)

Ok, and if i don't have downloaded map from previous version? It will work only online.. ;)

damagedspline 2012-05-04 04:39

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

Originally Posted by coredumb (Post 1201283)
damagedspline,
seems "data compression" doesn't work properly. it won't let waze do the transfer data, and keep show "searching network..." message.

10x for reporting, i will fix it and release an update in the next week or 2 (for such scenarios i've reserved v0.0.9)

mmmm... So now the release codenames will be:
1) Chico - fix for compression, and other stuff if such found
2) Djako - new map engine
3) Erlich - new ui

gianko 2012-05-04 14:24

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

Originally Posted by damagedspline (Post 1201012)

@gianko - I am not sure that this new release will fix your crash, I made 2 fixes suggested by the ubuntu autobuilder compiler that might also be relevant to N900. anyway, after I am done with fixing the autobuilds for ubuntu and N9 - I will dedicate myself to the issue you're experiencing.

latest version installed but same segfault / illegal instruction errors.
i trust in a fix.
ps: do we still have to remove home/user/MyDocs/.waze folder everytime we update?

damagedspline 2012-05-04 19:02

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

Originally Posted by gianko (Post 1201853)
latest version installed but same segfault / illegal instruction errors.
i trust in a fix.
ps: do we still have to remove home/user/MyDocs/.waze folder everytime we update?

You don't have to delete. In any event it is very not recommended to manualy copy the data directory (in v0.0.8 and v0.0.7). If you did copy this directory in after installing v0.0.8 or v0.0.7, please remove ~/MyDocs/.waze/ . It will be recreated automatically on the first run.

I hope to finish the Ubuntu release by Monday and then I will add a lot of debugging messages and send you a new binary.

damagedspline 2012-05-04 23:23

Re: [Announce] Waze for N900/N9/N950
 
People that installed the v0.0.8 for N9 from apps4meego: can you please verify if there is a bug in the battery status detection (always think less than 30%) + screen not stay lit (Not stays lit even when enabled in the configuration)?


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8