The GObject.set_data and GObject.get_data method bindings were removed
from PyGObject 3.3.1 release[1] because "They will basically cause a
crash if misused" [2]

I attached a patch that uses traditional python object attributes
instead of GObject attributes. The patch fixes this bug, #1009151 and
similar crashes occuring in ReleaseNotesViewer.py.

[1] https://mail.gnome.org/archives/gnome-announce-list/2012-April/msg00048.html
[2] https://bugzilla.gnome.org/show_bug.cgi?id=641944

** Bug watch added: GNOME Bug Tracker #641944
   https://bugzilla.gnome.org/show_bug.cgi?id=641944

** Attachment added: "fix-for-1009151-and-1009859"
   
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1009859/+attachment/3182161/+files/fix-for-1009151-and-1009859

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009859

Title:
  update-manager crashed with AttributeError in check_hovering():
  'TextTag' object has no attribute 'get_data'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1009859/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to