PyThreadState_Get error again :(
I'm getting a thread state error and as described by Mark Hammond I find I'm using some DLLS
Loaded 'C:\Python\python.exe', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\MSVCRT.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\SHELL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\KERNEL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\python20.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\PyWinTypes20.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLE32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\Python\win32\win32api.pyd', no matching symbolic information found.
Loaded 'C:\Python\win32\win32pipe.pyd', no matching symbolic information found.
Loaded 'C:\Python\DLLs\zlib.pyd', no matching symbolic information found.
Loaded 'C:\Python\DLLs\_sre.pyd', no matching symbolic information found.
Fatal python error: PyThreadState_Get: no current thread
The thread 0xFFFB2977 has exited with code -1 (0xFFFFFFFF).
The thread 0xFFFBC73B has exited with code 3 (0x3).
The program 'C:\Python\python.exe' has exited with code 3 (0x3)
It seems that this is win32pipe vs Win95 as it looks like the problem is with popen4 as a
colleague says this is fine with win2000.
#popen4 gets stderr as well
print 'about to call win32pipe'
(inp, outerr) = win32pipe.popen4("xmlv " + filename)
print 'just called win32pipe'
lines = outerr.readlines()
outerr.close()
inp.close()
print 'finished win32pipe'
I see
about to call win32pipe
just called win32pipe
Fatal Python error: PyThreadState_Get: no current thread
abnormal program termination
I'm running BEOPEN Python 2.0, Win95 OSR2, PythonWin 134 (with the fixed .pyds).
--
Robin Becker