[pywin32-bugs] Problem starting a service.
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Jim P. <pa...@sl...> - 2004-11-19 03:19:36
|
The example service file win32/demos/service/pipeTestService.py is showing very different behavior depending on *where* the file is located: 1) When located under site-packages/win32/..., the service starts with no problem. 2) When started under site-packages/foo/pipeTestService.py, the service does not start: C:\Python23\Lib\site-packages\foo>copy ..\win32\demos\service\pipeTestService.py pipeTestService.py C:\Python23\Lib\site-packages\foo>python pipeTestService.py install Installing service PyPipeTestService to Python class C:\Python23\Lib\site-packages\foo\pipeTestService.TestPipeService Service installed C:\Python23\Lib\site-packages\foo>python pipeTestService.py --wait 5 start Starting service PyPipeTestService Error starting service: The service did not respond to the start or control request in a timely fashion. A look at the event log gives: > Event Type: Error > Event Source: Python Service > Event Category: None > Event ID: 4 > Date: 11/18/2004 > Time: 7:14:22 PM > User: N/A > Computer: GITOW1 > Description: > Python could not import the service's module > > exceptions.ImportError: No module named pipeTestService Any ideas? I'm running Python 2.3.4, pywin32 build 202 or 203. (Tried both) --Jim Panetta -- My opinions are mine...not DOE's...not SLAC's...mine. (except by random, unforseeable coincidences) pa...@sl... -- Save the whales! Free the mallocs! |