Opened 11 years ago

Closed 11 years ago

#495 closed defect/bug (fixed)

navit:file_wordexp_new:wordexp('/Users/<username>/.navit/bookmark.txt') returned 6

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

Description

I'm trying to run navit on OSX 10.6.

Checked out the sources from svn (revision 2666 - which reminds me to pickup the novel with the same name) Used macports to install :

automake wget gpsd gtk2 glib2 libtool python_select

Switched to macports version of python via python_select

Used

 ./configure --prefix=/opt/local --enable-graphics-gd --enable-svg2png-scaling --with-svg2png-use-rsvg-convert --enable-graphics-qt-qpainter

Edited <code>navit.xml</code> to make changes to the plugins

 <plugins>		
 	<plugin path="/opt/local/lib/navit/binding/libbinding_python.dylib"/>
 	<plugin path="/opt/local/lib/navit/data/libdata_binfile.dylib"/>
 	<plugin path="/opt/local/lib/navit/data/libdata_mg.dylib"/>
 	<plugin path="/opt/local/lib/navit/data/libdata_poi_geodownload.dylib"/>
 	<plugin path="/opt/local/lib/navit/data/libdata_textfile.dylib"/>
 	<plugin path="/opt/local/lib/navit/graphics/libgraphics_gtk_drawing_area.dylib" />
 	<plugin path="/opt/local/lib/navit/graphics/libgraphics_null.dylib" active="no"/>
 	<plugin path="/opt/local/lib/navit/gui/libgui_gtk.dylib" />
 	<plugin path="/opt/local/lib/navit/osd/libosd_core.dylib" />
 	<plugin path="/opt/local/lib/navit/speech/libspeech_cmdline.dylib" />
 	<plugin path="/opt/local/lib/navit/vehicle/libvehicle_demo.dylib" />
 	<plugin path="/opt/local/lib/navit/vehicle/libvehicle_file.dylib" />
 </plugins>

also changed maps to sample map

<mapset enabled="yes">
 	<map type="binfile" enabled="yes" data="/opt/local/share/navit/maps/osm_bbox_11.3,47.9,11.7,48.2.bin"/>
 </mapset>

When running navit

Xlib:  extension "RANDR" missing on display "/tmp/launch-V7ycil/:0".
vehicle_gpsd:vehicle_gpsd_try_open:Trying to connect to localhost:default
vehicle_gpsd:vehicle_gpsd_try_open:gps_open failed for 'gpsd://localhost'. Retrying in 10 seconds. Have you started gpsd?
navit:file_wordexp_new:wordexp('/Users/<username>/.navit/bookmark.txt') returned 6

comes up and gdb starts.

Change History (2)

comment:1 follow-up: Changed 11 years ago by sera

Xlib:  extension "RANDR" missing on display "/tmp/launch-V7ycil/:0".

Means you haven't setup X correctly.

vehicle_gpsd:vehicle_gpsd_try_open:gps_open failed for 'gpsd://localhost'. Retrying in 10 seconds. Have you started gpsd?

Either means you haven't setup your networking correctly or gpsd is not running.

navit:file_wordexp_new:wordexp('/Users/<username>/.navit/bookmark.txt') returned 6

return code 6 means shell syntax error, so the path specified is broken. Have a close look at your navit.xml

And if gdb starts the most interesting output is the backtrace so include it in the bug report.

comment:2 in reply to: ↑ 1 Changed 11 years ago by oschrenk

  • Resolution set to fixed
  • Status changed from new to closed

Replying to sera:

Xlib:  extension "RANDR" missing on display "/tmp/launch-V7ycil/:0".

Means you haven't setup X correctly.

Thats normal under OSX as far as I know.

vehicle_gpsd:vehicle_gpsd_try_open:gps_open failed for 'gpsd://localhost'. Retrying in 10 seconds. Have you started gpsd?

No, I haven't. As I wanted to try navit as a map viewing application I didn't want to. It was turned on in the navit.xml though. Turning the feature of worked for me.

Thanks for the comments.

Note: See TracTickets for help on using tickets.