P4DTI issue job000900

TitleWhen installing service, get "Fatal Python error: PyThreadState_Get: no current thread"
Assigned userNick Levine
DescriptionCustomer gets an error message when installing P4DTI as a service. The
installation appears to be OK though, and starts & runs OK. Nevertheless
the error message is enough to convince an administrator that something
has gone wrong. Customer says:

For reference, the following is produced. The error msg is unfortunate, but
a google showed that others get it and yet the service works. Note also the
bit about Python class and hence my subsequent question.

This is with ActiveState Python 2.3.2

C:\Data\work\TrackerP4DTI\main\kit\code\replicator>python service.py
(P4DTI-10139) Installing service to start automatically...
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
Please contact the application's support team for more information.
Installing service p4dti_service to Python class
Service installed

C:\Data\work\TrackerP4DTI\main\kit\code\replicator>python service.py start
Starting service p4dti_service

(Also tried "net start p4dti" which worked fine).
AnalysisAt the very least, we should convince oursleves that this is benign and add
notes to that effect to the ag.

I would guess that this is bit rot associated with Python versions more
recent than that under which service.py was originally written and tested.

I have added a note to service.py about the string which looks like a filename
but isn't. Perhaps we should also note this in the ag.
How foundcustomer
Observed in2.1.2
Created byNick Levine
Created on2004-04-15 11:15:57
Last modified byNick Barnes
Last modified on2018-07-05 17:28:12
History2004-04-15 NDL Created.
       2018-07-05 NB Suspended because the P4DTI is obsolete.