[Flightgear-devel] ..what _is_ this view, a Nasal three-letter word?: bug is a three-letter word
On Sat, 29 Jan 2011 02:15:41 +0100, Arnt wrote in message 20110129021541.0d04cd1b@celsius.local: ..and, what _is_ this view? https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-002.png ..found this wee snippet in my now context-trimmed console output: Nasal runtime error: non-objects have no members at /home/arnt/FG-git/install/fgfs/bin/../fgdata//Nasal/view.nas, line 110 called from: /input/keyboard/key[118]/binding, line 1 ..the background color of this appears to depend on the local time at either KSFO or wherever you point FG with --airport=. ..line 110 is a comment, that shouldn't call a view? arnt@celsius:~/FG-git$ nl install/fgfs/fgdata/Nasal/view.nas |less ... 109 ## 110 # Standard view slew rate, in degrees/sec. 111 # 112 var VIEW_PAN_RATE = 60; -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] ..what _is_ this view, a Nasal three-letter word?: bug is a three-letter word
On Sat, Jan 29, 2011 at 9:37 PM, Arnt Karlsen a...@c2i.net wrote: On Sat, 29 Jan 2011 02:15:41 +0100, Arnt wrote in message 20110129021541.0d04cd1b@celsius.local: ..and, what _is_ this view? https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-002.png ..found this wee snippet in my now context-trimmed console output: Nasal runtime error: non-objects have no members at /home/arnt/FG-git/install/fgfs/bin/../fgdata//Nasal/view.nas, line 110 called from: /input/keyboard/key[118]/binding, line 1 ..line 110 is a comment, that shouldn't call a view? arnt@celsius:~/FG-git$ nl install/fgfs/fgdata/Nasal/view.nas |less ... 109 ## 110 # Standard view slew rate, in degrees/sec. 111 # 112 var VIEW_PAN_RATE = 60; User error. nl does not count empty lines by default, but nasal does. In any case, less is perfectly capable of displaying line numbers: $ less -N view.nas ... 108 # And pop up a nice reminder 109 var popup=getprop(/sim/view-name-popup); 110 if(popup == 1 or popup==nil) gui.popupTip(views[n].getNode(name).getValue()); So, presumably you have encountered a view that doesn't have a name. -- Csaba/Jester -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] ..what _is_ this view, a Nasal three-letter word?: bug is a three-letter word
On Sat, 29 Jan 2011 23:27:39 +0100, Csaba wrote in message aanlktin5rhfwolm1re2zmojobxeumop-dr4ul3-w0...@mail.gmail.com: On Sat, Jan 29, 2011 at 9:37 PM, Arnt Karlsen a...@c2i.net wrote: On Sat, 29 Jan 2011 02:15:41 +0100, Arnt wrote in message 20110129021541.0d04cd1b@celsius.local: ..and, what _is_ this view? https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-002.png ..found this wee snippet in my now context-trimmed console output: Nasal runtime error: non-objects have no members at /home/arnt/FG-git/install/fgfs/bin/../fgdata//Nasal/view.nas, line 110 called from: /input/keyboard/key[118]/binding, line 1 ..line 110 is a comment, that shouldn't call a view? arnt@celsius:~/FG-git$ nl install/fgfs/fgdata/Nasal/view.nas |less ... 109 ## 110 # Standard view slew rate, in degrees/sec. 111 # 112 var VIEW_PAN_RATE = 60; User error. nl does not count empty lines by default, but nasal does. In any case, less is perfectly capable of displaying line numbers: $ less -N view.nas ... 108 # And pop up a nice reminder 109 var popup=getprop(/sim/view-name-popup); 110 if(popup == 1 or popup==nil) gui.popupTip(views[n].getNode(name).getValue()); ..duh! The other ones didn't show me the line #'s, so I piped nl. So, presumably you have encountered a view that doesn't have a name. ..yup, the big question in what did I do (I didn't!!!) to deserve that. Other than .fgfsrc playing games?, 737-100 came up with the Swissair livery under the tar camo job, yahooing around with turpentine vapors in install/fgfs/fgdata/Aircraft/737-100/Models/Liveries/default.xml did nothing to the tar on the default Lufthansa paint job, then I tried grep ARB_ install/fgfs/fgdata/Effects/* which warrants a new thread. ;o) -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel