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 queue. Version-Release number of selected component (if applicable): system-config-printer-0.6.139-1 How reproducible: Very Steps to Reproduce: 1. Turn on ML-1710 and plug in USB cable. 2. ML-1710 is detected by hal Actual results: No print queue appears in the s-c-p Expected results: 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) Additional info: 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 '[1] 10290' is the result of clicking the 'New' icon. [root@localhost ~]# system-config-printer & [1] 10290 [root@localhost ~]# No match for USB device: mfr "Samsung" model "ML-1710" desc "" cmdset "GDI" Please report this message in Bugzilla: https://bugzilla.redhat.com/bugzilla Choose 'foomatic' as the component. Traceback (most recent call last): File "/usr/share/printconf/util/queueTree.py", line 581, in new_button_clicked self.addQueue.addQueueDruid () 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 () KeyError: 'Generic' 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 altogether. 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.