After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693812 - crash in HistoryFileEntry
crash in HistoryFileEntry
Status: RESOLVED DUPLICATE of bug 694108
Product: meld
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-14 15:26 UTC by Marc Deslauriers
Modified: 2013-02-19 13:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc Deslauriers 2013-02-14 15:26:40 UTC
meld crashed with TypeError in <lambda>(): <HistoryFileEntry object at 0x1e58960 (HistoryFileEntry at 0x1f08540)>: unknown signal name: changed

See downstream bug report:

https://bugs.launchpad.net/ubuntu/+source/meld/+bug/1103170
Comment 1 Kai Willadsen 2013-02-16 02:19:49 UTC
Unfortunately the downstream report doesn't make a lot of sense. HistoryEntry definitely has a changed signal, as it's a gtk.ComboBoxEntry, as does HistoryFileEntry, as it's a gtk.Editable. This code hasn't changed in any recent release, so either something weird has broken in Ubuntu's pygtk package, or there's a lot of missing backtrace. I'm sorry, but I'm going to need more to go on here.
Comment 2 Marc Deslauriers 2013-02-18 16:37:58 UTC
Here's what I see when running meld from the command line:

/usr/lib/python2.7/dist-packages/gobject/__init__.py:115: Warning: attempting to add an interface (GtkEditable) to class (HistoryFileEntry) after class_init
  type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
  • File "/usr/lib/meld/meld/ui/historyentry.py", line 277 in <lambda>
    entry.connect("changed", lambda *args: self.emit("changed"))
TypeError: <HistoryFileEntry object at 0x2babc30 (HistoryFileEntry at 0x2bbcab0)>: unknown signal name: changed
Traceback (most recent call last):
  File "/usr/lib/meld/meld/ui/historyentry.py", line 277, in <lambda>
    entry.connect("changed", lambda *args: self.emit("changed"))
TypeError: <HistoryFileEntry object at 0x2babaf0 (HistoryFileEntry at 0x2b6a450)>: unknown signal name: changed

The first warning looks suspicious, and seems related to:
http://blogs.gnome.org/desrt/2012/11/05/a-warning-about-glib/
Comment 3 Martin Pitt 2013-02-19 13:32:48 UTC
This is because pygtk doesn't currently get along with glib 2.35.x, duping.

*** This bug has been marked as a duplicate of bug 694108 ***
Comment 4 Martin Pitt 2013-02-19 13:33:22 UTC
Aside from that, pygtk has been obsolete for many years now -- it's really high time to port programs to GTK3 and GI!