Comment 2 for bug 125990

Revision history for this message
Jonathan Rogers (jonner) wrote :

The nautilus Python module is only visible and useful from within Nautilus extensions, which is why you got the error "No module named nautilus". You can put the Python extensions in either "/usr/lib/nautilus/extensions-1.0/python/" (you missed the "s" on extensions) or "~/.nautilus/python-extensions/". To see debugging messages related to nautilus-python, set NAUTILUS_PYTHON_DEBUG=misc in the environment. For testing, I've been using the following command line after creating the directory /tmp/testing:

TMPDIR=/tmp/testing NAUTILUS_PYTHON_DEBUG=misc exec nautilus --no-desktop

If you have the Ubuntu packages python-nautilus, python-dev, and nautilus installed, Python extensions in one of the correct locations should load. However, on Feisty and Gutsy on amd64, there's a bug that prevents the extensions from doing anything useful: <URL:https://bugs.edge.launchpad.net/ubuntu/+source/nautilus-python/+bug/145811>