Howto:Understand console output: Difference between revisions

Jump to navigation Jump to search
m
Solution added
m (→‎Errors with solutions: "Model not found" added)
m (Solution added)
Line 60: Line 60:
# Try to locate the file in which the missing file is referenced. This is likely to be <tt>-set.xml</tt> in the root directory of the loaded [[aircraft]]. Between the <model> tags, the base model file is referenced. This file references to all other models that are displayed with the aircraft.
# Try to locate the file in which the missing file is referenced. This is likely to be <tt>-set.xml</tt> in the root directory of the loaded [[aircraft]]. Between the <model> tags, the base model file is referenced. This file references to all other models that are displayed with the aircraft.
# Contact the aircraft author with a detailed bug-report, in which you state the excact location of the missing file and (if you found it) the file in which it is referenced.
# Contact the aircraft author with a detailed bug-report, in which you state the excact location of the missing file and (if you found it) the file in which it is referenced.
===Nasal runtime error: nil used in numeric context===
This error is [[Nasal]] triggered by a Nasal file (the console should show what file (and line) and from where it was referenced). The Nasal script tried to do something with a [[Property Tree|property]] with an empty value. A solution is to fill the property before the Nasal is loaded. This can be done by setting the property in an [[aircraft]]'s <tt>-set.xml</tt> file or by adding a [[Nasal scripting language#Listeners and Signals|listener]] to the script.
[[Howto: Contact the developers|Contact the developers]] if this error is shown for a <tt>[[$FG_ROOT]]/Nasal/</tt> script.


===Near camera not rendering===
===Near camera not rendering===
Line 135: Line 140:
===Mesa 7.3 implementation error: bad texture level in r300UploadSubImage===
===Mesa 7.3 implementation error: bad texture level in r300UploadSubImage===
http://www.flightgear.org/forums/viewtopic.php?f=2&t=6706&start=0&st=0&sk=t&sd=a
http://www.flightgear.org/forums/viewtopic.php?f=2&t=6706&start=0&st=0&sk=t&sd=a
===Nasal runtime error: nil used in numeric context===


===Nasal runtime error: stack overflow===
===Nasal runtime error: stack overflow===

Navigation menu