FSDreamTeam forum
June 18, 2013, 06:26:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: GSX Released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Couatl Python Error  (Read 576 times)
Cativo
Newbie
*
Posts: 10


« on: September 20, 2011, 12:22:04 PM »

Hello everyone, I recently upgraded to W7 64bit. I installed FSDT KLAS and KORD following the instructions posted, but the terminal buildings are missing. I created a ini file and this is what was reported on couatl.log:

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

Any help?
Logged
virtuali
Administrator
Hero Member
*****
Posts: 13229



WWW
« Reply #1 on: September 20, 2011, 01:03:36 PM »

Do you have installed Blender, or any other product that requires Python 2.6 ? Or you might have installed Python yourself ? it seems your other Python install is clashing with Couatl, because it's looking into your actual Python installed folder, when it shouldn't...

Check if you have some environment variables set to point to that folder:

- Open a Command Prompt

- Type SET and press Enter

- Look if you see any variable that sets a path to the C:\Python26 folder
Logged

Umberto Colapicchioni
http://www.virtualisoftware.com
Cativo
Newbie
*
Posts: 10


« Reply #2 on: September 20, 2011, 02:07:00 PM »

I'm at work at the moment, but I know for a fact that I do have Blender and Python installed, the odd thing is that I had them with Windows XP and there was no conflict. what now?
Logged
virtuali
Administrator
Hero Member
*****
Posts: 13229



WWW
« Reply #3 on: September 20, 2011, 03:01:35 PM »

Report back when you have checked the variables thing.
Logged

Umberto Colapicchioni
http://www.virtualisoftware.com
ganesh
Beta tester
Jr. Member
*****
Posts: 51


Developer of Couatl


WWW
« Reply #4 on: September 20, 2011, 03:42:39 PM »

I did some tests and I can confirm that there may be a conflict with another version of Python installed on the machine, if the installer of such version sets the PYTHONPATH environment variable system-wide. That didn't happen with the versions of Python I previously tested with, but they may have changed policy in more recent versions. Please post the variable listing as suggested by Umberto, to be sure. In the the meantime, I am already preparing an updated version of Couatl that fixes this issue.
Logged

Ganesh
Developer of Couatl
Cativo
Newbie
*
Posts: 10


« Reply #5 on: September 20, 2011, 10:47:35 PM »

Do you have installed Blender, or any other product that requires Python 2.6 ? Or you might have installed Python yourself ? it seems your other Python install is clashing with Couatl, because it's looking into your actual Python installed folder, when it shouldn't...

Check if you have some environment variables set to point to that folder:

- Open a Command Prompt

- Type SET and press Enter

- Look if you see any variable that sets a path to the C:\Python26 folder
this is the python entry I get:
PYTHONPATH=%PYTHONPATH%;C:\Python26\Lib
Let me know if you need more info.
Logged
virtuali
Administrator
Hero Member
*****
Posts: 13229



WWW
« Reply #6 on: September 21, 2011, 09:01:25 AM »

If you download and install the Stand-Alone Addon Manager for FSX now, it includes the fixed version for Couatl, which shouldn't be affected by other Python installation on your system.
Logged

Umberto Colapicchioni
http://www.virtualisoftware.com
Cativo
Newbie
*
Posts: 10


« Reply #7 on: September 21, 2011, 11:55:09 PM »

Thank you very much! this works now!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!