Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install redhat-config-printer without installing CUPS or LPRng
Traceback at /usr/share/printconf/util/cups_import.py line 195
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
UnboundLocalError: local variable 'which' referenced before assignment
*** Bug 101909 has been marked as a duplicate of this bug. ***
redhat-config-printer should require cups.