On Tue, 2007-09-18 at 11:17 -0600, Nathaniel Homier wrote: > Hi, when I start FlightGear using fgrun on Linux, I get a failure to run > and a message in the log window saying: > > Fatal error: Failed to open file > at Files/FlightGear/scenery > (received from SimGear XML Parser) > > I am using cvs and subversion for FG/SimGear/Fgrun and OSG on Ubuntu. > My world scenery is installed on a ntfs partition, located at > /media/sdb1/Program Files/FlightGear/scenery. Starting FG from a > terminal produced problem until I added backslash\ to my bashrc to read: > > FG_SCENERY=$FG_ROOT/Scenery:/media/sdb1/Program\ Files/FlightGear/scenery > In bashrc this is 1 line > > However adding backslash\ does not work for > /home/nate/.fltk/flightgear.org/fgrun.prefs. So for now FG works from > terminal using fgfs but not from fgrun. So how do I fix this and make > fgrun work with spaces in the path. Moving the scenery is not feasible > at the moment.
Spaces are evil in directory names, try using quotes around the file name like this: FG_SCENERY="$FG_ROOT/Scenery:/media/sdb1/Program Files/FlightGear/scenery" If that doesn't work, fgrun needs to be fixed... Ron Note, you can use the quotes in .bashrc instead of the backslash as well. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users