Nautilus-Python broken in Oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus-python (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== SRU ==
[Impact]
Nautilus does not works (its window is never displayed) when python-nautilus 1.0.0 and any python extension is installed
[Stable Fix]
http://
[Test Case]
bzr branch lp:nautilus-terminal
cd nautilus-terminal
mkdir ~/.local/
cp ./src/nautilus_
nautilus -q && nautilus --no-desktop
== ORIGINAL DESCRIPTION ==
- Install Python-Nautilus in Ubuntu 11.10 (beta2 in my case)
- Create the TestExtension.py [0] from the nautilus-python Reference Manual and put it in the ~/.local/
- Restart Nautilus: `killall nautilus` and `nautilus --no-desktop`.
The following Exceptions will apprear in your terminal, and no Nautilus extension will appear:
emilien@
** (nautilus:6258): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged
Traceback (most recent call last):
File "/usr/lib/
from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))
(nautilus:6258): Nautilus-
Traceback (most recent call last):
File "/home/
from gi.repository import GObject
File "/usr/lib/
from ._gi import _API, Repository
ImportError: cannot import name _API
It is thus not possible to create a Nautilus extension using Python starting with Ubuntu 11.10. I came to this conclusion while trying to fix Bug #849361. Please give directions on how to build such an extension from Python, using Nautilus-Python 1.0.
Related branches
tags: | added: regression-proposed |
description: | updated |
tags: | added: patch patch-accepted-upstream |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.