LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CUPS error.....I'm really not having fun anymore (https://www.linuxquestions.org/questions/linux-newbie-8/cups-error-im-really-not-having-fun-anymore-98817/)

glenn69 09-30-2003 09:16 PM

CUPS error.....I'm really not having fun anymore
 
I have been trying to get my stupid printer to print.
I have no idea what the heck CUPS is...I think I'm supposed to have it though.
When I try to access printconf-gui I get this display

[root@localhost glenn]# printconf-gui &
[1] 4137
[root@localhost glenn]# Traceback (most recent call last):
File "/usr/sbin/printconf-gui", line 7, in ?
import queueTree
File "/usr/share/printconf/util/queueTree.py", line 929, in ?
queueTree()
File "/usr/share/printconf/util/queueTree.py", line 101, in __init__
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 does it all mean ??????
I'm gonna cry now .

KevinJ 09-30-2003 09:30 PM

Try launching "printconf" in a terminal window. What distrobution are you running?

-K

glenn69 09-30-2003 09:32 PM

I did that (RH 9)...this is what the screen reads.

[glenn@localhost glenn]$ printconf
Traceback (most recent call last):
File "/usr/sbin/printconf", line 9, in ?
import queueTree
File "/usr/share/printconf/util/queueTree.py", line 929, in ?
queueTree()
File "/usr/share/printconf/util/queueTree.py", line 101, in __init__
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

KevinJ 09-30-2003 09:40 PM

Hrmm... I suggest removing and reinstalling the "redhat-config-printer" rpm.

rpm -e redhat-config-printer

then from your install sources ....


rpm -ivh redhat-config-printer.......

-K


All times are GMT -5. The time now is 04:30 PM.