Author Topic: Python error? **solved**  (Read 8049 times)

Cativo

  • Newbie
  • *
  • Posts: 10
Python error? **solved**
« on: February 21, 2012, 04:39:53 am »
I haven't bought GSX yet, but I've tried using it in KORD but I'm getting an error message: "The addon <unknown> is causing the Couatl Scripting Engine to restart..."
this is what's in the Couatl.err:

couatl v2.0 (build 2179)
panic log started on Mon Sep 19 18:50:53 2011
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "wx\__init__.py", line 45, in <module>
  File "wx\_core.py", line 5, in <module>
  File "C:\Python26\Lib\new.py", line 6, in <module>
    from warnings import warnpy3k
  File "C:\Python26\Lib\warnings.py", line 394, in <module>
    bytes_warning = sys.flags.bytes_warning
AttributeError: 'module' object has no attribute 'flags'
Application aborted because of a Python error
I should mention that I'm using FSPassengersX, would that cause any type of conflict?
« Last Edit: April 19, 2012, 09:58:39 am by virtuali »

wingnut

  • Newbie
  • *
  • Posts: 35
Re: Python error?
« Reply #1 on: February 21, 2012, 06:06:14 am »
Hello;

I'm using FS Passenger,and I haven't had any problem with it.

mark
Mark W.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51462
    • VIRTUALI Sagl
Re: Python error?
« Reply #2 on: February 21, 2012, 01:37:13 pm »
That log you posted is from last September, so it's not relevant here.

Quote
"The addon <unknown> is causing the Couatl Scripting Engine to restart..."

It does't say just that. It also says to download and install the latest Stand-Alone Addon Manager. Try to do that first.

Cativo

  • Newbie
  • *
  • Posts: 10
Re: Python error?
« Reply #3 on: February 21, 2012, 07:27:22 pm »
That log you posted is from last September, so it's not relevant here.

Quote
"The addon <unknown> is causing the Couatl Scripting Engine to restart..."

It does't say just that. It also says to download and install the latest Stand-Alone Addon Manager. Try to do that first.
Done that twice already, will try again tonight.

Cativo

  • Newbie
  • *
  • Posts: 10
Re: Python error?
« Reply #4 on: February 22, 2012, 06:24:51 pm »
I still get the same error with the latest version.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51462
    • VIRTUALI Sagl
Re: Python error?
« Reply #5 on: February 22, 2012, 10:16:29 pm »
I still get the same error with the latest version.

If you are getting that error, it must be recorded in the log. But the log shows the last time you got the error was in September, you should have a newer log, and maybe the error is different.

Cativo

  • Newbie
  • *
  • Posts: 10
Re: Python error?
« Reply #6 on: February 22, 2012, 11:50:54 pm »
I still get the same error with the latest version.

If you are getting that error, it must be recorded in the log. But the log shows the last time you got the error was in September, you should have a newer log, and maybe the error is different.
I didn't even noticed, I just checked and that is the last entry. The error is the same. If I erase the log, will a new one be made if there's an error?

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51462
    • VIRTUALI Sagl
Re: Python error?
« Reply #7 on: February 23, 2012, 12:55:58 am »
I didn't even noticed, I just checked and that is the last entry. The error is the same. If I erase the log, will a new one be made if there's an error?[/quote]

If there's an error, it should have been appended to the existing log without the need to create a new one, but you might try removing it, maybe is not possible to write to that file for some reason.

Cativo

  • Newbie
  • *
  • Posts: 10
Re: Python error?
« Reply #8 on: February 24, 2012, 03:45:03 am »
I deleted the original couatl.err file, got the same error but no new couatl.err was created. I run FSX with admin rights btw.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51462
    • VIRTUALI Sagl
Re: Python error?
« Reply #9 on: February 24, 2012, 12:57:44 pm »
Sorry, but that's just not possible, the only possible explanation is that you are still running an old version of the Couatl program, that didn't generate a log automatically.

Since the installers automatically gets the current version online, the only possible explanation, is that an antivirus has blocked the download of the current version, so you are stuck with the old one, which explains both why you don't see a log, and the error itself.

Cativo

  • Newbie
  • *
  • Posts: 10
Re: Python error?
« Reply #10 on: February 26, 2012, 02:55:43 am »
Thank you, it was the anti-virus!

sleddriver

  • Newbie
  • *
  • Posts: 27
Re: Python error?
« Reply #11 on: April 19, 2012, 06:49:46 am »
I'm having the same problem after installing KLAX, latest version.  I don't have any antivirus right running, and this is the error I keep getting:


couatl v2.0 (build 2307)
panic log started on Wed Apr 18 21:45:46 2012
Traceback (most recent call last):
  File "couatl\GSX\__init__.py", line 425, in onSimStart
  File "couatl\common\aircraftData.py", line 778, in getAircraftData
  File "couatl\common\aircraftData.py", line 438, in __init__
  File "couatl\common\aircraftData.py", line 331, in _exitsFromSimConnect
  File "couatl\common\aircraftData.py", line 261, in _exitsFromFsxData
ValueError: need more than 2 values to unpack

Any thoughts?

EDIT-Never mind, I just read that you found the problem, and will be releasing an update later.  Thanks.

Chris
« Last Edit: April 19, 2012, 08:03:09 am by sleddriver »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51462
    • VIRTUALI Sagl
Re: Python error?
« Reply #12 on: April 19, 2012, 09:57:35 am »
Problem has been fixed with the current Live Update.