Bug 195931 - hang when trying to edit printer from previous Fedora
Summary: hang when trying to edit printer from previous Fedora
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-19 18:30 UTC by Andrew
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-20 13:29:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew 2006-06-19 18:30:40 UTC
Description of problem:
I upgraded to Fedora Core 5, and now when I try to edit a printer defined in a 
previous Fedora Core (version 4, I think), system-config-printer hangs.

Version-Release number of selected component (if applicable):
system-config-printer-0.6.151.7-1


How reproducible:
Always

Steps to Reproduce:
1. Define a printer "foo" in Fedora Core 4.
2. Upgrade to Fedora Core 5.
3. Run system-config-printer
4. Click the printer "foo" to select it
5. Click the "Edit" button
  
Actual results:
GUI hangs and console shows these messages:
The printer HP LaserJet 2420 (PPD) (ID: ppd2) is not supported by the driver ppd!
Couldn't load driver information.
Traceback (most recent call last):
  File "/usr/share/printconf/util/queueTree.py", line 600, in edit_button_clicked
    if self.editQueue.editQueueDialog (iter):
  File "/usr/share/printconf/util/editQueue.py", line 421, in editQueueDialog
    self.queue)
  File "/usr/share/printconf/util/queueTree.py", line 849, in
populate_mfr_optionmenu
    mfr = self.conf.foomatic.id_dict[id].make
KeyError: 'ppd2'


Expected results:
That it works. :)

Additional info:
In the previous Fedora Core, I could edit the printer.  Also, now I can edit
newly-defined printers.

Comment 1 Tim Waugh 2006-06-20 13:29:36 UTC
Hmm, looks like you need to import the PPD again.  That's unfortunate. :-((

At least in Fedora Core 6 onwards this will not be a problem, however, since we
now configure CUPS directly rather than indirectly through foomatic.


Note You need to log in before you can comment on or make changes to this bug.