pythonservice -register

O

Olaf Meding

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.
 
L

Larry Bates

On my machine (Windows XP Pro also ActivePython 2.2)
I get the following:

Registering the Python Service Manager ...

After that everything works as documented.

-Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top