abrt version: 1.1.5
cmdline: python /usr/share/system-config-printer/system-config-printer.py
comment: The above because the HP LaserJet 3020 ran low on toner, but changing the toner didn't get it to print. So I wanted to delete + recreate it.
reason: authconn.py:102:set_auth_info:TypeError: Gtk.Entry.set_text() argument 1 must be string, not None
release: Fedora release 14 (Rawhide)
authconn.py:102:set_auth_info:TypeError: Gtk.Entry.set_text() argument 1 must be string, not None
Traceback (most recent call last):
File "/usr/share/system-config-printer/asyncipp.py", line 180, in prompt_auth
self._auth_handler (prompt, self._conn, method, resource)
File "/usr/share/system-config-printer/asyncipp.py", line 446, in auth_handler
d.set_auth_info ([self._user, ''])
File "/usr/share/system-config-printer/authconn.py", line 102, in set_auth_info
TypeError: Gtk.Entry.set_text() argument 1 must be string, not None
Local variables in innermost frame:
self: <AuthDialog object at 0x238ac80 (GtkDialog at 0x23c5a50)>
auth_info: [None, '']
How to reproduce
1. Deleted a networked printer
2. Started to recreate it
Created attachment 427995 [details]
If you are able to reproduce it,
can you start the program from command line
and post the output here ?
Not sure about how to reproduce it but this is happening because we left self._user as None in the AuthDialog class. We need to fill in *something* for the username field in the authentication dialog, so before calling set_auth_info we should check if it's None and, if so, set it to cups.getUser().
Sorry, but I fixed the problem that gave me this. We used to have a HP LaserJet 3020 as stated, but it was changed for a HP LaserJet M1522nf MFP. When that one ran low on toner, the toner was changed but CUPS had wedged somehow (AFAIU, it tried to inquire the toner status via whatever the old one used, and the new one didn't understand) I tried to unwedge by deleting/recreating the printer, and there it crashed. Afterwards creating the new printer worked fine.
OS Release: Fedora release 13 (Goddard)
How to reproduce
1. Started printer configuration.
2. Select add network printer
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.
More information and reason for this action is here:
system-config-printer-1.2.4-1.fc13 has been submitted as an update for Fedora 13.
system-config-printer-1.2.4-1.fc14 has been submitted as an update for Fedora 14.
system-config-printer-1.2.4-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.2.4-1.fc14
system-config-printer-1.2.4-2.fc14 has been submitted as an update for Fedora 14.
system-config-printer-1.2.4-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-1.2.4-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.