The Following User Says Thank You to braxc For This Useful Post: | ||
|
2015-03-26
, 11:31
|
Posts: 197 |
Thanked: 91 times |
Joined on Dec 2010
|
#812
|
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 sup For This Useful Post: | ||
|
2015-03-26
, 12:22
|
Posts: 5 |
Thanked: 5 times |
Joined on Mar 2015
|
#813
|
<xi:include href="/home/user/.navit/navitOSD.xml"/>
The Following User Says Thank You to braxc For This Useful Post: | ||
|
2015-03-26
, 12:35
|
Posts: 197 |
Thanked: 91 times |
Joined on Dec 2010
|
#814
|
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
to navit.xml and taking any of the Nseries xml data saving it into an xml file I get this error message:Code:<xi:include href="/home/user/.navit/navitOSD.xml"/>
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 sup For This Useful Post: | ||
|
2015-03-26
, 12:50
|
Posts: 5 |
Thanked: 5 times |
Joined on Mar 2015
|
#815
|
error:navit:convert_to_attrs:failed to create attribute 'distance_metric' with value '100'
The Following User Says Thank You to braxc For This Useful Post: | ||
|
2015-03-26
, 13:01
|
Posts: 197 |
Thanked: 91 times |
Joined on Dec 2010
|
#816
|
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.
The Following User Says Thank You to sup For This Useful Post: | ||
|
2015-03-26
, 13:08
|
Posts: 197 |
Thanked: 91 times |
Joined on Dec 2010
|
#818
|
The Following User Says Thank You to sup For This Useful Post: | ||
|
2015-03-26
, 13:11
|
Posts: 5 |
Thanked: 5 times |
Joined on Mar 2015
|
#819
|
The Following User Says Thank You to braxc For This Useful Post: | ||
|
2015-03-26
, 18:03
|
Posts: 445 |
Thanked: 367 times |
Joined on Nov 2010
@ Italy
|
#820
|
The Following User Says Thank You to gianko For This Useful Post: | ||
Tags |
navigation, navit, nokia n900, openstreetmap |
|
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.