PyThreadState_Get: no current thread -- building debug libraries

robin at alldunn.com robin at alldunn.com
Wed Sep 27 19:29:59 EDT 2000


In article <mailman.970084362.10739.python-list at python.org>,
  Mike Fletcher <mfletch at tpresence.com> wrote:
>
> S:\Python-1.5.2\PCbuild>python_d
> Python 1.5.2 (#0, Sep 27 2000, 15:43:48) [MSC 32 bit (Intel)] on win32
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import TextTools.TextTools
> Fatal Python error: PyThreadState_Get: no current thread
>
> So why am I bothering you all with this?  Well, mostly 'cause I
haven't a
> clue why this is showing up, nor what the fix would look like.  More
> curiously, this is one of the errors I had show up occasionally as
part of
> the persistent, nasty, crashes I'm doing all this stuff to fix.  So,
any
> gurus out there willing to tell me how _PyThreadState_Current == NULL
in a
> running interpreter?  I'm assuming that it's something like a DLL
version
> mismatch, but not really sure what DLL would be causing the problem.
>

Most likely the .exe and the .pyd are importing different python .dlls.
You can use the "dumpbin /imports" tool to check.


--
Robin Dunn
Software Craftsman
robin at AllDunn.com
http://wxPython.org     Java give you jitters?
http://wxPROs.com        Relax with wxPython!


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list