py-nautilus runtime error ?

Tom McLaughlin tmclaugh at sdf.lonestar.org
Wed Apr 25 02:53:09 UTC 2007


On Tue, 2007-04-24 at 12:06 +0200, Pascal Hofstee wrote:
> Hi,
> 
> I just installed the py-nautilus port in order to play around a bit with 
> some python nautilus extensions and noticed the following error during 
> nautilus startup:
> 
> Initializing gnome-mount extension
> seahorse nautilus module initialized
> 
> (nautilus:49160): Nautilus-Python-WARNING **: g_module_open libpython 
> failed: Shared object "libpythonpython2.4.so" not found, required by 
> "nautilus"
> Traceback (most recent call last):
>    File 
> "/usr/local/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.py", 
> line 30, in ?
>      from _gobject import *
> ImportError: 
> /usr/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so: 
> Undefined symbol "_Py_TrueStruct"
> 
> (nautilus:49160): Nautilus-Python-WARNING **: could not import gobject
> 
> 
> Obviously Something is getting the name of the libpython*.so wrong as it 
> should have been libpython2.4.so instead of liblibpythonpython2.4.so
> 
> If anybody could have a closer look at this i am failing to understand 
> where the double "python" is coming from.
> 

Attached patch fixes the library name but when installed nautilus fails
to start and I got tons of these errors in .xsession-errors:

(nautilus:90048): libgnomevfs-WARNING **: module
'/usr/local/lib/gnome-vfs-2.0/modules/libmapping.so' does not have init,
transform and shutfown functions; may be an out-of-date module

(nautilus:90223): libgnomevfs-WARNING **: module
'/usr/local/lib/gnome-vfs-2.0/modules/libfile.so' does not have init,
transform and shutfown functions; may be an out-of-date module

tom

-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |
| BSD#                    http://www.mono-project.com/Mono:FreeBSD |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src_nautilus-python.c
Type: text/x-patch
Size: 415 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070425/ee45ecce/patch-src_nautilus-python.bin


More information about the freebsd-gnome mailing list