Page 1 of 1

PyThreadState_Get error on OS X 10.5 PPC

Posted: Sun Jul 03, 2011 2:15 pm
by nicholas_yue
Hi,

I have build a Python extension (via Swig 2.0.4) which I am able to import/load in Python3.2 on OS X 10.5.8 PPC

However, when I tried to import the same module in Blenders Python console, I get this error:

found bundled python: /opt/blender/v2.58/blender.app/Contents/MacOS/2.58/python
Fatal Python error: PyThreadState_Get: no current thread
Abort trap

Does any know of a possible cause ? Or have advice on the proper way to configure/use SWIG and get it to generate bindings that play nice with Blender3D.

As a reference test, I have build numpy and h5py and successfully loaded them in Blender3D's Python Console.

Regards

Re: PyThreadState_Get error on OS X 10.5 PPC

Posted: Sun Jul 01, 2012 12:39 pm
by mexicanpizza
Did you find a solution? I'm having this problem.