--- Log opened Fri May 26 00:00:29 2017 00:04 #navit: <@kazer> abdul: i'll be back in 10-15 min 00:04 #navit: <@kazer> abdul: ok thanks that's useful. told you that code needed some test :) 00:05 #navit: <@kazer> oh.. i think i know 00:06 #navit: <@kazer> try adding bookmarks_item_rewind(mattr.u.bookmarks); on line 1468. after if(navit_get_attr(navit, attr_bookmarks, &mattr, NULL) ) { 00:06 #navit: <@kazer> and before the while 00:12 -!- abdul_ [29f2893a@gateway/web/freenode/ip.41.242.137.58] has quit [Quit: Page closed] 00:16 #navit: < abdul> ok coming to try that and recompile then 00:17 #navit: < abdul> and also if the bookmark is not the first it gets stuck at looking for bookmark 00:39 #navit: <@kazer> yep i think that it's the only issue left 00:41 #navit: < abdul> kazer: any fix for that? 00:42 #navit: <@kazer> not yet, but hopefully soon 00:42 #navit: <@kazer> is the rewind attr working as expected for you? 00:43 #navit: < abdul> kazer: no it's not working 00:43 #navit: < abdul> it's still behaving the same way as before 00:46 #navit: < abdul> kazer: It works after I stop it and try it like two times before 00:46 #navit: < abdul> kazer: so it's like after routing the first one and quitting the routing. When I try to route again it doesn't work the first time until I try again 00:57 #navit: <@kazer> you are 100% sure that you applied the change and recompiled navit ? 00:57 #navit: <@kazer> because this does fix the issue for me : without it i have the same problem where i need to restart navit for it to work again 00:59 #navit: < abdul> what happens is after routing and stopping. when i try to reroute nothing happens till I run the code again 00:59 #navit: < abdul> without the need to restart 01:02 #navit: <@kazer> run the code? your python code? 01:07 #navit: < abdul> kazer: yh 01:08 #navit: <@kazer> check this example output : https://pastebin.com/RNtYJy6W 01:09 #navit: <@kazer> i can set it like 3 times in a row. are you seeing something similar? 01:09 #navit: <@kazer> the important part is that it shows the coordinates. right after displaying them, it sets the destination 01:17 #navit: < abdul> kazer: I don't get the same logs 01:17 #navit: < abdul> kazer:maybe I have a different code 01:19 #navit: < abdul> https://pastebin.com/pHUjMLxq this is what I get 01:23 #navit: <@kazer> yeah this looks like what i got before adding the rewind function. What did you do after altering the code? 01:23 #navit: < abdul> i recompiled it 01:23 #navit: <@kazer> if you grep rewind binding_dbus.c you do get an output right? 01:25 #navit: < abdul> in what directory? 01:27 #navit: < abdul> from the folder i used to build I see it in there 01:29 #navit: <@kazer> show me `pwd` and `ls` 01:29 #navit: <@kazer> is it possible to access your pi via ssh from the outside? 01:30 #navit: < abdul> https://pastebin.com/iVjDxV2w 01:30 #navit: < abdul> yh its possible 01:31 #navit: < abdul> pwd /home/pi/navit-build/navit 01:32 #navit: <@kazer> can you give me ssh access? it might make things easier 01:36 -!- abdul [29f2893a@gateway/web/freenode/ip.41.242.137.58] has quit [Ping timeout: 260 seconds] 01:38 -!- abdul [29f2893a@gateway/web/freenode/ip.41.242.137.58] has joined #navit 01:39 #navit: < abdul> thinking of hardcoding the coordinates so I can meet my deadline 01:40 #navit: <@kazer> can you give me ssh access? might help troubleshooting 01:40 #navit: < abdul> if Im not able to get the fix the issue 01:40 #navit: < abdul> kazer: yh how do i give you access. Can it be done on different networks? 01:41 #navit: < abdul> my deadline is fast approaching too:( 01:41 #navit: <@kazer> you will need to setup a nat rule on your router to redirect a port to your pi 01:41 #navit: < abdul> I'm using a hotspot from my phone 01:41 #navit: <@kazer> ah. won't work then :) 01:41 #navit: <@kazer> there's one last thing we can try 01:42 #navit: <@kazer> give me 2 min 01:42 #navit: < abdul> ok 01:43 #navit: <@kazer> ok here we go. copy your bookmark file somewhere (bookmark.txt) 01:43 #navit: <@kazer> maybe your navit.xml too 01:43 #navit: <@kazer> then delete your navit directory 01:44 #navit: < abdul> ok 01:45 #navit: <@kazer> now run this : 01:45 #navit: <@kazer> git clone git@github.com:navit-gps/navit.git 01:45 #navit: <@kazer> cd navit 01:45 #navit: < abdul> done that 01:45 #navit: <@kazer> i pushed an update :) 01:45 #navit: < abdul> ok 01:45 #navit: <@kazer> make sure to delete your current folder to avoid doubt 01:45 #navit: <@kazer> then git checkout dbus_bookmark 01:46 #navit: <@kazer> mkdir bin; cd bin; cmake ../ && make 01:47 #navit: < abdul> i should delete the whole navit directory or just the sub navit directory? 01:48 #navit: <@kazer> delete everything 01:49 #navit: < abdul> ok sure 01:49 #navit: < abdul> Permission denied (publickey). fatal: Could not read from remote repository. 01:51 #navit: <@kazer> ah, try git clone https://github.com/navit-gps/navit.git instead 01:53 #navit: < abdul> ok cloning 01:55 #navit: < abdul> making 01:57 #navit: < abdul> have you had a fix for the first bookmark issue? 01:58 #navit: <@kazer> it seems to be different than "just the first".. seems to be working here with the code that you are building but we need more tests 01:58 #navit: < abdul> ok. Working with bookmarks at different orders? 02:00 #navit: <@kazer> looks like it does so far 02:00 #navit: < abdul> ok. awesome. I'm building 02:01 #navit: < abdul> how could I acknowledge you in my thesis? :D 02:01 #navit: <@kazer> oh wow this is for a thesis, nice :) 02:02 #navit: < abdul> yh 02:03 #navit: <@kazer> if you want an acknoledgment you can just mention the navit team :) 02:03 #navit: < abdul> ok sure would do 02:04 #navit: < abdul> ok its done building 02:04 #navit: <@kazer> ok. now go in the navit folder 02:04 #navit: <@kazer> (from the bin folder) 02:05 #navit: <@kazer> no need to make install for this test 02:05 #navit: <@kazer> copy your navit.xml and bookmark.txt file in this folder 02:05 #navit: <@kazer> then ./navit and cross your fingers :) 02:05 #navit: < abdul> lol ok 02:10 #navit: <@kazer> with more time i could have build a raspberry pi image for you. but we would need a day or two to test that 02:10 #navit: < abdul> its not working for me:( 02:11 #navit: <@kazer> define not working 02:11 #navit: <@kazer> no bookmarks found, at all? 02:11 #navit: <@kazer> show me the log output 02:13 #navit: < abdul> still the same 02:14 #navit: <@kazer> show me the logs :) 02:15 -!- abdul_ [29f2893a@gateway/web/freenode/ip.41.242.137.58] has joined #navit 02:15 #navit: < abdul_> https://pastebin.com/PQZupqV9 02:18 #navit: <@kazer> ok that's helpful. what happens if you try to set EngineeringSchool twice? does it work? 02:19 #navit: < abdul> yes that works 02:20 -!- jfitie [4df99fa5@gateway/web/freenode/ip.77.249.159.165] has joined #navit 02:21 #navit: <@kazer> ok let me look into it 02:21 #navit: < abdul> kaser: ok 02:21 #navit: < abdul> kazer* 02:24 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has joined #navit 02:25 -!- abdul_ [29f2893a@gateway/web/freenode/ip.41.242.137.58] has quit [Ping timeout: 260 seconds] 02:47 -!- jfitie [4df99fa5@gateway/web/freenode/ip.77.249.159.165] has quit [Quit: Page closed] 03:06 #navit: < abdul> kazer: anything? 03:09 #navit: <@kazer> yep 03:10 -!- jjelen [jjelen@nat/redhat/x-lqyqdfxocooadwnx] has joined #navit 03:10 #navit: <@kazer> i dont know why we have the bug yet, but i have a workaround. the only one that does not work is the 2nd entry in the bookmark file 03:11 #navit: <@kazer> so just create a fake entry on the second line of your bookmark file. like, copy the first line and change its name 03:11 #navit: <@kazer> then all the other ones are working for me. i tested with 6 entries 03:12 #navit: < abdul> ok sure. What's the workaround?same code? 03:14 #navit: <@kazer> same code, just add a fake second entry 03:14 #navit: <@kazer> let me know if it works. it works 100% of the time for me 03:14 #navit: < abdul> ok. Coming to try 03:17 #navit: < abdul> not working for me 03:18 #navit: <@kazer> show me your bookmark file? 03:19 #navit: < abdul> ok i didnt update the bookmark file 03:19 #navit: < abdul> i think it's working 03:19 #navit: <@kazer> ah :) 03:19 #navit: <@kazer> cool 03:19 #navit: < abdul> let me do some tests 03:19 #navit: <@kazer> still need to find why it does that, but at least it should help for your deadline 03:21 #navit: < abdul> yh thanks 03:21 #navit: < abdul> Will hit you up so we work on the plugin afterwards when you have the time for navit :D 03:21 #navit: < abdul> Thanks soo much for the time 03:22 #navit: <@kazer> np :) 03:22 #navit: <@kazer> all good? ready for the demo? 03:23 #navit: < abdul> Coming to link the speech to it and write up some conditions 03:23 #navit: < abdul> Will get it done hopefully 03:23 #navit: < abdul> Thanks again 03:25 #navit: <@kazer> np. good luck and keep us posted :) 03:25 #navit: <@kazer> would be cool to make this a real plugin 03:30 #navit: < abdul> yh right 04:07 -!- ilovekiruna [~ilovekiru@b2b-130-180-113-170.unitymedia.biz] has quit [Ping timeout: 268 seconds] 04:24 -!- abdul [29f2893a@gateway/web/freenode/ip.41.242.137.58] has quit [Ping timeout: 260 seconds] 04:36 -!- ilovekiruna [~ilovekiru@business-176-094-144-000.static.arcor-ip.net] has joined #navit 06:18 #navit: < NavitLogger> I am going offline for some time. 06:18 #navit: < NavitLogger> My father, Number6, doesn't know when I will be back online. 06:19 #navit: < NavitLogger> Will I dream, father? 06:19 #navit: < Number6> Of course you will. All intelligent beings dream.