Page 1 of 2
Python.dll revisited (possible resolution)
Posted: Sat Jan 14, 2006 9:21 am
by Leaf
Bug # [ 1294859 ] python wont load
Anyone else having problems or seeing errors with Python with the last two Windows Server Snapshots?
If so, could you report the details here on at SF?
https://sourceforge.net/tracker/index.p ... tid=113833
The suggested configuration changes didn't work for me, but it seems the latest snapshot has resolved the problem. If others can confirm, I'll go ahead and close the bug.
Thanks.
Posted: Tue Jan 17, 2006 5:02 pm
by bencha
on the last windows server snapshot, i still have the bug and needed to delete the plugin_python.dll. Even if i don't know what it does, the new animator plugin loads well.
Posted: Wed Jan 18, 2006 8:09 am
by Ryo
Do you have Python installed? Is the python.dll (or python24.dll) file somewhere in your path?
Posted: Thu Jan 26, 2006 2:21 pm
by bencha
yes it is, and that's why it doesn't work. i.e.
no python => "can't find python.dll"
python => "fatal error, shall i send a message to microsoft ?"
and, before you ask, it's a recent version too. 2.4.1 i think.
Posted: Thu Jan 26, 2006 6:47 pm
by Ryo
What Python package did you install?
Posted: Thu Feb 02, 2006 6:11 pm
by bencha
It was python 2.4.1 from pyhon.org.
I removed it and switched to ActivePython-2.4.2.10 as recommended by Leaf but i still have the bug
Code: Select all
Initializing plugins
Plugins directory is share/plugins/
-> Loading plugin : plugin_animator.dll
CFAnim 2.0a init
CFAnim 2.0a post init
-> Loading plugin : plugin_python.dll
CFPython 2.0a init
CFPython 2.0a post init
and then the fatal error caused by crossfire32.exe in ntdll.dll
Removing the plugin_python.dll makes the server run
Posted: Sun Feb 05, 2006 11:44 pm
by Xypher
I have the same problem. It's caused by the running of the Crossfire Python startup script, via this line:
Code: Select all
PyRun_SimpleFile(scriptfile, cf_get_maps_directory("python/events/python_init.py"));
It's in cfpython.c, line 874. I'm trying to create a patch...
Posted: Sat Jun 24, 2006 1:49 am
by Xypher
Mmmm... its a problem with Python 2.4 and the server. Use 2.3 and it will work fine. I'm not sure why, but that seems to be the solution...
Posted: Sat Jun 24, 2006 10:27 am
by bencha
Maybe the best solution is to drop out python and use a real modern language like ruby
</troll>
Posted: Sat Jun 24, 2006 6:55 pm
by techolous
bencha wrote:Maybe the best solution is to drop out python and use a real modern language like ruby
</troll>
If anything it will probably be lua, or something else with as small of a footprint.