meld doesn't work (requires pygtk 2.8.0 or higher)

Bug #579487 reported by khink
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
meld (Debian)
Fix Released
Unknown
meld (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Installing meld using apt-get yields:

$ sudo apt-get install meld
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  meld
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/675kB of archives.
After this operation, 2,359kB of additional disk space will be used.
Selecting previously deselected package meld.
(Reading database ... 224394 files and directories currently installed.)
Unpacking meld (from .../meld_1.3.0-2ubuntu1_all.deb) ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Setting up meld (1.3.0-2ubuntu1) ...

$ meld
No module named pygtk
Meld requires pygtk 2.8.0 or higher.

$ sudo apt-get install python-gtk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-gtk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package python-gtk has no installation candidate
$ sudo apt-get install python-gtk2
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gtk2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Tags: patch
Revision history for this message
Victor Vargas (kamus) wrote :

I have reassigned for you this issue to meld package

affects: ubuntu → meld (Ubuntu)
Revision history for this message
Felix Geyer (debfx) wrote :

What version of python-gtk2 do you have installed?

Revision history for this message
khink (kees-fmf) wrote :

$ dpkg -l | grep python-gtk2
ii python-gtk2 2.17.0-0ubuntu2 Python bindings for the GTK+ widget set

Revision history for this message
Felix Geyer (debfx) wrote :

The pygtk module seems to be in the python-gobject package.
Is that package correctly installed and up-to-date?

If so please reinstall both packages and see if meld works and the file
/usr/lib/pymodules/python2.6/pygtk.py exists.

Revision history for this message
khink (kees-fmf) wrote :

It was there, and up-to-date. I reinstalled both, and the file you mention exists.

$ sudo apt-get install python-gobject
[sudo] password for kees:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gobject is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install --reinstall python-gobject
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 241kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main python-gobject 2.21.1-0ubuntu3 [241kB]
Fetched 241kB in 0s (536kB/s)
(Reading database ... 224528 files and directories currently installed.)
Preparing to replace python-gobject 2.21.1-0ubuntu3 (using .../python-gobject_2.21.1-0ubuntu3_amd64.deb) ...
Unpacking replacement python-gobject ...
Processing triggers for python-support ...
Setting up python-gobject (2.21.1-0ubuntu3) ...

Processing triggers for python-support ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
$ sudo apt-get install --reinstall python-gt
python-gtask python-gtk2-doc python-gtkmvc
python-gtk python-gtk2-tutorial python-gtkmvc-doc
python-gtk-1.2 python-gtkglext1 python-gtksourceview2
python-gtk2 python-gtkhtml2 python-gtkspell
python-gtk2-dbg python-gtkhtml2-dbg python-gtk-vnc
python-gtk2-dev python-gtkmozembed python-gtop
$ sudo apt-get install --reinstall python-gtk2
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 895kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main python-gtk2 2.17.0-0ubuntu2 [895kB]
Fetched 895kB in 0s (920kB/s)
(Reading database ... 224528 files and directories currently installed.)
Preparing to replace python-gtk2 2.17.0-0ubuntu2 (using .../python-gtk2_2.17.0-0ubuntu2_amd64.deb) ...
Unpacking replacement python-gtk2 ...
Processing triggers for python-support ...
Setting up python-gtk2 (2.17.0-0ubuntu2) ...

Processing triggers for python-support ...
$ ls -l /usr/lib/pymodules/python2.6/pygtk.py
lrwxrwxrwx 1 root root 28 2010-05-13 16:08 /usr/lib/pymodules/python2.6/pygtk.py -> /usr/share/pyshared/pygtk.py
$ meld
No module named pygtk
Meld requires pygtk 2.8.0 or higher.

Revision history for this message
khink (kees-fmf) wrote :

On my desktop, however, meld works. (The above report is for my laptop.)

Revision history for this message
khink (kees-fmf) wrote :

On my desktop (where meld does work), i have the same python-gtk2 version.

kees@janos:~$ dpkg -l | grep python-gtk2
ii python-gtk2 2.17.0-0ubuntu2 Python bindings for the GTK+ widget set
ii python-gtk2-dbg 2.17.0-0ubuntu2 Python bindings for the GTK+ widget set (deb
kees@janos:~$

Changed in meld (Ubuntu):
status: New → Confirmed
Revision history for this message
Marco Mariani (birbag) wrote :

The shebang is #/usr/bin/env python

so if you are developing in a virtualenv, meld doesn't work.

tags: added: patch
Revision history for this message
Adam Collard (adam-collard) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Maverick Meerkat. It won't be fixed in previous versions of Ubuntu because the package doesn't fit the requirements for backporting. See https://help.ubuntu.com/community/UbuntuBackports for more information.

Changed in meld (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Andrew (andrew-rw-robinson) wrote :

How can one break a package in Lucid, so that it is completely non-functional and then say it will not be backported?

Changed in meld (Debian):
status: Unknown → 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.