PyThreadState_Get error on OS X 10.5 PPC

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

nicholas_yue
Posts: 10
Joined: Sat Oct 26, 2002 7:41 am

PyThreadState_Get error on OS X 10.5 PPC

Postby nicholas_yue » Sun Jul 03, 2011 2:15 pm

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

mexicanpizza
Posts: 1
Joined: Tue Apr 26, 2005 10:31 pm

Re: PyThreadState_Get error on OS X 10.5 PPC

Postby mexicanpizza » Sun Jul 01, 2012 12:39 pm

Did you find a solution? I'm having this problem.


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 1 guest