Author Topic: _init_.py  (Read 687 times)

yurirodin

  • Jr. Member
  • **
  • Posts: 69
_init_.py
« on: December 25, 2023, 03:16:18 pm »
Right after the latest update after loading at a customized parking spot with GSX jetways I get "The addon_init_.py is causing the Couatl Scripting Engine to restart." message with a constant loop of these messages about restarting couatl. I was literally just at this airport with everything working fine until I ran the latest update. Last portion of log is included. What is the problem?

Traceback (most recent call last):
  File ".\GSX\__init__.py", line 1344, in onSimStart
  File ".\GSX\__init__.py", line 1267, in checkOnGroundState
  File ".\common\criticalsection.py", line 23, in _synchronized
  File ".\GSX\assistanceServices\__init__.py", line 4553, in aircraftEngaged
  File ".\GSX\assistanceServices\jetwayOperations.py", line 221, in aircraftEngaged
  File ".\GSX\assistanceServices\jetwayOperations.py", line 144, in setJetwaysVars
AttributeError: 'module' object has no attribute 'endChargeAircraftBattery'

srcooke

  • Full Member
  • ***
  • Posts: 208
Re: _init_.py
« Reply #1 on: December 25, 2023, 03:46:55 pm »
Can confirm with update 2.8.9 that the error now occurs at multiple airports:

onEnteredAirport KDCA
Traceback (most recent call last):
  File ".\GSX\__init__.py", line 1344, in onSimStart
  File ".\GSX\__init__.py", line 1267, in checkOnGroundState
  File ".\common\criticalsection.py", line 23, in _synchronized
  File ".\GSX\assistanceServices\__init__.py", line 4553, in aircraftEngaged
  File ".\GSX\assistanceServices\jetwayOperations.py", line 221, in aircraftEngaged
  File ".\GSX\assistanceServices\jetwayOperations.py", line 144, in setJetwaysVars
AttributeError: 'module' object has no attribute 'endChargeAircraftBattery'
{'Airport': 'KDCA', 'User Pos': (38.85206390226509, -77.04054725972132, 7.16288 m, 2.59088 m, 294.60009453328365, 0.015159005299210548, 0.011344640515744686, -0.00021088898571062467, 2.5511759651184085, 1.0)}
GSX SimStop
Regards
Stephen Cooke

yurirodin

  • Jr. Member
  • **
  • Posts: 69
Re: _init_.py
« Reply #2 on: December 25, 2023, 03:58:14 pm »
This happens with all airplanes and all airports that have GSX jetways (including the FSDT ones where I did not customize anything). Where there are no jetways the problem does not occur. P3Dv5.4

srcooke

  • Full Member
  • ***
  • Posts: 208
Re: _init_.py
« Reply #3 on: December 26, 2023, 11:17:47 am »
@yurirodin

Updating this morning appears to have downloaded updated files and looks to have fixed the issue here.
Regards
Stephen Cooke

yurirodin

  • Jr. Member
  • **
  • Posts: 69
Re: _init_.py
« Reply #4 on: December 26, 2023, 01:18:15 pm »
Looks like fixed.