|Title||When installing service, get "Fatal Python error: PyThreadState_Get: no current thread"|
|Assigned user||Nick Levine|
|Description||Customer 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
(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
C:\Data\work\TrackerP4DTI\main\kit\code\replicator>python service.py start
Starting service p4dti_service
(Also tried "net start p4dti" which worked fine).
|Analysis||At 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.
|Created by||Nick Levine|
|Created on||2004-04-15 11:15:57|
|Last modified by||Nick Barnes|
|Last modified on||2018-07-05 17:28:12|
|History||2004-04-15 NDL Created.|
2018-07-05 NB Suspended because the P4DTI is obsolete.