Bug#486580: system-config-printer: Can't change printer settings
Sam Morris
sam at robots.org.uk
Mon Jun 16 23:15:06 UTC 2008
On Tue, 2008-06-17 at 00:04 +0100, Sam Morris wrote:
> When trying to change the description of a printer, after pressing OK I
> am prompted to authenticate. After I do so, system-config-printer locks
> up, but in a strange way: controls on the screen still operate, but the
> OK/Cancel buttons do nothing.
>
> The console contains the following message:
>
> Traceback (most recent call last):
> File "/usr/share/system-config-printer/contextmenu.py", line 115, in on_printer_context_edit_activate
> self.parent.dests_iconview_item_activated (self.iconview, self.paths[0])
> File "/usr/bin/system-config-printer", line 562, in dests_iconview_item_activated
> if not self.save_printer (self.printer):
> File "/usr/bin/system-config-printer", line 1293, in save_printer
> printer.setJobSheets(job_sheet_start, job_sheet_end)
> File "/var/lib/python-support/python2.5/cupsutils/cupshelpers.py", line 211, in setJobSheets
> self.connection.setPrinterJobSheets(self.name, start, end)
> File "/usr/share/system-config-printer/authconn.py", line 124, in <lambda>
> return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
> File "/usr/share/system-config-printer/authconn.py", line 130, in _authloop
> result = fn.__call__ (*args, **kwds)
> TypeError: string or unicode object required
More info: I can close the printer-specific settings window with the
window manager's close button, but trying to do anything back in the
main system-config-printer window causes the following to be printed:
Traceback (most recent call last):
File "/usr/bin/system-config-printer", line 543, in dests_iconview_item_activated
self.fillPrinterTab (name)
File "/usr/bin/system-config-printer", line 1684, in fillPrinterTab
self.updatePrinterProperties ()
File "/usr/bin/system-config-printer", line 1717, in updatePrinterProperties
self.setPUsers(printer.except_users)
File "/usr/bin/system-config-printer", line 1018, in setPUsers
model.clear()
AttributeError: 'NoneType' object has no attribute 'clear'
--
Sam Morris <sam at robots.org.uk>
More information about the pkg-gnome-maintainers
mailing list