[pygtk] gnome-python _gnomevfs.so error

2008-07-09 Thread Justin Hibbits
After battling the Python Gnome VFS module plugin, I've tracked the issue down
to dlopen() of _gnomevfs.so, by disassembling the code surrounding it.  I
found that it is not reading any of the Python symbols when performing the
dlopen(), so dlopen() is returning the error:

Undefine symbol: "PyType_GenericAlloc"

And likely other Python symbols will be errors as well.

This was done on FreeBSD 7.0 with latest py-gnome (gnome-python 2.22.0)

Any help on this?

Thanks,

Justin
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Gnome VFS problems

2008-07-09 Thread Justin Hibbits
When testing the example gnome-python VFS module (pyfs.py) I receive the error

Fatal Python error: could not import gnomevfs.

When I test it using the command line

%  gnomevfs-ls pyfs:///

However, running the string

python -c 'import gnomevfs'

works.  I tracked this down to the line 'from _gnomevfs import *', where it 
could not locate _gnomevfs.so.  Why can it find it when running it from the 
python interpreter, but it can't find it when running from gnomevfs-ls?  This 
does not make any sense.

Thanks,

Justin Hibbits

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/