Hi Melchior,

Many thanks for your reply.

xmllint reports no errors.

Hmm. strace is an excellent idea. Its output shows large numbers of interesting files being opened. I didn't realise that strace was such a useful tool for examining the progress of a running program.

The output from strace includes the following lines:
[pid 20172] open("/usr/share/games/FlightGear/Traffic/fgtraffic.xml", O_RDONLY|O_LARGEFILE) = 12 [pid 20172] open("/usr/share/games/FlightGear/Traffic//QAN/737/737.xml", O_RDONLY|O_LARGEFILE) = 13 [pid 20172] open("/usr/share/games/FlightGear/Traffic//QAN/737/QAN01.xml", O_RDONLY|O_LARGEFILE) = 14

...which all look okay to me.

strace does /not/ include a reference to a "parking.xml" file, which is significant, which means that FG is not attempting to open the file /usr/share/games/FlightGear/Airports/AI/YMML/parking.xml

BTW, it also includes the line
[pid 20172] open("/usr/share/games/FlightGear/Traffic//general/KSFO/c172.xml", O_RDONLY|O_LARGEFILE) = 13

...which does strike me as odd, when I'm flying around southern Australia. Why would FlightGear be opening a "KSFO" file?

I apologise for asking some off-topic questions, but I'm trying hard to get my head around this FlightGear thing.

Regards,
Greg Hawkes


Melchior FRANZ wrote:
* Greg Hawkes -- Wednesday 30 April 2008:
When I run fgfs, it displays the following rather unhelpful error message:
Could not find                          YMML

Durk is your man, but I'll try to help anyway. First check if your
XML files are really spec compliant:

  $ xmllint /usr/share/games/FlightGear/Traffic/QAN/737/QAN01.xml

FlightGear does not always tell you if there are problems. (Yes,
that's a usability bug).


If that didn't show anything suspicious, try this:

  $ strace -fF -eopen fgfs --airport=ymml 2>&1|tee /tmp/log

Then check in /tmp/log for the place where your files should get
loaded, and apparently aren't. This could show you wrong paths.

m.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to