Warning: long append

The problem with help on mac os x (possibly other platforms) -- <http://mail.flightgear.org/pipermail/flightgear-devel/2005-November/ 040462.html> -- is still occurring.

somehow something is switching /sim/startup/browser-app from "open" after it is set in Main/options.cxx, but before options are processed from the command line
(help works if I start fgfs with --browser-app="open")

I am using the following arguments to fgfs to generate a log to examine the problem:

--log-level=info --trace-write=/sim/startup/browser-app --trace-read=/ sim/startup/browser-app

Using grep on the source tree, I see the following /browser strings:
[/src/fgdev9.9] ima% find . -name '*.[ch]xx' -print | xargs grep $1 / dev/null ./src/FlightGear/src/GUI/gui_funcs.cxx: string help_app = fgGetString("/sim/startup/browser-app"); ./src/FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", "webrun.bat"); ./src/FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", "open"); ./src/FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", "launchWebJumper"); ./src/FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", envp); ./src/FlightGear/src/Main/options.cxx:// SG_LOG( SG_GENERAL, SG_INFO, " help app is " << fgGetString( "/sim/startup/browser-app" ) ); ./src/FlightGear/src/Main/options.cxx: SG_LOG( SG_GENERAL, SG_ALERT, " help app is " << fgGetString( "/sim/startup/browser- app" ) ); ./src/FlightGear/src/Main/options.cxx: {"browser- app", true, OPTION_STRING, "/sim/startup/browser- app", false, "", 0 },

The tracing functions aren't seeing ANY changes to /sim/startup/ browser-app (from the log I guess they start after /sim/startup/browser-app is set in Main/options.cxx, but these functions are not seeing any changes after they start
either.)

By the time the app is up and running and I select Help from the Help menu, the value has been changed (it should be open on mac os x, but is netscape which is not installed on the system).

Does anyone have any suggestions on how to explore the problem in gdb to see what is going on? Where is a value like /sim/startup/browser- app stored in memory in a running copy of fgfs? Any suggestions on which property functions to look at?

Thank you

Ima

A partial runtime log follows (help information lines prepended by "*** ")

Using Mac OS X hack for initializing C++ stdio...
*** help app is open
*** Tracing writes for property /sim/startup/browser-app
*** Tracing reads for property /sim/startup/browser-app
Finished command line arguments
Initializing splash screen
ATI Radeon 7500 OpenGL Engine
Max texture size = 2048
Depth buffer bits = 16
Loading Airport Database ...
Data file version = 715
[FINISHED LOADING]
Loading Navaid Databases
opening file: /src/fgdev9.9/data/Navaids/carrier_nav.dat
opening file: /src/fgdev9.9/data/Navaids/TACAN_freq.dat
Standardising rwy number from B to 0B
  Fixes
Attempting to set starting position for KDCA:33
runway =  -77.0383, 38.856 length = 1585.26 heading = 142.76
Position for KDCA is (-77.0328, 38.8504) new heading is 322.76
Searching for airport code = KDCA
Position for KDCA is (-77.0398, 38.8515)
Initializing Time
Current greenwich mean time = Sat Dec 17 11:19:54 2005

Current local time          = Sat Dec 17 06:19:54 2005

Reading timezone info from: /src/fgdev9.9/data/Timezone/zone.tab
Using zonename = /src/fgdev9.9/data/Timezone/America/New_York
  First time, doing precise gst

<snip>

Initializing environment subsystem
2005/12/17 10:51
KDCA 171051Z 35003KT 10SM OVC250 01/M04 A3041 RMK AO2 SLP296 T00061039
METAR from weather.noaa.gov
closest station w/ metar = KDCA
WIND: [EMAIL PROTECTED] knots

Altitude = 15
Temp at alt (C) = 1
Temp sea level (C) = 1.02786
Altitude = 15
Dewpoint at alt (C) = -4
Dewpoint at sea level (C) = -3.997
Initializing Lighting interpolation tables.
Initializing Interpolator for /src/fgdev9.9/data/Lighting/ambient
Initializing Interpolator for /src/fgdev9.9/data/Lighting/diffuse
Initializing Interpolator for /src/fgdev9.9/data/Lighting/specular
Initializing Interpolator for /src/fgdev9.9/data/Lighting/sky
Reading sound sound from /src/fgdev9.9/data/Aircraft/A-10/Sounds/A-10- sound.xml
Loading sound information for: engine
Loading sound information for: whine
Loading sound information for: engine
Loading sound information for: whine
Loading sound information for: rumble
Loading sound information for: rumble
Loading sound information for: rumble
Loading sound information for: gear
Loading sound information for: gear-lock
Loading sound information for: gear-lock
Loading sound information for: gear
Loading sound information for: gear-lock
Loading sound information for: gear-lock
Loading sound information for: gear
Loading sound information for: gear-lock
Loading sound information for: gear-lock
Loading sound information for: squeal
Loading sound information for: squeal
Loading sound information for: squeal
Loading sound information for: flaps
Loading sound information for: flaps
Loading sound information for: spoilers
Loading sound information for: spoilers
Loading sound information for: stall
NOTICE: System manager configuration specifies an electrical system: Aircraft/Generic/generic-electrical.xml but it is being overridden by the one specified in the -set.xml file: Aircraft/A-10/Systems/A-10- electrical.xml Reading xml electrical system model from /src/fgdev9.9/data/Aircraft/ A-10/Systems/A-10-electrical.xml
FGMultiplayMgr::init-txaddress= 0
FGMultiplayMgr::init-txport= 0
FGMultiplayMgr::init-rxaddress=0
FGMultiplayMgr::init-rxport= 5000
FGMultiplayMgr::init-callsign= callsign
Initialising callsign using 'Aircraft/A-10/Models/A-10-model.xml'
Adding subsystem nasal


*** TRACE: Read node /sim[0]/startup[0]/browser-app[0], value "netscape"
After fgInitTimeOffset(): warp = 16159177
Panel visible = 0
FGTileMgr::update()
scheduling needed tiles for -77.0328 38.8504
Loading tile 1679411
  Trying /scenery/w080n30/w078n38/1679411

<snip>


Loading tile 1679385
  Trying /scenery/w080n30/w078n38/1679385
    OBJECT_BASE 1679385.btg
    OBJECT  8W8.btg
OBJECT_SHARED Models/Airport/beacon.xml lon=-77.6128 lat=38.4851 elev=111.5 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.53 lat=38.4459 elev=28.6 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.53 lat=38.4459 elev=29.5 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.53 lat=38.4459 elev=29.5 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.5439 lat=38.4037 elev=36.2 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.5442 lat=38.4036 elev=22.8 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.5461 lat=38.4468 elev=28.6 hdg=0 OBJECT_SHARED Models/Structures/radio-medium.xml lon=-77.5461 lat=38.4468 elev=34.7 hdg=0
Finally initializing fdm
Start common FDM init
...initializing position...
Checking for lon = -77.0328deg, lat = 38.8504deg, alt = -9999ft
prepare_ground_cache(): trying to build cache without any scenery below the aircraft
...initializing ground elevation to -7.48089ft...
...initializing sea-level radius...
lat = 38.8504 alt = -7.38089
...initializing velocities...
...initializing Euler angles...
End common FDM init
YASim solution results:
       Iterations: 1308
Drag Coefficient: 28.3767
       Lift Ratio: 149.082
       Cruise AoA: 2.26977
   Tail Incidence: -2.54048
Approach Elevator: -0.491861
            CG: -7.962, -0.000, 0.301
Failed to untie property /consumables/fuel/tank[0]/level-gal_us
Failed to untie property /consumables/fuel/tank[1]/level-gal_us
Failed to untie property /engines/engine[0]/fuel-flow-gph
Failed to untie property /engines/engine[0]/rpm
Failed to untie property /engines/engine[0]/mp-osi
Failed to untie property /engines/engine[0]/egt-degf
Failed to untie property /engines/engine[0]/oil-temperature-degf
Failed to untie property /engines/engine[1]/fuel-flow-gph
Failed to untie property /engines/engine[1]/rpm
Failed to untie property /engines/engine[1]/mp-osi
Failed to untie property /engines/engine[1]/egt-degf
Failed to untie property /engines/engine[1]/oil-temperature-degf
Loading tile 1679393
  Trying /scenery/w080n30/w078n38/1679393

<snip>

Nasal runtime error: undefined symbol
  at /src/fgdev9.9/data/Nasal/globals.nas, line 72
Refreshing timestamps for -77.125 38.8125
scheduling needed tiles for -77.0328 38.8504
Playing audio after 0 sec: engine
Playing audio after 0 sec: whine
Playing audio after 0 sec: engine
Playing audio after 0 sec: whine
Playing audio after 0 sec: rumble
Playing audio after 0 sec: rumble
Playing audio after 0 sec: rumble
Playing audio after 0 sec: gear
Playing audio after 0 sec: gear-lock
Playing audio after 0 sec: gear
Stopping audio after 0 sec: gear-lock
Playing audio after 0 sec: gear-lock
Playing audio after 0 sec: gear
Stopping audio after 0 sec: gear-lock
Playing audio after 0 sec: gear-lock
Playing audio after 0 sec: squeal
Playing audio after 0 sec: squeal
Playing audio after 0 sec: squeal
Refreshing timestamps for -77.125 38.8125
scheduling needed tiles for -77.0328 38.8504
same station, waiting = 833.65
Refreshing timestamps for -77.125 38.8125
scheduling needed tiles for -77.0328 38.8504
Stopping audio after 47.0417 sec: gear
Refreshing timestamps for -77.125 38.8125
scheduling needed tiles for -77.0328 38.8504
*** TRACE: Read node /sim[0]/startup[0]/browser-app[0], value "netscape"
*** sh: line 1: netscape: command not found
^Cmake: *** [fgrun] Interrupt



_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to