Bug 101909 - File "/usr/share/printconf/util/cups_import.py" : local variable 'which' referenced before assignment
Summary: File "/usr/share/printconf/util/cups_import.py" : local variable 'which' refe...
Status: CLOSED DUPLICATE of bug 85363
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: redhat-config-printer   
(Show other bugs)
Version: 1.0
Hardware: All Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-08-07 22:00 UTC by Olivier Baudron
Modified: 2007-04-18 16:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 18:58:01 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Olivier Baudron 2003-08-07 22:00:44 UTC
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 ?
  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 22:05:46 UTC
What does this say?:

/usr/sbin/alternatives --display print

Comment 2 Olivier Baudron 2003-08-07 23:50:41 UTC

Comment 3 Miloslav Trmac 2003-08-08 02:18:41 UTC
This is a duplicate of bug 85363.

Comment 4 Bill Nottingham 2003-08-08 03:18:20 UTC
So it appears.

*** This bug has been marked as a duplicate of 85363 ***

Comment 5 Red Hat Bugzilla 2006-02-21 18:58:01 UTC
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.