Active Topics

 



Notices


Reply
Thread Tools
Posts: 5 | Thanked: 5 times | Joined on Mar 2015
#811
I just installed navit as described on https://wiki.navit-project.org/index...etting_for_OSD in steps 1. to 3.. Navit starts fine but it doesn't have OSD. Instead when starting it throws these error messages to stdout/stderr:

error:navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
error:navit:tracking_update:failed to get position data 1 1 1 0
error:navit:tracking_update:failed to get position data 1 1 1 0

the directory /opt/navit/share/navit/maps/ doesn't even exist.
The other two messages might be caused by not having GPS fix.
 

The Following User Says Thank You to braxc For This Useful Post:
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#812
Originally Posted by braxc View Post
I just installed navit as described on https://wiki.navit-project.org/index...etting_for_OSD in steps 1. to 3.. Navit starts fine but it doesn't have OSD. Instead when starting it throws these error messages to stdout/stderr:

error:navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
error:navit:tracking_update:failed to get position data 1 1 1 0
error:navit:tracking_update:failed to get position data 1 1 1 0

the directory /opt/navit/share/navit/maps/ doesn't even exist.
The other two messages might be caused by not having GPS fix.
Did you do this step: "(you only need to download some maps and either edit maps.xml or name them as I named them)"

Did you use the bokomoko repository?
 

The Following User Says Thank You to sup For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Mar 2015
#813
1. Yes, I am using the bokomoko repository.

2. Yes, I have downloaded a map file (~3.8GiB) and it is displayed correctly after I changed the path to the binfile. I can move the map by dragging.

What I find strange is that the default config provides a navit.xml requiring /opt/navit/share/navit/maps/*.xml but the package does not provide the file.

The other thing I found strange was that you have to manually enable all OSD elements you want to see in the navit.xml file.

I tried to include some OSD .xml files from https://wiki.navit-project.org/index..._Layouts#Notes but that failed too. When adding the line
Code:
<xi:include href="/home/user/.navit/navitOSD.xml"/>
to navit.xml and taking any of the Nseries xml data saving it into an xml file I get this error message:

error:navit:main_real:Error parsing config file '/home/user/.navit/navit.xml': Error on line 1 char 1: Document must begin with an element (e.g. <book>) at line 1, char 1 at line 153, char 60

153:60 is the line where I added the xi:include statement. my xi:include statement looks correct.
 

The Following User Says Thank You to braxc For This Useful Post:
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#814
Originally Posted by braxc View Post
1. Yes, I am using the bokomoko repository.

2. Yes, I have downloaded a map file (~3.8GiB) and it is displayed correctly after I changed the path to the binfile. I can move the map by dragging.

What I find strange is that the default config provides a navit.xml requiring /opt/navit/share/navit/maps/*.xml but the package does not provide the file.

The other thing I found strange was that you have to manually enable all OSD elements you want to see in the navit.xml file.

I tried to include some OSD .xml files from https://wiki.navit-project.org/index..._Layouts#Notes but that failed too. When adding the line
Code:
<xi:include href="/home/user/.navit/navitOSD.xml"/>
to navit.xml and taking any of the Nseries xml data saving it into an xml file I get this error message:

error:navit:main_real:Error parsing config file '/home/user/.navit/navit.xml': Error on line 1 char 1: Document must begin with an element (e.g. <book>) at line 1, char 1 at line 153, char 60

153:60 is the line where I added the xi:include statement. my xi:include statement looks correct.
Well, navit configuration is not very easy to do from scratch. Are you using the files I uploaded there: https://wiki.navit-project.org/index...0_instructions ?

I remember I struggled to set up navit too and ended up creating my own interface. I hope it shuld at least provide a workinf setup, you can then change the OSD as you wish.
 

The Following User Says Thank You to sup For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Mar 2015
#815
works like a charm! Thank you very much!

I think your configuration on https://wiki.navit-project.org/index...0_instructions should not be under "old".

There are still some error messages left. Main problem: navit prints this error message
error:navit:convert_to_attrs:failed to create attribute 'distance_metric' with value '100'
several tens or hundred times a second to stdout/stderr. The number (here: 100) varies.
 

The Following User Says Thank You to braxc For This Useful Post:
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#816
Originally Posted by braxc View Post
works like a charm! Thank you very much!

I think your configuration on https://wiki.navit-project.org/index...0_instructions should not be under "old".

There are still some error messages left. Main problem: navit prints this error message

several tens or hundred times a second to stdout/stderr. The number (here: 100) varies.
Great to hear it works for you! Well, the useful info is still there, one just needs to dig in, I do not feel like changing it, but it is a wiki, so feel welcome as far as I am concerned.

As for the error, are you not using imperial units in your locale? My settings are set in metric units (if it is set in settings, maybe all is taken from locale). But if everything works, I would not worry about it.
 

The Following User Says Thank You to sup For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Mar 2015
#817
I'm using the metric system. The display is metric (at least the scale, „Maßstabsleiste“).
 

The Following User Says Thank You to braxc For This Useful Post:
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#818
Originally Posted by braxc View Post
I'm using the metric system. The display is metric (at least the scale, „Maßstabsleiste“).
Hm, then I do not know what it measn. But as far as everything works, I would not worry about it. It does not emmit this signal on my device (I only tried to turn it on, I am inside building and the phone does not lock here, so if it is something triggered by a GPS lock, I did not test it).
 

The Following User Says Thank You to sup For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Mar 2015
#819
I found soemthing in https://forum.navit-project.org/view...php?f=11&t=526 but without an explanation.
And yes, I can get a gps lock.
 

The Following User Says Thank You to braxc For This Useful Post:
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#820
you can try also these config files if you like
__________________
Flickr photos taken with N900 https://www.flickr.com/cameras/nokia/n900/
"Closed source software tells you what you can do. With open source, you decide what software can do for you" Richard Stallman
 

The Following User Says Thank You to gianko For This Useful Post:
Reply

Tags
navigation, navit, nokia n900, openstreetmap


 
Forum Jump


All times are GMT. The time now is 19:31.