[Bug 849361] Re: Extension not working in Oneiric

Chow Loong Jin hyperair at ubuntu.com
Wed Nov 2 03:04:26 UTC 2011


** Also affects: nautilus-image-manipulator (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/849361

Title:
  Extension not working in Oneiric

Status in “nautilus-image-manipulator” package in Ubuntu:
  Fix Released
Status in “nautilus-image-manipulator” source package in Oneiric:
  New

Bug description:
  == SRU ==

  [Impact]
  Nautilus Image Manipulator does not work in Oneiric since the Nautilus extension and the program had to be upgraded to work with Nautilus 3 and PyGI/GTK+ 3. See related bug reports [0] and [1].

  [Development Fix]
  I have released a new microrelease that solely addresses this issue. N I M 0.4 is now available and I've uploaded it to Debian Unstable. The package in Precise should work out of the box when it is refreshed from Sid (along with python-nautilus). I haven't actually tested the package in Precise, but have in Debian Sid and Ubuntu Oneiric (see below).

  [Stable Fix]
  Version 0.4 is a microrelease made to address only this problem, no new functionality has been added. The changes can be reviewed in lp:nautilus-image-manipulator, r92 to r100. The code in version 0.4 is the same as the current head, i.e. r100.

  I've installed the package straight from Debian [3] and it works in
  Oneiric. There is a warning when installing the package with `dpkg`
  since there is a dependency on python-nautilus (>= 1.1) but Oneiric
  has 1.0-0ubuntu2. But the needed patch to python-nautilus [4] is
  present in the current version in Oneiric. I would need somebody to
  explain to me if the Depends line in `debian/control` needs to be
  modified to `python-nautilus (>= 1.0-0ubuntu2)` manually, or if this
  can be done automagically.

  [Test Case]
  bzr branch lp:nautilus-image-manipulator
  cd nautilus-image-manipulator
  mkdir -p ~/.local/share/nautilus-python/extensions
  cp ./nautilus_image_manipulator/nautilus-image-manipulator-extension.py ~/.local/share/nautilus-python/extensions
  sudo ln -s [FULL_PATH_TO_PWD]/bin/nautilus-image-manipulator /usr/bin
  nautilus -q && nautilus --no-desktop

  When right-clicking on an image file (or a group of files), a new
  contextual menu will appear, called "Resize images...". It launches
  Nautilus Image Manipulator.

  [Regression Potential]
  The package is currently broken in Oneiric, i.e. it can be installed from the repository but nothing will appear. No other package depend on this package, so I see very little regression potential. Consider also that Oneiric is the first release where Nautilus Image Manipulator would be available, so there is no problem like upgrading users being affected.

  [0] https://bugs.launchpad.net/ubuntu/+source/nautilus-image-manipulator/+bug/849361
  [1] https://bugs.launchpad.net/ubuntu/+source/nautilus-image-manipulator/+bug/859104
  [3] http://packages.debian.org/sid/all/nautilus-image-manipulator/download
  [4] https://bugs.launchpad.net/ubuntu/+source/nautilus-python/+bug/858925



  
  == ORIGINAL DESCRIPTION ==

  In order to fix bug #836601, the package got rebuilt so as to put the extension in the "correct" Gnome3 nautilus extension folder:
  /usr/lib/nautilus/extensions-3.0/
  Now the package is placing the extension in that folder, however the right-click menu is not displayed after restarting the session.

  According to python-nautilus' /usr/share/doc/python-nautilus/README in
  Oneiric:

  As of nautilus-python 0.7.0, scripts are also loaded from
  $XDG_DATA_DIR/nautilus-python/extensions, which includes
  ~/.local/share and /usr/share (or whatever your $XDG_DATA_DIR is set
  to).

  I also saw an example here [0] that changed the path where the extension is set to /usr/share/nautilus-python/extensions
  The last comment here [1] also mentions the use of this new folder.

  I need to investigate how the Python Nautilus extensions are supposed to work with Gnome3/nautilus-python 1.0...
  In order to test, I also installed nautilus-pastebin, and that program's extension also failed to show. There seems to be a generalized problem with Python Nautilus extensions starting with Ubuntu 11.10...

  [0] https://github.com/danielgtaylor/arista/pull/54/files
  [1] https://bugzilla.redhat.com/show_bug.cgi?id=708891

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-image-manipulator/+bug/849361/+subscriptions



More information about the Ubuntu-sponsors mailing list