Hi Greg,

On Wednesday 30 April 2008 16:40, Greg Hawkes wrote:
> When I run fgfs, it displays the following rather unhelpful error message:
> Could not find                          YMML
>
> ...where there are 26 spaces between "find" and "YMML".  Increasing the
> log level to "bulk" shows the following lines surrounding this message:
>

To give a little background information regarding this message, it indicates 
that FlightGear is unable to find an airport name YMML in its main airport 
data base. The fact that you are getting this message does indicate a few 
things:

Your traffic file is recognized and read in during program initialization. 
FlightGear needs airport information to get coordinates for departure and 
arrival, load airport dynamics, etc etc. This information is obtained by 
referencing the departure and arrival airport ids against those stored in the 
program's main airport database (located in the file 
data/Airports/apt.dat.gz). FlightGear's airport database, while extensive, is 
not complete, and therefore, it is possible that users attempt to create 
traffic to / from airports that are not listed the database. The program is 
designed not to crash upon encountering unknown airport information. Instead, 
FlightGear issues a warning, and and then discards any further processing of 
the AI aircraft in question. 

Because YMML is reported as being reported as an unknown airport , you won't 
be able to see your flight. Now, what's interesting in your case is that YMML 
is listed in the apt.dat.gz file, so this shouldn't happen. I therefore 
suspect something might have gone wrong with the formatting of your xml file. 
Could there be extra whitespaces or other characters that might have 
influenced this? The fact that you mention 26 spaces between find and "YMML 
makes me suspicious that this might be the case. I just checked the code, and 
there doesn't seem to be anything in the program itself adding these spaces, 
so it would seem to me that they are part of the string that you are trying 
to match. FWIW, FlightGear version 0.9.10 has indeed this very short and 
rather unhelpful message, which I/we have subsequently changed to a more 
helpful: "Traffic manager is unable to find XXXX airport : " where XXXX can 
be "departure" or "arrival" depending on which airport is the offending one.

Please have a look and see if you can spot something obvious surrounding 
the "YMML" string. If your still not succesful, feel free to send me the 
file, and I'll have a look.

Cheers,
Durk

-------------------------------------------------------------------------
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