You are not logged in.

#1 2010-10-30 03:54:17

kb3pev
Member
Registered: 2008-01-19
Posts: 15

Cedega Python Error

  File "/home/michael/.cedega/.ui/app/frontend/main.py", line 30
    print "ERROR: You must have Python version 2.4 or later to run Cedega"
                                                                         ^
SyntaxError: invalid syntax

The installer runs fine, then once I try to run it the second time I run into this error any idea.


python 2.7 and python 3.1.2-2


KB3PEV -- Amateur Radio Callsign

Offline

#2 2010-10-30 04:09:06

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,328
Website

Re: Cedega Python Error

The file /home/michael/.cedega/.ui/app/frontend/main.py probably has #!/usr/bin/python at the top.   Change python to python2

Offline

#3 2010-10-30 04:23:20

kb3pev
Member
Registered: 2008-01-19
Posts: 15

Re: Cedega Python Error

Close, it has

#!/usr/bin/env python

I tried changing it to

#!/usr/bin/python2

or

#!/usr/bin/env python2

And no luck. but I'm pretty sure its something right here.


EDIT

Got it to start up.

I modified cd /usr/lib/cedega/cedega_start

to include

PYTHON=${PYTHON:-python2}
export PYTHON

then I run ./cedega_start


Though this solution is sloppy, I don't know how to do it with just executing cedega




EDIT 2

The Cedega GUI is starting up, but whenever I try to launch anything It gives me several alearts telling me a bunch of dll and exe files are missing.

Last edited by kb3pev (2010-10-30 05:50:53)


KB3PEV -- Amateur Radio Callsign

Offline

#4 2010-10-30 15:43:55

lzs
Member
Registered: 2008-01-23
Posts: 34

Re: Cedega Python Error

Try including

PYTHON=${PYTHON:-python2}
export PYTHON

in  ~/.cedega/.ui/runGUI and start Cedega like usual. Worked for me.

Offline

#5 2010-10-30 16:16:23

kb3pev
Member
Registered: 2008-01-19
Posts: 15

Re: Cedega Python Error

Worked for starting cedega. Though whenever I try to start anything I am missing DLL files. For WoW I replaced them, but it didn't help.

x86_64


KB3PEV -- Amateur Radio Callsign

Offline

Board footer

Powered by FluxBB