Red Hat Bugzilla – Bug 227936
system-config-printer unhappy when setting a default printer
Last modified: 2007-11-30 17:11:56 EST
Description of problem:
Pushing "Make Default Printer" button in "Settings" tab of
configurator resulted in:
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 1080,
if e != cups.HTTP_NOT_FOUND:
UnboundLocalError: local variable 'e' referenced before assignment
This was consistent in subsequent tries until exit.
That printer is a network located printer using built-in JetDirect server,
and Samsung ML-2250 pxlmono driver.
The queue in question is currently the only one so this happens
to be not a big issue in this configuration. Morever it appears
that the operation actually succeeded because I see in printers.conf
"DefaultPrinter" tag and after a restart "State" says: "This is
the default printer" (but this is the only one).
Version-Release number of selected component (if applicable):
Fixed in CVS. Thanks for the report!
Fixed in 0.7.51-1.fc7 for devel.
FC6 test update: 0.7.52-1.fc6.
Fixed in update: system-config-printer-0.7.52-1.fc6