pythonservice -register

Olaf Meding OlafMeding at compuserve.com
Wed Mar 3 10:33:35 EST 2004


What is the pythonservice.exe for?  What does pythonservice.exe really
do?

I installed and am using ActivePython (on Windows XP).

Working on writing a Windows service in Python.  The "Python
Programming on Win32" book says I should first register the
pythonserive.  This does not seem to work (see error below).  However,
the books SmallestService seems to run anyway.

Thanks for your help.

Olaf

*** Here is the error: ***
C:\Python23\Lib\site-packages\win32>pythonservice /register
Registering the Python Service Manager...
Fatal Python error: PyThreadState_Get: no current thread

This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.



More information about the Python-list mailing list