Public bug reported:

I'm on Ubuntu 18.04.2, system-config-printer 1.5.11-1ubuntu2.

When I tried to authenticate a print job, and provided incorrect auth
info, system-config-printer crashed, and the bug report dialog said the
issue was a TypeError in on_password_stored(), because
on_password_stored() was missing its last positional argument `unused`.

I did some digging, and I think I was able to fix the problem by
changing the function definition of on_password_stored() on line 135 of
jobviewer.py, so that the parameter `unused` was given a default value
of None. I'd want someone else to verify that fix, though -- I'm not
100% confident in it.

Thanks!

** Affects: system-config-printer (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  system-config-printer.py crashed with TypeError in
  on_password_stored()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1829525/+subscriptions

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

Reply via email to