Author Topic: FSX, couatl crash on any request at all small bush airports (error txt)  (Read 1852 times)

Destroy

  • Newbie
  • *
  • Posts: 17
Hi,

I'm guessing this has something to do with the big'ish plane in a tiny airport parking. I've tried customizing the parking types and min wingspan to no avail.

PMDG DC-6 at Papua New Guinea addon airports (Pacific Islands Simulation) - silly I know but hey sims are for fun.

Is someone able to give me a bit of direction please? Thank you kindly for any help.
Code: [Select]
couatl v3.2 (build 4641)
panic log started on Wed Jul 13 21:50:55 2022

problem raised by addon <unknown>
Traceback (most recent call last):
  File ".\common\fsm.py", line 73, in executeDoFuncToCompletion
  File ".\GSX\assistanceServices\__init__.py", line 1538, in do
  File ".\common\criticalsection.py", line 23, in _synchronized
  File ".\GSX\assistanceServices\__init__.py", line 818, in requestVehicles
  File ".\GSX\__init__.py", line 1264, in prepareGate
  File ".\GSX\assistanceServices\__init__.py", line 3790, in setGate
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 156, in setGate
  File ".\GSX\assistanceServices\baggageTrain.py", line 427, in getInitialPosition
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 337, in getInitialPosition
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 334, in getInitialParking
  File ".\GSX\__init__.py", line 1306, in findSuitableParking
AssertionError
{'Airport': 'BIA', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.327603705321875, 151.00468665378307, 4.91508 m, 2.78208 m, 304.06719851175257, -0.025232378393411636, -0.015707964077591896, 0.0002401939172709898, 2.8956, 1.0)}

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
The scenery AFCAD is clearly missing something to be usable with GSX. Either it doesn't have any parking spot, or those that are there are not connected to the taxiway layout, or a combination of both.

Destroy

  • Newbie
  • *
  • Posts: 17
Edit: added .bgl files.
Looking at this simple airport I don't see anything obviously lacking or odd.

How about this one:
Code: [Select]
couatl v3.2 (build 4641)
panic log started on Thu Jul 14 21:11:34 2022

problem raised by engine or unspecified addon
{'Airport': 'TLS', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.276088192989456, 150.01253482876385, 21.0697 m, 2.78166 m, 142.7480019448073, -0.025236649438738823, -0.015707964077591896, 0.0, 2.8956, 1.0)}
User collision geometries reloaded
Loading airport CPG from K:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Addon Scenery\PNG Bush Flying\PNG Bush Flying\scenery\cpg_rg.BGL
User collision geometries reloaded
Deleted Menu SubItem (parentId 83, id 99)
onExitedAirport TLS
Added Menu SubItem "Customize airport positions..." (parentId 83, id 99)
onEnteredAirport CPG
aircraftEngaged
materializeTrafficCones()
Requested assistance services at Parking 1
User collision geometries reloaded
Traceback (most recent call last):
  File ".\common\fsm.py", line 67, in switchToState
  File ".\GSX\assistanceServices\__init__.py", line 1911, in enter
  File ".\common\criticalsection.py", line 23, in _synchronized
  File ".\GSX\assistanceServices\__init__.py", line 818, in requestVehicles
  File ".\GSX\__init__.py", line 1264, in prepareGate
  File ".\GSX\assistanceServices\__init__.py", line 3790, in setGate
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 156, in setGate
  File ".\GSX\assistanceServices\baggageTrain.py", line 427, in getInitialPosition
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 337, in getInitialPosition
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 334, in getInitialParking
  File ".\GSX\__init__.py", line 1306, in findSuitableParking
AssertionError
{'Airport': 'CPG', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.452481321878524, 148.43296308082665, 26.5557 m, 2.78171 m, 219.88000626508654, -0.025234846398234367, -0.015707964077591896, 0.00022882433556695248, 2.8956, 1.0)}
« Last Edit: July 15, 2022, 04:21:16 am by Destroy »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Looking at this simple airport I don't see anything obviously lacking or odd.

That's precisely the problem: it's TOO simple.

Both airports have the same problem, they only have one parking in total, which cannot work for GSX, since assuming you'll call GSX from that parking, it wouldn't be possible for GSX to find ANOTHER parking to spawn vehicles that are coming from another parking (fuel, catering, followme and deicers) so, basically, to work with GSX, the airport requires at least 2 parking spots.

In fact, I was fairly sure we made a change at some time that, these unusable airport wouldn't even be included in the airport cache so, it's strange you are even allowed to load it.

Also, looking at your error logs, it seems you haven't installed the latest updates, because the error lines don't match the lines in the current version. Not that this would make any different to your error, GSX still needs at least 2 parking spots ( and they must both be connected to the taxiway layout ) to work, and in fact, I need to check why that airport hasn't been filtered out.

There's an additional problem in both AFCADs, and it's the blue node on the same coordinates of the parking, which appear if you move the parking a bit. It's not required, and can cause issues as well (likely for pushback). I think GSX has code to ignore these, but it would be best to have the scenery as clean as possible to begin with.

Destroy

  • Newbie
  • *
  • Posts: 17

Both airports have the same problem, they only have one parking in total, which cannot work for GSX, since assuming you'll call GSX from that parking, it wouldn't be possible for GSX to find ANOTHER parking to spawn vehicles that are coming from another parking (fuel, catering, followme and deicers) so, basically, to work with GSX, the airport requires at least 2 parking spots.

This fixed it! Thank you very much. I simply added in 2nd parking spot into the problematic airports.

Now all normal GSX services I tried seem to work fine. See attached.

Destroy

  • Newbie
  • *
  • Posts: 17
Oop, looks like its not 100% cured with adding a 2nd parking spot. Seems there is a different error this time around.

At this airport, this error occurs right after the stewardess van leaves and the passenger van is supposed to show up for boarding.

Code: [Select]
couatl v3.2 (build 4641)
panic log started on Fri Jul 22 15:12:15 2022

problem raised by engine or unspecified addon
{'Airport': 'CPG', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.452480555589531, 148.43296666666504, 26.6676 m, 2.89363 m, 219.89999777759445, -0.012983863241970539, -0.015707964077591896, -0.0, 2.8956, 1.0)}
Warning: cruise speed must be positive
speed0: 0 speed1: 0 cruise: 0
Taking vehicle.cruiseSpeed: 13.4112CreatePassengers()
CreatePassengers()
Error: exception DATA_ERROR in call SetDataOnSimObject param #1 '104710888'
{'Airport': 'CPG', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.452480555589531, 148.43296666666504, 26.6676 m, 2.89363 m, 219.89999777759445, -0.012983863241970539, -0.015707964077591896, -0.0, 2.8956, 1.0)}
Warning: cruise speed must be positive
speed0: 0 speed1: 0 cruise: 0
Taking vehicle.cruiseSpeed: 13.4112CreatePassengers()
Error: exception DATA_ERROR in call SetDataOnSimObject param #1 '104710888'
{'Airport': 'CPG', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.452480555589531, 148.43296666666504, 26.6676 m, 2.89363 m, 219.89999777759445, -0.012983863241970539, -0.015707964077591896, -0.0, 2.8956, 1.0)}
Traceback (most recent call last):
  File ".\common\fsm.py", line 73, in executeDoFuncToCompletion
  File ".\GSX\assistanceServices\baseAssistanceVehicle.py", line 439, in do
  File ".\GSX\assistanceServices\passengerBus.py", line 192, in getLeaveRoute
IndexError: list index out of range
{'Airport': 'CPG', 'Requested assistance services at': 'Parking 1', 'User Pos': (-5.452480555589531, 148.43296666666504, 26.6676 m, 2.89363 m, 219.89999777759445, -0.012983863241970539, -0.015707964077591896, -0.0, 2.8956, 1.0)}

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Oop, looks like its not 100% cured with adding a 2nd parking spot. Seems there is a different error this time around.

Of course it cannot be fixed by just adding a 2nd parking spot. They must all be connected, both between themselves and to the rest of the taxiway layout, and the runways. Basically, everything must be reachable, with no isolated nodes.