Windows 32 service problem (ImportError)
Laszlo Zsolt Nagy
gandalf at geochemsource.com
Mon Aug 15 14:39:41 CEST 2005
I have a running service (a small web server) implemented in python,
running as a win32 service. I wrote another program that is very similar
to the web server but I cannot start the service. From the event log, I
can read this traceback:
Python could not import the service's module
File "T:\Python\Projects\NamedConnector\Service.py", line 17, in ?
from Processor import *
File "c:\Python\Projects\NamedConnector\Processor.py", line 35, in ?
from mess import MessageSocket
File "T:\Python\Lib\mess\MessageSocket.py", line 31, in ?
exceptions.ImportError: dynamic module does not define init function
1. I'm using the same module (MessageSocket) for my web server
2. The web server runs fine as a service
Where is the problem? Please help.
More information about the Python-list