FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Author Topic: Techdemo 2007.2 does not run.  (Read 3580 times)

Winter Knight

  • Newbie
  • Posts: 2
    • View Profile
Techdemo 2007.2 does not run.
« on: October 17, 2007, 11:25:52 am »

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: [Select]
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

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: [Select]
Traceback (most recent call last):
  File "techdemo.py", line 25, in ?
    import fife, fifelog
ImportError: No module named fife

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.
Logged

mvBarracuda

  • Administrator
  • Sr. Member
  • *
  • Posts: 411
    • View Profile
Re: Techdemo 2007.2 does not run.
« Reply #1 on: October 17, 2007, 12:02:19 pm »

You'll need to run run:
Code: [Select]
scons ext=1
scons

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.
Logged

Winter Knight

  • Newbie
  • Posts: 2
    • View Profile
Re: Techdemo 2007.2 does not run.
« Reply #2 on: October 17, 2007, 01:00:31 pm »

Thanks. It works now.
Logged