Title | Can't run as Windows Service with Python 2.4 |
Status | closed |
Priority | essential |
Assigned user | Nick Barnes |
Organization | Ravenbrook |
Description | The P4DTI is able to run as a Windows Service, using some of the Win32 extensions to Python. These extensions have changed in Python 2.4, in such a way that the P4DTI Windows Service cannot be started. |
Analysis | win32serviceutil.HandleCommandLine no longer copes with more than one argument, so can't be used to start the service as we pass parameters such as the config file name as arguments (--p4dti-config, etc). We can use win32serviceutil.StartService directly. However, that doesn't completely fix the problem as there is also a change in the way in which arguments are passed, with the effect being that the config file is not properly picked up. |
How found | automated_test |
Evidence | Running the test suite. |
Observed in | 2.2.1 |
Test procedure | test_p4dti.py nt_service.runTest |
Created by | Nick Barnes |
Created on | 2005-02-02 00:41:38 |
Last modified by | Nick Barnes |
Last modified on | 2005-02-02 13:17:15 |
History | 2005-02-01 NB Created. |