Title | When installing service, get "Fatal Python error: PyThreadState_Get: no current thread" |
Status | suspended |
Priority | optional |
Assigned user | Nick Levine |
Organization | Ravenbrook |
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 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 way. 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\service.p4dti_service Service installed C:\Data\work\TrackerP4DTI\main\kit\code\replicator> C:\Data\work\TrackerP4DTI\main\kit\code\replicator> C:\Data\work\TrackerP4DTI\main\kit\code\replicator> 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. |
How found | customer |
Evidence | http://info.ravenbrook.com/mail/2004/04/15/09-43-25/0.txt |
Observed in | 2.1.2 |
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. |