run time error with pygobject 2.14.0 on Mac OS X Leopard

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

run time error with pygobject 2.14.0 on Mac OS X Leopard

Adam Mercer
Hi

I'm trying to use PyGObject-2.14 on Intel Mac OS X Leopard from
MacPorts and whenever I try to import the gobject module, I get the
following error:

>>> import gobject
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
line 30, in <module>
  File "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py",
line 22, in <module>
ImportError: dlopen(/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so,
2): Symbol not found: _PyGBoxed_Type
  Referenced from:
/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so
  Expected in: flat namespace

>>>

Any ideas?

Cheers

Adam
_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Reply | Threaded
Open this post in threaded view
|

Re: run time error with pygobject 2.14.0 on Mac OS X Leopard

Adam Mercer
Has anyone got any suggestions on solving this?  As currently all
packages that use the python gobject bindings are broken on Mac OS X
Leopard...

Cheers

Adam

On Dec 8, 2007 10:26 PM, Adam Mercer <[hidden email]> wrote:

> Hi
>
> I'm trying to use PyGObject-2.14 on Intel Mac OS X Leopard from
> MacPorts and whenever I try to import the gobject module, I get the
> following error:
>
> >>> import gobject
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
> line 30, in <module>
>   File "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py",
> line 22, in <module>
> ImportError: dlopen(/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so,
> 2): Symbol not found: _PyGBoxed_Type
>   Referenced from:
> /opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so
>   Expected in: flat namespace
>
> >>>
>
> Any ideas?
>
> Cheers
>
> Adam
>
_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/