Bug 85363 - Traceback when neither CUPS nor LPRng installed
Traceback when neither CUPS nor LPRng installed
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-printer (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Tim Waugh
David Lawrence
: 101909 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2003-02-28 11:16 EST by Miloslav Trmac
Modified: 2007-04-18 12:51 EDT (History)
2 users (show)

See Also:
Fixed In Version: 0.6.72-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-29 12:03:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Miloslav Trmac 2003-02-28 11:16:55 EST
Description of problem:

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1.Install redhat-config-printer without installing CUPS or LPRng
Actual results:
Traceback at /usr/share/printconf/util/cups_import.py line 195
Comment 1 Trond Eivind Glomsrød 2003-04-15 06:38:56 EDT
Here is a traceback from the released version, redhat-config-printer-0.6.47-1.
All you have to do is to not select printing while you do select configuration
tools during a custom install.

[root@dpc-21 mail]# Initializing alchemist edit environment ...
Initializing linux printing database ...
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-printer", line 12, in ?
  File "/usr/share/printconf/util/printconf_tui.py", line 2343, in
  File "/usr/share/printconf/util/printconf_tui.py", line 1975, in tui_main_run
    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 2 Bill Nottingham 2003-08-07 23:18:22 EDT
*** Bug 101909 has been marked as a duplicate of this bug. ***
Comment 3 Tim Waugh 2003-08-08 04:04:20 EDT
redhat-config-printer should require cups.

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