[pygtk] Gnome VFS problems

Justin Hibbits jhibbits at swapdrive.com
Sun May 11 05:30:18 WST 2008


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



More information about the pygtk mailing list