Fatal Python error: PyThreadState_Get

Mark Hammond MarkH at ActiveState.com
Thu Dec 21 02:55:00 EST 2000


Gordon Williams wrote:

> Fatal Python error: PyThreadState_Get: no current thread
> 
> abnormal program termination
> 
> I'm sending and receiving information in one thread via a serial port.  In
> the 1.5.2 code I was using the Marshal serial module.  As that only works
> with 1.5.2, I have now converted that to use windows native stuff using Mark
> Hamond's work.

It means that something using callbacks isn't playing ball.  Can you 
narrow it down and send me a sample - these are easy to fix once you 
know what function is causing it.

Mark.

> 
> There was a thread earlier this month about this same problem.  I think that
> they were also using W95.  It was unclear whether it was resolved or how it
> was resolved.
> 
> Before I start tracking the problem down, is this a known problem?  What
> causes it? Any pointers on where I should look first?
> 
> Regards,
> 
> Gordon Williams





More information about the Python-list mailing list