** Description changed:

  Binary package hint: system-config-printer
  
  system-config-printer crashes when connect to cupsys fails. The
  RuntimeError is caught but the exception handler is buggy:
  
  /usr/share/system-config-printer/system-config-printer.py:1567
          self.lblError.set_markup('<span weight="bold" size="larger">' +
                                   _("Error") + '</span>\n\n' +
                                   _("There was a problem connecting to "
                                    "the CUPS server."))
          self.ErrorDialog.set_transient_for()
          self.ErrorDialog.run()
          self.ErrorDialog.hide()
          sys.exit (1)
  
- set_transient_for() needs a parameter, i.e. a widget like a window.
+ The set_transient_for() is invalid as it needs a parameter, so
+ self.ErrorDialog.set_transient_for(self.MainWindow) would be correct.

-- 
system-config-printer crashes when connect to cupsys fails
https://bugs.launchpad.net/bugs/148013
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to