--- Log opened Mon Aug 11 00:00:41 2014 00:10 -!- woglinde [~henning@g225111052.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 01:19 #navit: < Navit> The following compiles failed: http://download.navit-project.org/logs/navit/wince_arm/svn/navit-svn-5854.failed 01:19 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html 08:23 -!- woglinde [~henning@g224255132.adsl.alicedsl.de] has joined #navit 08:38 -!- tauso [~TAugustin@195.81.221.4] has joined #navit 08:39 #navit: < tauso> Hi. 08:39 #navit: < bafplus> Hy 08:39 #navit: < tauso> bafplus: in the navit.xml layout section active="1" should set this layout as default. 08:41 #navit: < bafplus> ?? 08:41 #navit: < bafplus> Because there is no active= anywhere in the layout section (yet) 08:41 #navit: < tauso> http://wiki.navit-project.org/index.php/Configuration/Full_list_of_options 08:41 #navit: < tauso> look for layout 08:41 #navit: < tauso> but I don'nt know if it really works 08:42 #navit: < tauso> on my navit.xml active=1 is set for the "Car-Android" Layout, but it shows the last layout which i choose manually from the menu 08:43 #navit: < tauso> when I start navit, so maybe it remembers this setting anywhere 08:43 #navit: < bafplus> There is no active string in the supplied navit.xml, but i will give it a try... 08:43 #navit: < tauso> on my xml: 08:45 #navit: < bafplus> doesent work... 08:59 #navit: < bafplus> Also tested with other layouts... 09:00 #navit: < bafplus> In windows settings are not saved at closing, so user-prefs are lost on exit and navit opens default when opening again. 09:04 #navit: < tauso> ok, for me i have found an gui_internal.xml on my android device which saves the last used layout 09:05 #navit: < tauso> content: navit-layout=navit.layout[@name=="nuc"]; 09:05 #navit: < tauso> nuc is the layout i've used 09:06 #navit: < tauso> maybe you can use this statement as command to set the layout you want 09:07 #navit: < bafplus> Was that gui_internal.xml already present at installing or was it generated bij navit? 09:07 #navit: < tauso> ive moved it away and it is generated when i restart navit 09:07 #navit: < bafplus> Using that statement in ex a OSD button already works, but would be nicer if it works right drom start ;-) 09:08 #navit: < bafplus> What folder? 09:08 #navit: < tauso> are your last destinations saved? 09:08 #navit: < bafplus> Maybe it works if i manualy make one 09:08 #navit: < bafplus> Yes 09:09 #navit: < tauso> ok, thean there must be an destination.txt file somewhere on windowsy maybe %userprofile% or %appdata% or something 09:09 #navit: < bafplus> Yes, i have that file 09:09 #navit: < tauso> my gui_internal is in the same folder as destination.txt, bookmark.txt 09:09 #navit: < tauso> do you use gui_internal or some other menu? 09:10 #navit: < bafplus> i use internal...hold an..testing it right away... 09:15 #navit: < tauso> sorry its called gui_internal.txt 09:18 #navit: < bafplus> I havent noticed before, i even have 2, gui_internal.txt and gui_internal-new.txt 09:19 #navit: < bafplus> It seems to work when you change the layout name, but only ones! and the file is not overwritten on exit... 09:19 #navit: < bafplus> But that works for me now! Thanks! 09:25 #navit: < tauso> maybe a dev should take a look at this, for me it seams like the "active" attributeof the layout tag isn't working in internal_gui, because it's overwritten with this gui_internal.txt 09:27 #navit: < bafplus> Lookes like it...i will have a better look when i'm back from work, but for now, many thanks! 09:35 -!- bafplus [~bafplus@5ED0A3EE.cm-7-1c.dynamic.ziggo.nl] has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-] 10:34 -!- woglinde [~henning@g224255132.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 10:40 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit 10:41 -!- woglinde [~henning@g225126108.adsl.alicedsl.de] has joined #navit 11:12 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 14:02 -!- Mineque [~Mineque@89-68-233-84.dynamic.chello.pl] has joined #navit 14:31 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Ping timeout: 246 seconds] 14:59 -!- tauso [~TAugustin@195.81.221.4] has left #navit [] 15:37 -!- bafplus [~bafplus@5ED0A3EE.cm-7-1c.dynamic.ziggo.nl] has joined #navit 16:22 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit 16:22 -!- mode/#navit [+o KaZeR] by ChanServ 16:23 #navit: <@KaZeR> hi there 16:34 #navit: < bafplus> Hy KaZeR how are you today 16:39 #navit: < bafplus> I noticed something...sometimes there are double spaces in the roaddirections text output. Are they translation errors or string errors? 16:45 -!- [1]bafplus [~bafplus@go.allip.nl] has joined #navit 16:47 -!- bafplus [~bafplus@5ED0A3EE.cm-7-1c.dynamic.ziggo.nl] has quit [Ping timeout: 240 seconds] 16:47 -!- [1]bafplus is now known as bafplus 16:49 #navit: <@KaZeR> bafplus: they can be both :) do you have an example ? 16:49 #navit: <@KaZeR> actually it's fairly easy to keep a log of the sentences spoken by navit, just add an "echo $1 >> file.log" to your speech output script 17:18 #navit: < bafplus> I will take a look at it when back from work, i have late shift this week (about you're workinghours). 17:18 #navit: < bafplus> Where to put the echo in this line? : sample_dir="C:\navit\voice\nl" sample_suffix=".wav" flags="1" 17:18 #navit: < bafplus> vocabulary_name="0" vocabulary_name_systematic="0" vocabulary_distances="0"/> 17:23 #navit: < bafplus> Also i have a string that misses some commands, it outputs something like "Take the (missing cmd) streaat (missing cmd) (missing cmd) right" The cmd just outputs a space instead of "second" "after" "100 meters" 17:24 #navit: < bafplus> I will try to find the exact strings when home. 17:39 #navit: <@KaZeR> i would replace the vlc call to a call to a script 17:39 #navit: <@KaZeR> and do the logging + vlc inside this script 18:14 -!- bafplus [~bafplus@go.allip.nl] has quit [Ping timeout: 245 seconds] 18:37 -!- Mineque [~Mineque@89-68-233-84.dynamic.chello.pl] has quit [Ping timeout: 250 seconds] 18:40 -!- jandegr [57417425@gateway/web/freenode/ip.87.65.116.37] has joined #navit 18:41 #navit: < jandegr> Hi, 18:41 #navit: < jandegr> I coded a magnetic compas foor the android port 18:42 #navit: < jandegr> when not moving, the OSD compass neatly points to magnetic north 18:42 #navit: < jandegr> but map rotates to magnetic north only on the 18:42 #navit: < jandegr> first location fix after startup 18:43 #navit: < jandegr> anyone got any pointers ? 18:43 #navit: <@KaZeR> that's probably because the map is redrawn only on gps update events 18:45 #navit: < jandegr> I pass the magn. bearing throug the usual vahiclecallback, and the OSD compass works, 18:46 #navit: < jandegr> so apparently there is some C code that detects te position did not change 18:46 #navit: < jandegr> and decides not to redraw the map, despite the bearing change. 18:48 #navit: < jandegr> I think I'll leave it like that for now, it will take me much more time to get better 18:48 #navit: < jandegr> understanding of the C code part, 18:50 #navit: < jandegr> The purpose was to make it rotate the map like ZAnavi can do it 18:50 #navit: <@KaZeR> you should maybe post the patch and your issue to trac, somebody might step up with the solution :) 18:51 #navit: < jandegr> I will post the patch, might be usefull to more people, 18:51 #navit: < jandegr> but first do some more testing of my own 18:51 #navit: < jandegr> and clean-up the code, it's still a little homegrown right now. 18:53 #navit: < jandegr> BTW : Navit is a fantastic thing ! 18:53 #navit: < jandegr> THX to all of you. 18:57 #navit: <@KaZeR> thanks jandegr :) 19:12 -!- woglinde_ [~henning@g225162204.adsl.alicedsl.de] has joined #navit 19:14 -!- woglinde [~henning@g225126108.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 19:36 -!- bafplus [~bafplus@go.allip.nl] has joined #navit 19:42 -!- Mineque [~Mineque@89-68-233-84.dynamic.chello.pl] has joined #navit 19:57 #navit: < bafplus> @KaZeR why use a logfile if all the spoken commands (including failed) are already loggen in the standard logfile? 20:05 #navit: < Navit> mdankov * r5856 /trunk/navit/navit/gui/internal/gui_internal.c: FIX:gui/internal:Made gui_internal.txt (user settings file) overwrite working on systems where rename() fails if newname already exists, esp. Win32. http://sourceforge.net/p/navit/code/5856/ 20:10 -!- tryagain [~quassel@178.216.76.91] has joined #navit 20:13 #navit: < tryagain> tauso gui_internal.txt is intended to store (and restore) user changes to navit.xml. It overrides your navit.xml with settings you've made under internal gui Settings. 20:25 #navit: < bafplus> I used gui_internal.txt today to override the default "car" layout to "OSM". Downside is that the automatic day/night change doesen't work when using this setting (on w32) 20:26 #navit: < tryagain> bafplus i have commited a change which should allow navit to remember the last user selected layout on windows 20:28 #navit: < bafplus> That would be great. 20:29 #navit: < tryagain> bafplus does your just like "car" layout have? 20:30 #navit: < bafplus> Yes, but i gues since you override it with the standard layout, it also uses the standard in night-view 20:30 #navit: < bafplus> maybe change the code so that you can specify both day and night from gui_internal.txt? 20:31 #navit: < tryagain> and vice versa, your dark osm layout should have the daylaout attribute pointing back to the OSM layout 20:32 #navit: < bafplus> whoops!...my bad.... :-) 20:32 #navit: < tryagain> the layout switching was workng fine to me on android. It seems to switch when you get a gps fix. 20:33 #navit: < tryagain> :) 20:33 #navit: < bafplus> btw...are multiple OSD possible so the user can choose its own OSD? 20:34 #navit: < bafplus> Like same way as with the layout? 20:34 -!- _rd [~rd@p5088F066.dip0.t-ipconnect.de] has joined #navit 20:37 #navit: < tryagain> bafplus see http://wiki.navit-project.org/index.php/OSD#osd_configuration 20:40 #navit: < tryagain> if you define osd1 with osd_configuration="1", osd2 with osd_configuration="4" then if you set osd_configuration variable to 1, you'll see osd1, to 4 - osd2, to 5 or 7 or 31 - you'll get both 20:40 #navit: < bafplus> That;s almost what i ment...If i understand correctly you can use this to dynamicly change the OSD, like different OSD for day or night or change of OSD when max speed is exceeded...But ALL OSD items are loaded. 20:41 #navit: < tryagain> yes, all loaded but not all active/visible. 20:41 #navit: < tryagain> have to go now. good night! 20:41 -!- tryagain [~quassel@178.216.76.91] has quit [Remote host closed the connection] 20:41 #navit: < bafplus> What i meant was having 1 OSD active, but have the possability to change it to another OSD about the same way as you now do with the layouts 20:46 #navit: < bafplus> Wuestion, this string: "then turn %1$s%2$s %3$s%4$s" is not working. it outputs only the translation but the %1$s etc don't get filled...so rougly translated would output as " "then turn()()street()()" ()=space 20:47 #navit: <@KaZeR> bafplus: really weird, i never saw this issue 20:47 #navit: < bafplus> translation string dutch= "daarna, ga na %3$s wegen %1$s %2$s naar %4$s" 20:47 #navit: <@KaZeR> bafplus: i don't understand your question about loggin 20:49 #navit: < bafplus> The string is reorganized to respect to the dutch sentence. Does it pose a problem to rearange the %1$s,%2$s, etc strings? 20:52 #navit: < bafplus> having a space between to strings like "%1$s %2$s" does produce double space but that won't screw up spoken tekst or wav btw.... 20:55 #navit: <@KaZeR> no you can rearrange the %1$s to your convenience 20:55 #navit: < bafplus> @KaZeR , about logging...why add the extra logfunction to the command that sends the speech to produce a logg with all the outputted directions is all the spoken commands (using wav) are already recorded in the log.txt? 20:56 #navit: < bafplus> is=if 20:57 #navit: <@KaZeR> bafplus: because it depends a lot on your use case :) for my own use case, i like to have a separate text log, generated from my speech script 20:58 -!- Mineque [~Mineque@89-68-233-84.dynamic.chello.pl] has quit [Ping timeout: 260 seconds] 21:01 #navit: < bafplus> here's a snippet of the log with executed speech commands and non executed http://pastebin.com/DQ6BxDp1 21:02 -!- _rd [~rd@p5088F066.dip0.t-ipconnect.de] has quit [] 21:03 #navit: < bafplus> The first error is a nice one : Ga fout naar rechts , daarna, ga na wegen rechts naar ' Free translated it says: Go error(????) to the right, then, Go after (missing cmd) streets to the right into (missing cmd) 21:05 #navit: < bafplus> it has 2 errors, one is the missing commands like described above, the second is the word "error"...there is no (good) translation for it and hoe whould one "go error" ?? 21:06 -!- magruder [redurgam@gateway/shell/panicbnc/x-caxighxdgbpmzwvi] has joined #navit 21:06 #navit: < bafplus> I think it was trying to say something like "go sharp right" or something like that. 21:11 -!- KaZeR [~KaZeR@64.201.252.132] has quit [Remote host closed the connection] 21:17 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit 21:18 -!- mode/#navit [+o KaZeR] by ChanServ 21:22 -!- jandegr [57417425@gateway/web/freenode/ip.87.65.116.37] has quit [Quit: Page closed] 21:24 #navit: < Navit> sleske * r5859 /trunk/navit/navit/gui/gtk/CMakeLists.txt /trunk/navit/navit/gui/gtk/Makefile.am /trunk/navit/navit/gui/gtk/gui_gtk_action.c /trunk/navit/navit/popup.c /trunk/navit/navit/popup.h /trunk/navit/po/CMakeLists.txt /trunk/navit/po/Makefile.am: Add:gui/gtk:New POI search dialog.|Patch from #1133, thanks! http://sourceforge.net/p/navit/code/5859/ 21:25 #navit: < Navit> sleske * r5861 /trunk/navit/navit/gui/gtk/gui_gtk_action.c /trunk/navit/navit/gui/gtk/gui_gtk_poi.c: Fix:gui/gtk:Small text corrections for POI search. http://sourceforge.net/p/navit/code/5861/ 21:25 #navit: < Navit> sleske * r5863 /trunk/navit/navit/gui/gtk/gui_gtk_action.c /trunk/navit/navit/gui/gtk/gui_gtk_poi.c: Refactor:gui/gtk:Better comments, variable names. http://sourceforge.net/p/navit/code/5863/ 21:38 #navit: < bafplus> @KaZeR ... shall i post it as bug or is it maybe some "simpel" translationerror in the dutch translation? 21:40 #navit: <@KaZeR> oh, i had the Turn 'error' a few times, i even started looking at the code for this 21:40 #navit: <@KaZeR> the error is actually an error in computing the direction ( it should not happen ) 21:43 #navit: < bafplus> ah..so it actual translated the error...lol... 21:55 #navit: < bafplus> But doe i file the missing commands in the string as a bug?Or is it caused by faulty translating to the dutch string? 22:07 #navit: <@KaZeR> if it's a translation issue, it's best to try to fix it directly in launchpad i think, unless there is an underlying bug in the code ( the 'error' message is one example ) 22:10 #navit: < bafplus> i would fic it in launchpad if i know what to fix ;-) ... as far as i can see the translation and the strings are correct.... but there is no way for me to test or change it... 22:11 #navit: < bafplus> but if the %x$s are "translated" to space i would say its a code bug... 22:11 #navit: <@KaZeR> that 22:12 #navit: <@KaZeR> that's where the log of the commands can be useful, i can compare the generated sentence with my own log and see if the issue is in the template or the translation itself :) 22:13 #navit: < bafplus> Can you help me add the lofunction without changing to much of the code (I got it working, like to keep it that way ;-) ) 22:19 #navit: <@KaZeR> to log the text you mean? 22:19 #navit: < bafplus> yes 22:23 #navit: < bafplus> http://pastebin.com/UzkiPuGi 22:24 #navit: <@KaZeR> so, it's been years since the last time i used windows, but if you create a batch with the content of the data tag, and put a call to this batch in the data file, this should work 22:26 #navit: < bafplus> Ehm...did you forgot the noob part? ;-) 22:26 #navit: <@KaZeR> oh :) 22:27 #navit: <@KaZeR> in short, you create a text file, and you name it, say, speech.bat 22:27 #navit: <@KaZeR> and you have a script :) 22:28 #navit: < bafplus> ok..i can do that ;-)...and the content? 22:31 #navit: <@KaZeR> probably C:\navit\vlc\vlc.exe --qt-start-minimized --play-and-exit -q %1 22:31 #navit: <@KaZeR> you can try from the command line : speech.bat "Oh yeah it works!" 22:32 #navit: < bafplus> I wil give it a schot.... 22:33 -!- drlizau [~liz@billiau.net] has joined #navit 22:37 #navit: < bafplus> Ok bat is done and cmd (seems to) work...next step calling the bat and output to a txt? 22:41 #navit: < bafplus> i guess replacing the path to VLC with the path to the speech.bat? 22:41 #navit: < bafplus> Ans where does it output it into a logfile? 22:47 #navit: <@KaZeR> for the log part, "echo %1 >> speech.log" should work so you can just add before or after the vlc command 22:48 #navit: <@KaZeR> then if it works when calling it directly from the command line, you can change the data part in navit.xml 22:55 #navit: < bafplus> What do you mean by "before" or "after" the vlc command? between the same " " as where you give the path to vlc? (see last pastebin link) 23:02 #navit: <@KaZeR> your script should probably look like this : (untested) http://pastebin.com/pmG3hLsi 23:05 #navit: < bafplus> Cool...it actualy works ;-) 23:14 #navit: < bafplus> now...to change navit.xml 23:19 #navit: < bafplus> I figured it was just replacing the path to vlc with the path to speech.bat. That is executing playing the wavs, but no logentry. 23:24 -!- woglinde_ [~henning@g225162204.adsl.alicedsl.de] has quit [Ping timeout: 260 seconds] 23:40 #navit: <@KaZeR> that should do the work. the logfile is maybe in a different folder because we used a relative path 23:40 #navit: <@KaZeR> try ... C:\speech.log maybe 23:46 #navit: < bafplus> Thats it! Now it echo's the complete file path like: "C:\\navit\\voice\\nl/ga na.wav" 23:47 #navit: < bafplus> Is that correct or should it print the "spoken" tekst 23:51 #navit: <@KaZeR> that looks correct 23:59 #navit: < bafplus> Glad to get it workig...but i thaugt it would log the string BEFORE it was converted to path+wav, but i can work with this...thanks! --- Log closed Tue Aug 12 00:00:41 2014