Debug version crashing...

Martin v. Loewis martin at v.loewis.de
Wed Jul 31 02:54:25 EDT 2002


tALSit de CoD <talsit at talsit.org> writes:

> 1) a small .exe loads the .dll and calls the main init() function
> 2) the dll starts up some services, among them Py_Initialize ()
> 3) i tell python to execute: execfile("kikura.py") (kikura.py is the file 
> that SWIG generates for the shadow classes)
> 
> All this works in the release version, but in the debug version i get this 
> error message along with an assert failure:
> Fatal Python error: Interpreter not initialized (version mismatch?)

Could it be that you are loading python22.dll instead of python22_d.dll?

Regards,
Martin



More information about the Python-list mailing list