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 Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/1829525

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

Status in system-config-printer package in Ubuntu:
  New

Bug description:
  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!

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to