Red Hat Bugzilla – Bug 449860
Fails to install drivers after adding printer
Last modified: 2008-07-08 22:51:18 EDT
Description of problem:
When adding a new printer (HP LaserJet 2420dn) many drivers that are not
currently installed are listed. It would be preferable if after entering the
make/model the user was warned of this and told that the driver would be
downloaded as part of the device install. The troubleshooter does this but it
would be much better to not run it at all.
Version-Release number of selected component (if applicable):
Name : system-config-printer Relocations: (not relocatable)
Version : 0.7.82.3 Vendor: Fedora Project
Release : 2.fc9
Add new printer, many drivers are not installed by default
Steps to Reproduce:
1. Add new printer, even if the driver doesn't exist sys-config-printer will try
to use it.
2. Print test page, a warning will pop up that there is a problem.
3. Using the troubleshooter will locate the driver.
Actually what's meant to happen is that you should get a dialog asking to
install the package as soon as you add the printer queue.
It's quite expensive to determine whether extra packages are required for a
particular printer/driver combination, so we can't really do this check when
displaying the driver list. However, it could be done as part of the
add-printer wizard after 'Next' has been clicked.
OK, here's the reason that dialog didn't appear after installing the printer:
c2070: NOT found in /usr/bin:/bin
c2070 included in package c2070
Caught non-fatal exception. Traceback:
File "./system-config-printer.py", line 4398, in on_btnNPApply_clicked
self.checkDriverExists (name, ppd=checkppd)
File "./system-config-printer.py", line 4458, in checkDriverExists
dialog = self.InstallDialog
AttributeError: NewPrinterGUI instance has no attribute 'InstallDialog'
I've filed bug #449900 for the enhancement of performing this check before the
printer is added.
system-config-printer-0.7.82.4-1.fc9 has been submitted as an update for Fedora 9
system-config-printer-0.7.82.4-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5604
system-config-printer-0.7.82.5-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.