Am Mittwoch, 9. Oktober 2013, 01:37:27 schrieb syd adams:
> Not sure what went wrong but i get this error consistently now:
> 
> Nasal runtime error: props.setValue() with non-number
>   at /media/FG/fgdata/Nasal/props.nas, line 29
>   called from: __dlg:gps, line 20
>   called from: __dlg:gps, line 134
> Segmentation fault (core dumped)

i think it's intern in the Dialog 

line:26 
dlg.getNode("scratch-index", 1).setValue(index); 
raise the fault.

called from line:140
updateSearchResults(0, dlg.getNode("scratch-index", 1).getValue());

the line are in the runtime error are viewed from nasal so it can' see the xml 
head.

it looks like the "scratch-index" is create by the getNode function and not 
bound to a type. In the Property Browser it shows type "none". so getValue() 
return not a number.

dlg.initNode("scratch-index",0,"INT") is maybe a better interface to crate the 
Node.


> 
> 
> 
> On Fri, Oct 4, 2013 at 1:48 AM, Dirk Dittmann
> 
> <dirk.dittmann....@gmail.com>wrote:
> > Am Donnerstag, 3. Oktober 2013, 21:38:52 schrieb James Turner:
> > > On 3 Oct 2013, at 17:35, Dirk Dittmann <dirk.dittmann....@gmail.com>
> > 
> > wrote:
> > > > The improved-issue1164 is ready.
> > 
> > https://gitorious.org/fg/dirks-flightgear/source/778cc8c6a0abb88a123885037
> > 6ea2374358fd887> 
> > > Thanks, looks good and pushed.
> > 
> > thx
> > 
> > > Unfortunately I now need to fix the route-path code to subdivide long
> > 
> > legs
> > 
> > > along the great-circle course, since currently the map shows a visible
> > > difference at the midpoint of legs. But, that's a bug I'm glad to have
> > > :)
> > 
> > i dont want to force you ;-)
> > 
> > > Kind regards,
> > > James
> > 
> > --------------------------------------------------------------------------
> > ---- October Webinars: Code for Performance
> > Free Intel webinars can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> > from
> > the latest Intel processors and coprocessors. See abstracts and register >
> > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktr
> > k
> > _______________________________________________
> > Flightgear-devel mailing list
> > Flightgear-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/flightgear-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to