Bug 227936 - system-config-printer unhappy when setting a default printer
system-config-printer unhappy when setting a default printer
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks: FC6Update
  Show dependency treegraph
 
Reported: 2007-02-08 18:16 EST by Michal Jaegermann
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 0.7.52-1.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-15 04:55:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2007-02-08 18:16:33 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,
in on_btnPMakeDefault_clicked
    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):
system-config-printer-0.7.50-1.fc7

How reproducible:
see above
Comment 1 Tim Waugh 2007-02-09 05:00:26 EST
Fixed in CVS.  Thanks for the report!
Comment 2 Tim Waugh 2007-02-09 11:16:12 EST
Fixed in 0.7.51-1.fc7 for devel.
Comment 3 Tim Waugh 2007-02-13 08:23:28 EST
FC6 test update: 0.7.52-1.fc6.
Comment 4 Fedora Update System 2007-02-14 15:00:32 EST
Fixed in update: system-config-printer-0.7.52-1.fc6

Note You need to log in before you can comment on or make changes to this bug.