← Back to team overview

desktop-packages team mailing list archive

[Bug 1412722] Re: system-config-printer hangs or crashes when downloading Gutenprint driver package from OpenPrinting

 

I have done an update of my Utopic system now and got the proposed
package. Now the installation of openprinting-gutenprint works
correctly, without hang or crash.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/1412722

Title:
  system-config-printer hangs or crashes when downloading Gutenprint
  driver package from OpenPrinting

Status in system-config-printer package in Ubuntu:
  Fix Released
Status in system-config-printer source package in Trusty:
  In Progress
Status in system-config-printer source package in Utopic:
  Fix Committed

Bug description:
  If there is no Gutenprint package locally installed (printer-driver-
  gutenprint, part of standard desktop installation) and a printer
  supported by Gutenprint is connected to the system and set up, system-
  config-printer assigs the Gutenprint driver available on the
  OpenPrinting web site to the printer and downloads and installs it (if
  the user confirms on the appropriate screen). After the package is
  installed but still with the install progress pop-up open system-
  config-printer either hangs or crashes. Other driver packages get
  correctly installed though.

  [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-driver-gutenprint via

  sudo dpkg -P printer-driver-gutenprint

  If you do not have an appropriate printer, create a file named
  /usr/lib/cups/backend/testbackend containing the line

  echo 'direct usb://EPSON/Stylus%20Photo%201290 "EPSON Stylus Photo
  1290" "EPSON Stylus Photo 1290"
  "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2;MDL:Stylus Photo
  1290;CLS:PRINTER;DES:EPSON Stylus Photo 1290;" ""'

  and make it world-readable and -executable:

  sudo chmod a+rx /usr/lib/cups/backend/testbackend

  This emulates an Epson Stylus Photo 1290 printer on USB, at least for
  CUPS' printer discovery facility.

  Start system-config-printer and click the "Add" button. In the printer
  setup wizard choose the Epson Stylus Photo 1290 under the detected
  printers. There will pop up "Searching driver" messages several times
  and in the end you will get offered to download and install the
  Gutenprint driver. Accept it and a progress bar pop up will appear.
  The progress bar will not grow during the preparing steps. Then you
  get asked for your password to give the admin permissions for the
  package installation itself. The progress bar now indicates that the
  package gets installed. Near the end system-config-printer either
  hangs or crashes. Te package is installed then

  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-config-
  printer are unchanged.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1412722/+subscriptions


References