OT: linux strange error

Enrique Arredondo henry at vegena.net
Tue May 25 11:18:13 PDT 2004


I'm trying to setup printers for filepro under RH 9.0 but when I run the
command I'm geting this error, I read on google newsgroups that I need to
uninstall cups and reinstall it again, and that's mayor pain for me because
samba is a dependency of cups and I don't want samba to stop working, Is
there another way to fix this ? :

------------- begin sample command ---------------------------

[root at localhost root]# redhat-config-printer
Initializing alchemist edit environment ...
Initializing linux printing database ...
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-printer", line 12, in ?
    printconf_tui.startup_and_find_cmd()
  File "/usr/share/printconf/util/printconf_tui.py", line 2345, in
startup_and_find_cmd
    main.cmd_handlers[cmd]()
  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
[root at localhost root]#

-------------------- cut here ----------------

Regards,

EA




More information about the Filepro-list mailing list