QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 620|回复: 1

我在rhel3下配置打印机出错如下!

[复制链接]
发表于 2005-4-27 09:07:46 | 显示全部楼层 |阅读模式
大家好:
      我在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[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

what's the matter with my linux box?
best regards!

Shawn Zang
 楼主| 发表于 2005-4-27 20:17:52 | 显示全部楼层
问题已经解决了!
原来是redhat的
redhat-config-printer*.rpm
redhat-config-printer-gui*.rpm
包的bug
使用最新的就没问题了!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 06:31 , Processed in 0.038648 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表