Unable to find the nautilus module

Bug #125990 reported by keyes
4
Affects Status Importance Assigned to Milestone
nautilus-python (Ubuntu)
New
Undecided
Unassigned

Bug Description

Putting examples scripts in /usr/lib/nautilus/extension-1.0/python do nothing.

The "nautilus" is not found by the Python interpreter:

In [1]: import nautilus
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)

/home/keyes/<ipython console> in <module>()

<type 'exceptions.ImportError'>: No module named nautilus

I have the python2.4-dev package installed.
Someone have got nautilus-python working on Feisty ?

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

Did you install the python-nautilus package? I have it installed on Gutsy and I'm not getting the error message you did. However, I'm seeing neither messages from the python extensions nor any effect on nautilus.

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>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.