Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-29 Thread Frederic Bouvier
Hi James, - James Turner a écrit : On 28 Oct 2010, at 10:05, James Turner wrote: Looking at the code now, both in gui.nas and NasalSys.cxx, I can make a more specific guess: the 'directory exists' check seems to be failing, which means we return naNil, which doesn't have a .size

Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-29 Thread James Turner
On 29 Oct 2010, at 08:29, Frederic Bouvier wrote: Vivian has basically confirmed this hypothesis - simgear::Dir::exists is not working right on Win32. I won't be able to dig into this until much later this evening, if anyone else fancies setting some breakpoints in the code and seeing where

Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-29 Thread Vivian Meazza
James Turner wrote Sent: 29 October 2010 08:38 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error On 29 Oct 2010, at 08:29, Frederic Bouvier wrote: Vivian has basically confirmed

Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-29 Thread Frederic Bouvier
- Vivian Meazza a écrit : That fixes the Nasal bug, but now exposes another one - the view runs to the zenith and cannot be moved. This happens here with Fred's latest binary, and with a locally produced binary including today's FG/SG fixes. It does not happen with Fred's previous

Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-28 Thread James Turner
On 27 Oct 2010, at 22:01, Vivian Meazza wrote: Happens here too. I get: Nasal runtime error: object has no size() at D:/Git_New/fgdata/Nasal/gui.nas, line 406 called from: D:/Git_New/fgdata/Nasal/gui.nas, line 395 called from: D:/Git_New/fgdata/Aircraft/Generic/formation.nas, line 46

Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-28 Thread James Turner
On 28 Oct 2010, at 10:00, James Turner wrote: I'll dig into this today, or possibly just give up on the Windows globbing code and do the globbing myself, but if anyone on Windows with a Git build and debugger wants to set a breakpoint in NasalSys.cxx, f_directory, they can probably see

Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error

2010-10-27 Thread Vivian Meazza
Heiko Schulz Sent: 27 October 2010 17:55 To: flightgear-devel@lists.sourceforge.net Subject: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken with latest GIT by nasal error Hi, updated today to more or less latest GIT (10/25/2010) and found out that nearly all aircrafts