Board index FlightGear Development Nasal

IOrules modification

Nasal is the scripting language of FlightGear.

IOrules modification

Postby clm76 » Mon Jul 27, 2015 5:41 pm

Can I suggest to modify the IOrules which are located in " /install/flightgear/fgdata/Nasal/IOrules " by adding READ ALLOW $FG_SCENERY/*  ?

The reason is that the standard route-manager and its function flightplan() can read the Level-D 767 procedure files if they are added to the Airports scenery data (ref. http://wiki.flightgear.org/Nasal_Flightplan)

But, if we use the FMS DB functions to read these data, it returns an error parsexml() : reading '/xxxxx/Airports/L/F/R/LFRK.procedures.xml' denied (unauthorized access) because "parsexml()" is not allowed to access $FG_SCENERY/*
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: IOrules modification

Postby Hooray » Mon Jul 27, 2015 8:38 pm

it would be a good idea to file a feature request for something like this
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: IOrules modification

Postby clm76 » Tue Jul 28, 2015 7:07 am

So, how to send this request ?
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: IOrules modification

Postby elgaton » Tue Jul 28, 2015 8:56 am

Open a code ticket on our project page at SourceForge.
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1106
Joined: Tue Mar 19, 2013 5:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: IOrules modification

Postby clm76 » Tue Jul 28, 2015 5:01 pm

Thanks. It's done : ticket 1782
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2


Return to Nasal

Who is online

Users browsing this forum: No registered users and 4 guests