Bug 449860 - Fails to install drivers after adding printer
Summary: Fails to install drivers after adding printer
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 449900
TreeView+ depends on / blocked
Reported: 2008-06-03 22:46 UTC by Michael Dugger
Modified: 2008-07-09 02:51 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-07-09 02:51:18 UTC
Type: ---

Attachments (Terms of Use)

Description Michael Dugger 2008-06-03 22:46:49 UTC
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     :                          Vendor: Fedora Project
Release     : 2.fc9

How reproducible:
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.

Comment 1 Tim Waugh 2008-06-04 07:32:34 UTC
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.

Comment 2 Tim Waugh 2008-06-04 07:38:58 UTC
OK, here's the reason that dialog didn't appear after installing the printer:

/usr/bin/gs: found
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'
Continuing anyway..

Comment 3 Tim Waugh 2008-06-04 08:09:44 UTC
Fixed upstream.

Comment 4 Tim Waugh 2008-06-04 08:12:00 UTC
I've filed bug #449900 for the enhancement of performing this check before the
printer is added.

Comment 5 Fedora Update System 2008-06-20 17:55:52 UTC
system-config-printer- has been submitted as an update for Fedora 9

Comment 6 Fedora Update System 2008-06-22 20:44:12 UTC
system-config-printer- 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

Comment 7 Fedora Update System 2008-07-09 02:51:13 UTC
system-config-printer- has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

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