system-config-printer hangs or crashes when downloading Gutenprint driver package from OpenPrinting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-config-printer (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
Unassigned |
Bug Description
If there is no Gutenprint package locally installed (printer-
[Impact]
Users of smaller setups who have cleaned out less important packages or of server setups will run into this problem when connecting a printer only supported by Gutenprint (Canon inkjets and some Epson inkjets). Problem can also occur with other downloadable driver packages in the future.
[Test Case]
Uninstall printer-
sudo dpkg -P printer-
If you do not have an appropriate printer, create a file named /usr/lib/
echo 'direct usb://EPSON/
and make it world-readable and -executable:
sudo chmod a+rx /usr/lib/
This emulates an Epson Stylus Photo 1290 printer on USB, at least for CUPS' printer discovery facility.
Start system-
With the proposed packages for Utopic and Trusty this is fixed. The progress pop-up disappears and the wizard continues asking for the print queue name. Completing the wizard creates the queue which indeed uses the Gutenprint driver from OpenPrinting. In addition, the progress pop-up spins during the preparing steps of the installation, before the password is asked for.
[Regression Potential]
Regression potential is low, as the fix only affect the code for the package download and installation. All other parts of system-
tags: |
added: verification-done-utopic removed: verification-done |
Attached patch fixes the problem by simplifying the communication between system- config- printer and the install- printerdriver helper script. It is also submitted for inclusion upstream.