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

Bug #1829525 reported by Jesse Evers
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Confirmed
Undecided
Unassigned

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!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Maxime Accadia (maxacc) wrote :

Same issue while trying to authenticate to a smb printer.

scp-dbus-service.py crashed with TypeError: on_password_stored() missing 1 required positional argument: 'unused'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.