我在rhel3下配置打印机出错如下!
大家好:我在rhel3下配置打印机的时候,出现如下错误
#printconf-tui
......
Traceback (most recent call last):
File "/usr/sbin/printconf-tui", line 8, in ?
printconf_tui.startup_and_find_cmd()
File "/usr/share/printconf/util/printconf_tui.py", line 2347, in
startup_and_find_cmd
main.cmd_handlers()
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
what's the matter with my linux box?
best regards!
Shawn Zang 问题已经解决了!
原来是redhat的
redhat-config-printer*.rpm
redhat-config-printer-gui*.rpm
包的bug
使用最新的就没问题了!
页:
[1]