missing dependency for python gnomevfs module

Bug #617235 reported by Bastiaan Stougie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tortoisehg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tortoisehg-nautilus

$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

I'm using KDE (it's kubuntu), not GNOME.

$ apt-cache policy tortoisehg-nautilus
tortoisehg-nautilus:
  Installed: 0.9.2-1ubuntu1
  Candidate: 0.9.2-1ubuntu1
  Version table:
 *** 0.9.2-1ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

- Expected:
In nautilus, I should be able to use TortoiseHG options in context menu of files in a mercurial repository.

- What happened instead:
$ nautilus
Traceback (most recent call last):
  File "/usr/lib/nautilus/extensions-2.0/python/nautilus-thg.py", line 11, in <module>
    import gnomevfs
ImportError: No module named gnomevfs

I got no tortoisehg options in nautilus when right-clicking files inside mercurial repositories.

- What fixed it for me:
Also installing the package "python-gnome2" solved this for me.

$ apt-cache policy python-gnome2
python-gnome2:
  Installed: 2.28.0-1ubuntu1
  Candidate: 2.28.0-1ubuntu1
  Version table:
 *** 2.28.0-1ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ dpkg -L python-gnome2 | grep gnomevfs
/usr/lib/pyshared/python2.6/gtk-2.0/gnomevfs
/usr/lib/pyshared/python2.6/gtk-2.0/gnomevfs/gnomevfsbonobo.so
/usr/lib/pyshared/python2.6/gtk-2.0/gnomevfs/_gnomevfs.so
/usr/share/pyshared/gtk-2.0/gnomevfs
/usr/share/pyshared/gtk-2.0/gnomevfs/__init__.py

Revision history for this message
Ludovico Cavedon (cavedon) wrote :

Uploaded to Debian. Will into Ubuntu with next fix. Thank you for taking the time to report the bug.

Changed in tortoisehg (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tortoisehg - 1.1.4-1

---------------
tortoisehg (1.1.4-1) experimental; urgency=low

  [ Max Bowsher ]
  * New upstream release.

  [ Ludovico Cavedon ]
  * Depend on mercurial << 1.8.

tortoisehg (1.1.3-1) experimental; urgency=low

  * New upstream release.
  * Add dependecy on python-gnome2 for nautilus plugin (LP: #617235).
  * Bump Standards-Version to 3.9.1.

tortoisehg (1.1.2-1) experimental; urgency=low

  * New upstream release.
 -- Ludovico Cavedon <email address hidden> Fri, 29 Oct 2010 16:40:59 +0000

Changed in tortoisehg (Ubuntu):
status: Fix Committed → Fix Released
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.