LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2003, 09:16 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Angry 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 .
 
Old 09-30-2003, 09:30 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Try launching "printconf" in a terminal window. What distrobution are you running?

-K
 
Old 09-30-2003, 09:32 PM   #3
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
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
 
Old 09-30-2003, 09:40 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups error: "error-client-not-possible MAGOVIA Linux - Newbie 4 06-18-2005 11:44 PM
CUPS error: client-error-not-possible bru Debian 2 02-11-2005 12:54 AM
cups Error "CUPS daemon has died" susesarus Linux - Software 2 08-21-2004 03:43 PM
automake error/make doesn't work anymore deadlove75 Linux - Software 0 06-22-2004 06:03 PM
cups error 32 bryanl Linux - General 1 02-23-2004 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration