Menu

#380 FGRun does not support white-spaces in fg-aircraft path

Fixed
nobody
FGRun (25)
High
2011-07-29
2011-07-19
Anonymous
No

Originally created by: gijsrooy
Originally owned by: gijsrooy

What steps will reproduce the problem?
1. Launch FlightGear with an --fg-aircraft path that contains spaces (eg. --fg-aircraft=C:/Program Files/FlightGear/Aircraft.

What is the expected output? What do you see instead?
FlightGear should run normally, but instead it quits with the following error:
Fatal error: Failed to open file
at Files/FlightGear/Aircraft
(received from SimGear XML Parser)

What FlightGear version (or GIT date)?
Today's Git and Jenkins.

What operating system and graphics card?
Windows Vista and 7

--fg-scenery and --fg-root do support spaces, so I consider this as a bug. And quite a serious one for Windows users that would like to use this awesome new feature in 2.4.0, so priority set to high. Eventough nowadays the "release must go on" :)

Discussion

  • Anonymous

    Anonymous - 2011-07-19

    Originally posted by: cumuluni... (code.google.com)@gmail.com

    Did you try
    "--fg-aircraft=C:/Program Files/FlightGear"
    or
    --fg-aircraft="C:/Program Files/FlightGear"
    ?

     
  • Anonymous

    Anonymous - 2011-07-19

    Originally posted by: cumuluni... (code.google.com)@gmail.com

    For Windows, I wouldn't be surprised if even that should to the trick:
    "--fg-aircraft="C:/Program Files/FlightGear""
    We need a hack like that for spawning the system() command for svn.

     
  • Anonymous

    Anonymous - 2011-07-19

    Originally posted by: gijsrooy

    Hm, it actually looks more like a FGRun bug. FGRun doesn't show any "" in its commandline (on the last page), but I suspect it does add them to the "actual" commandline that is output, except for fg-aircraft...

    Spaces in fg-root and fg-scenery do work in FGRun, but when I run the same command (the one that is displayed inside FGRun that is) via cmd.exe, I get the error.

    Cc: frbo...@gmail.com

     
  • Anonymous

    Anonymous - 2011-07-19

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Summary: FGRun does not support white-spaces in fg-aircraft path
    Labels: -SimGear FGRun

     
  • Anonymous

    Anonymous - 2011-07-20

    Originally posted by: frbo... (code.google.com)@gmail.com

    Fixed in Win32-installer build #391

    Status: Testing

     
  • Anonymous

    Anonymous - 2011-07-29

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     

Log in to post a comment.

MongoDB Logo MongoDB