[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(...)

jayantha silva 946718 at bugs.launchpad.net
Fri May 31 05:59:30 UTC 2013


** Changed in: update-notifier (Ubuntu)
     Assignee: martin  dejesus jr (mdjesus918) => jayantha silva (samadhiizumee)

-- 
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