w2k server 1.8 startup fail with python installed

Requests for assistance and other HOWTOs.

Moderator: Board moderators

Ziffer
Newbie
Posts: 2
Joined: Tue Sep 27, 2005 4:41 pm

w2k server 1.8 startup fail with python installed

Post by Ziffer »

After some IRC discussion with cavehippo it seems I'm having this problem:

http://forum.metalforge.net/viewtopic.p ... ows+python

but I'm not sure what to do about it. With python 2.4.1 installed the server dies after writing:

Loading image file share/crossfire.0
Loading image file share/crossfire.1
Initializing plugins
Plugins directory is share/plugins/
-> Loading plugin : plugin_python.dll

to the log file. With python 2.4.1 not installed it works fine, although it complains about not finding some python2.4 .dll

Is there something I need to add?

Edit: python 2.4 gives the same result as 2.4.1
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Based upon this in the other thread you linked:
Xypher wrote:Pythons working now, apparently 2.4 doesn't like to cooperate with CF on my comp.
I would say that the issue is that Ryo (the windows dev), might be building against python 2.3, whereas you have python 2.4. Perhaps try it with python 2.3

EDIT: I guess I'm mistaken on my theory of version issues.
Last edited by Rednaxela on Wed Sep 28, 2005 12:36 pm, edited 1 time in total.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

No, server is built against 2.4.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

On a Windows XP Home system, I'm getting a similar warning about python24.dll not being found. I'm using the latest snapshot of the server and big-world maps.
This application has failed to start because python24.dll was not found. Re-installing the application may fix this problem
In the server dialog box, I also see
Error while trying to load share/plugins/plugin_python.dll: The specified module could not be found
Both of these "errors" appear if I run either the "Crossfire Server" or "Install as a Windows service"

I'm currently updating the server installation HOWTO on the website, if any additional steps are needed to get this to work - now would be a good time to know... :wink:
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Well, then the fix is easy: you need to have Python24.dll (found in your Python installation directory) in your system PATH.

Check workstation => properties => advanced => environment variables. Add to PATH the Python directory.

Or copy Python24.dll to Crossfire's directory (but this may cause issues when Python tries to find modules, not sure that works, i guess you may try :p)
Post Reply