[Bug 946718] Re: backend_helper.py crashed with RuntimeError in add_signal_receiver(): To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
Launchpad Bug Tracker
946718 at bugs.launchpad.net
Fri Oct 19 15:22:10 UTC 2012
This bug was fixed in the package update-notifier - 0.119ubuntu8.6
---------------
update-notifier (0.119ubuntu8.6) precise-proposed; urgency=low
* Tell python-dbus to use glib's mainloop so it doesn't throw an exception
(LP: #946718).
-- Michael Terry <mterry at ubuntu.com> Fri, 07 Sep 2012 09:34:15 -0400
** Changed in: update-notifier (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/946718
Title:
backend_helper.py crashed with RuntimeError in add_signal_receiver():
To make asynchronous calls, receive signals or export objects, D-Bus
connections must be attached to a main loop by passing mainloop=... to
the constructor or calling dbus.set_default_main_loop(...)
Status in “update-notifier” package in Ubuntu:
Fix Released
Status in “update-notifier” source package in Precise:
Fix Released
Bug description:
[Impact]
This is one of the top-reported bugs on error.ubuntu.com. It seems to occur when you've inserted an Ubuntu CD and started the package manager.
[Test Case]
sudo apt-get remove synaptic
/usr/lib/update-notifier/backend_helper.py add_cdrom test
[Regression Potential]
I think very low. The only affected code path is right before this crashes unconditionally anyway. So even if this screws something up, it can't make it worse. We import a module from python-dbus, but we already were using python-dbus, so dependencies and module use aren't changing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/946718/+subscriptions
More information about the foundations-bugs
mailing list