From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6)
Description of problem:
Installed Samsung CLP500 driver (CLP-500 i386 Linux Driver
(ver.1.1.2-7)). system-config-printer then fails to load. Determined
that it was an exception when parsing the output of
"/usr/sbin/alternatives --display print". On my system it returns "
link currently points to /usr/local/linuxprinter/bin/llpr" and causes
an exception when this is parsed by the line of code "which = l.split
('.').strip ()". Adding a try block which assigns a default to
"which" allows the program to continue:
f = os.popen ('/usr/sbin/alternatives --display print')
for l in f.readlines ():
if l.startswith (" link currently points to"):
which = l.split ('.').strip ()
which = "cups"
This issue occurs in three source codes:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Samsung CLP500 printer driver
2. run system-config-printer
Actual Results: Get python exceptions.
Expected Results: The configuration window should have opened.
llpr is not a spooler that system-config-printer knows how to
configure. Use the configuration tool that came with your 3rd party
I understand your point of view. But if I install any valid software
that causes a system-application to crash with an exception, its a
bug, plain and simple.
The fix above works for me. I also have a Samsung printer. The
default python code breaks all printing. The fix above allows all
printers to work, so far as I have tested. I've had this problem with
FC1 and FC3 (I skipped FC2 on this box).
I think this should work with the Fedora development code, since that section of
Python is no longer executed.