Opened 14 years ago

Closed 13 years ago

#434 closed defect/bug (fixed)

wordexp failing under windows

Reported by: stressedpiper Owned by: KaZeR
Priority: major Milestone:
Component: core Version: git master
Severity: Keywords:


Failing to load map files. The log suggests that that is a problem with wordexp.

navit:file_wordexp_new:wordexp('$NAVIT_SHAREDIR/maps/*.xml') returned 1 navit:file_wordexp_new:wordexp('/usr/local/share/navit/maps/united_kingdom.navit.bin') returned 1 map_binfile:map_binfile_open:Failed to load '/usr/local/share/navit/maps/united_kingdom.navit.bin'

Change History (2)

comment:1 Changed 14 years ago by stressedpiper

It seems that the new implemention of wordexp under Windows only permits windows path names to he used in navit.xml file. That is, for example, you must use '$NAVIT_SHAREDIR\maps\*.xml' instead of '$NAVIT_SHAREDIR/maps/*.xml'. The old implementation was agnostic to the OS and used the latter.

comment:2 Changed 13 years ago by stressedpiper

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.