Re: [Flightgear-devel] Route Manager/ io.nas

2009-01-09 Thread Alasdair Campbell


On Sat, 2009-01-10 at 00:33 +0100, Csaba Halász wrote:
> On Sat, Jan 10, 2009 at 12:10 AM, Alasdair Campbell
>  wrote:
> > I find that I am unable to load any file (fails the
> > sanity check in data/nasal/io.nas (even as root)) The enclosed temporary
> > patch, removing the check resolves the problem for me.
> 
> Rather than removing the security check, you might consider adding a
> rule to IOrules.
> Have you actually tried to load a file that is in a location readable
> according to the default settings? (under $FG_ROOT or $FG_HOME) That
> should have worked.
> 
>   
>I had same trouble, and found that it works if the files are
>in .fgfs/routes
>i think  adding your path readable in Nasal/IOrules should work...

>jano


Thanks to Jano and Jester for pointing out Nasal/IOrules. GRR I not
defined $FG_HOME.

Kind regards, Alasdair


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Route Manager/ io.nas

2009-01-09 Thread Csaba Halász
On Sat, Jan 10, 2009 at 12:10 AM, Alasdair Campbell
 wrote:
> I find that I am unable to load any file (fails the
> sanity check in data/nasal/io.nas (even as root)) The enclosed temporary
> patch, removing the check resolves the problem for me.

Rather than removing the security check, you might consider adding a
rule to IOrules.
Have you actually tried to load a file that is in a location readable
according to the default settings? (under $FG_ROOT or $FG_HOME) That
should have worked.

-- 
Csaba/Jester

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Route Manager/ io.nas

2009-01-09 Thread jean pellotier
Alasdair Campbell a écrit :
> In eager anticipation of James Turners' proposed improvements to the
> Route Manager/GPS code, I have been playing around some and noted that
> that the route manager dialog contains a "Load List" option. If I try to
> use this option, I find that I am unable to load any file (fails the
> sanity check in data/nasal/io.nas (even as root)) The enclosed temporary
> patch, removing the check resolves the problem for me. A quick grep
> seems to to me that this this is the only place where nasal io is used.
> I may be wrong, but could someone with more nasal expertise check this
> out?
>
> Kind regards, Alasdair
>   
I had same trouble, and found that it works if the files are in .fgfs/routes
i think  adding your path readable in Nasal/IOrules should work...

jano

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel