This service will be undergoing maintenance at 20:00 UTC, 2017-04-03. It is expected to last about 30 minutes
Bug 101909 - File "/usr/share/printconf/util/cups_import.py" : local variable 'which' referenced before assignment
File "/usr/share/printconf/util/cups_import.py" : local variable 'which' refe...
Status: CLOSED DUPLICATE of bug 85363
Product: Red Hat Raw Hide
Classification: Retired
Component: redhat-config-printer (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-08-07 18:00 EDT by Olivier Baudron
Modified: 2007-04-18 12:56 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:58:01 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 Olivier Baudron 2003-08-07 18:00:44 EDT
version of redhat-config-printer is 0.6.69-1

# redhat-config-printer
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-printer", line 9, in ?
    import queueTree
  File "/usr/share/printconf/util/queueTree.py", line 1085, in ?
    queueTree()
  File "/usr/share/printconf/util/queueTree.py", line 128, in __init__
    if cups_import.import_needed ():
  File "/usr/share/printconf/util/cups_import.py", line 200, in import_needed
    which = which_spooler ()
  File "/usr/share/printconf/util/cups_import.py", line 195, in which_spooler
    return which
UnboundLocalError: local variable 'which' referenced before assignment
Comment 1 Tim Waugh 2003-08-07 18:05:46 EDT
What does this say?:

/usr/sbin/alternatives --display print
Comment 2 Olivier Baudron 2003-08-07 19:50:41 EDT
Nothing.
Comment 3 Miloslav Trmac 2003-08-07 22:18:41 EDT
This is a duplicate of bug 85363.
Comment 4 Bill Nottingham 2003-08-07 23:18:20 EDT
So it appears.

*** This bug has been marked as a duplicate of 85363 ***
Comment 5 Red Hat Bugzilla 2006-02-21 13:58:01 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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