[SciPy-user] gui_thread problem

Ryan Krauss ryanfedora at comcast.net
Wed May 11 17:45:02 EDT 2005


So, I know I am posting to this list a lot, but I really have tried all 
I can think of to solve this problem.   Sorry.

When I try to start my gui_thread, I get a "NotImplementedError: <type 
'PyCObject'>" message.

Full message:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/gui_thread/__init__.py", line 
73, in start
    wxPython_thread()
  File "/usr/lib/python2.3/site-packages/gui_thread/wxPython_thread.py", 
line 164, in wxPython_thread
    sys.modules[name] = wrap_extmodule(module,call_holder)
  File "/usr/lib/python2.3/site-packages/gui_thread/wxPython_thread.py", 
line 62, in wrap_extmodule
    raise NotImplementedError,`t`
NotImplementedError: <type 'PyCObject'>

I googled the error message and someone else had this problem, but I 
guess was able to solve it my starting the gui_thread before importing 
scipy.  That doesn't solve the problem for me.

The module that is being loaded by line 164:
sys.modules[name] = wrap_extmodule(module,call_holder)
when the error happens is <module 'swig_runtime_data1' (built-in)>

I am running Python 2.3.4 and have installed the wx rpms:
wxPython2.6-gtk2-unicode-2.6.0.0-fc2_py2.3.i386.rpm
wxPython-common-gtk2-ansi-2.6.0.0-fc2_py2.3.i386.rpm

from wxpython.org (I actually have a multi-version install of wxPython, 
but chaning versions doen't solve this problem.  The other version is 
2.6-gtk2-ansi)

Thanks for any help you can offer,

Ryan





More information about the SciPy-User mailing list