General Category > Help and troubleshooting

Techdemo 2007.2 does not run.

(1/1)

Winter Knight:
First Post!

First, I tried to run latest svn. I updated to r 1737. I then ran "scons ext=1" because Debian's current guichan library is not compatible with FIFE. I then ran "python techdemo.py". This is the Traceback:


--- Code: ---Traceback (most recent call last):
  File "techdemo.py", line 13, in ?
    from fifedit import *
  File "engine/extensions/fifedit.py", line 5, in ?
    from pychan import *
  File "engine/extensions/pychan.py", line 3, in ?
    import fife, pythonize
  File "engine/extensions/pythonize.py", line 88, in ?
    createProperties()
  File "engine/extensions/pythonize.py", line 65, in createProperties
    methods = [(name,attr) for name,attr in class_.__dict__.items()
  File "engine/extensions/pythonize.py", line 49, in isSimpleGetter
    return not (argspec[0] or any(argspec[2:]))
NameError: global name 'any' is not defined
--- End code ---

I figured that sometimes svn might be broken, so I tried the lastest release, which was just one week ago. I used the same compile and run instructions, like so:
scons ext=1
python techdemo.py

Here is the error message:

--- Code: ---Traceback (most recent call last):
  File "techdemo.py", line 25, in ?
    import fife, fifelog
ImportError: No module named fife
--- End code ---

Neither time, when compiling the release, or latest svn, did I get any errors. There is an available file in the latest svn (after compiling) called /engine/swigwrappers/python/fife.py. This file is never created in the release.

I am using Debian Testing. Python 2.4. Scons 0.97.0d20070918-1.

mvBarracuda:
You'll need to run run:

--- Code: ---scons ext=1
scons
--- End code ---

ext=1 will JUST compile guichan and minizip from source but NOT FIFE itself.

Concerning the any() issue: we did just spot this issue today. Looks like the latest trunk relies on a python statement that is just available with Python 2.5. One of our channel visitors did already bring up a possible solution for this so we hope we can fix this soon so trunk works with Python 2.4 as well again.

Winter Knight:
Thanks. It works now.

Navigation

[0] Message Index

Go to full version