General Category > Help and troubleshooting

Can't run editor


Hello! I have been playing with the FIFE engine but I haven't got the editor to work.

--- Code: ---$ cd clients/editor
$ python2.4
Traceback (most recent call last):
  File "", line 23, in ?
    import editor
  File "../../engine/extensions/editor/", line 3, in ?
    from fifedit import Fifedit
  File "../../engine/extensions/editor/", line 8
    class Fifedit():
SyntaxError: invalid syntax
$ python2.5
Traceback (most recent call last):
  File "", line 15, in <module>
    import fife
  File "../../engine/swigwrappers/python/", line 7, in <module>
    import _fife
ImportError: ../../engine/swigwrappers/python/ undefined symbol: Py_InitModule4

--- End code ---

The island demo works with python2.4 but not with 2.5. What am I doing wrong?


Looks like a python 2.4 vs 2.5 issue.

Please rebuild latest FIFE trunk against python2.5. After that the editor tool hopefully works as well.

Hi, thanks for your answer.

I tried to do that several times before posting here. The build system keeps picking up python 2.4. The only way I see to get around it is heavily modifying the scons makefiles (which I already did to bypass checks for SDL_ttf and the like).

Is the official language of FIFE python 2.4 or 2.5?

Sorry for such a late answer. I believe the current "release" version of fife is intended to work with python 2.4. However, the next release (and current svn) only works with python 2.5.


[0] Message Index

Go to full version