Red Hat Bugzilla – Bug 165328
Samsung ML-1710 no longer appearing in print queue on hotplug
Last modified: 2007-11-30 17:11:11 EST
Description of problem:
Up until a few days ago (so August 3) when I plugged the USB cable for my
Samsung ML-1710 into my laptop, a print queue was created to which I could
print. Sometimes this involved restarting the applications to see the printer,
and sometimes it involved editing the created print queue in s-c-p, but it was
always visible in s-c-p.
Today when I plug in this printer (I have no other printers to test if it's
specific to this model or not) I no longer see the printer in s-c-p.
lshal shows that printer has been detected, but it's not showing up as a print
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Turn on ML-1710 and plug in USB cable.
2. ML-1710 is detected by hal
No print queue appears in the s-c-p
A print queue should appear. Apps that are already open should be able to print
to this printer. If the printer has been declared the default printer before it
should become the default printer again. (I know the last two aren't really
related, but I thought it worth mentioning them)
The first of the above has worked in the past, but no longer does. The middle
one is sporadic, the later unlikely to happen.
When you run system-config-printer and go to add a new printer, is the correct
model selected from the list automatically?
When I run s-c-p and click the New icon, the window greys and the mouse throbs
and not a lot else happens.
This I can reproduce each time.
If I run from the command line then this is what I get. The stuff after '
10290' is the result of clicking the 'New' icon.
[root@localhost ~]# system-config-printer &
[root@localhost ~]# No match for USB device:
Please report this message in Bugzilla:
Choose 'foomatic' as the component.
Traceback (most recent call last):
File "/usr/share/printconf/util/queueTree.py", line 581, in new_button_clicked
File "/usr/share/printconf/util/addQueue.py", line 277, in addQueueDruid
window = self.window.window)
File "/usr/share/printconf/util/queueTree.py", line 910, in populate_model_store
models = self.conf.foomatic.make_model_dict_dict[mfr].keys ()
I'm going to move this bug to foomatic (as described in the output) as it seems
pretty clear that this is where the bug lies (given the 'No match for USB
device' line at the top)
The problem turned out to be more fundamental than that: I'd broken the parser
Fixed in 0.6.140-1.
*** Bug 165512 has been marked as a duplicate of this bug. ***
*** Bug 165556 has been marked as a duplicate of this bug. ***
As I described which version I saw this problem on, 0.6.140-1 didn't help me at all.
Oops: separate bug (now bug #165556) is that the foomatic cache is not cleared
when system-config-printer is updated, so the bad parse data was still around.