navit icon indicating copy to clipboard operation
navit copied to clipboard

error reading /home/user/.navit/navit.xml

Open mrakyhub opened this issue 2 years ago • 6 comments

error:navit:main_real:error reading config file ̈́/home /user/.navit/navit.xml':Element 'config' within unexpected context 'mapset'. Expected '' at line 10, char 1 at line 417, char 51

error:navit:main_real:Chyba při načítání konfiguračního souboru '/home/user/.navit/navit.xml': Element 'config' within unexpected context 'mapset'. Expected '' at line 10, char 1 at line 417, char 51

mrakyhub avatar Oct 26 '23 14:10 mrakyhub

Isn't that a typo in your navit.xml? Please try the example navit.xml that is provided by navit.

My mapset tag only contains map tags. And only one mapset can be enabled.

adevoss avatar Oct 29 '23 08:10 adevoss

i try a original file navit.xml, and same error. when i go to lines 10 and 417, i cant find any bad chars. i think that error will be somwhere around.

mrakyhub avatar Oct 29 '23 16:10 mrakyhub

Try an xml validator.

adevoss avatar Oct 30 '23 19:10 adevoss

I try xml validator, add navit.dtd, and no errors.

mrakyhub avatar Oct 31 '23 16:10 mrakyhub

Please upload your navit.xml and the log output of navit here.

jkoan avatar Oct 31 '23 16:10 jkoan