General Category > Help and troubleshooting

Can't run editor

(1/1)

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


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

--- End code ---

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

Thanks.

mvBarracuda:
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.

elcugo:
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?

jwt:
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.

Navigation

[0] Message Index

Go to full version