GNOME Bugzilla – Bug 658288
calling Notify.Notification.add_action via introspection aborts Python
Last modified: 2014-01-08 17:55:24 UTC
The following fragment of Python code attempts to add a notification action, but aborts the Python engine with an assertion failure in the Notify.Notification.add_action call: from gi.repository import Notify Notify.init('Bug Demonstration') def callback(*args): pass note = Notify.Notification() note.add_action('action', 'Label', callback, None, None) # abort here The assertion failure prints the following diagnostic output: ** ERROR:pygi-argument.c:1021:_pygi_argument_from_object: code should not be reached Bug 635169 comment #1 briefly mentions this same problem. Although that bug was eventually mark resolved/fixed, it seems that this particular problem has still not been addressed. I'm working on a Fedora 15 system with the following possibly-relevant packages installed: gobject-introspection-0.10.8-1.fc15.i686 libffi-3.0.9-2.fc15.i686 libnotify-0.7.3-1.fc15.i686 pygobject2-2.28.6-1.fc15.i686
It seems this may have been fixed. I am no longer able to reproduce the problem on a Fedora 16 system with: gobject-introspection-1.30.0-1.fc16.i686 libffi-3.0.10-1.fc16.i686 libnotify-0.7.4-1.fc16.i686 pygobject2-2.28.6-2.fc16.i686 Should I mark this as RESOLVED?
Mass-fixing incorrect Default Assignee and QA contact scheme for libnotify so interested people can follow its development. (See 606365#c1 for ref.)
Verified this now works.