This bug was fixed in the package system-config-printer -
1.4.3+20140219-0ubuntu2.6

---------------
system-config-printer (1.4.3+20140219-0ubuntu2.6) trusty-proposed; 
urgency=medium

  * 
debian/patches/43_fix-driver-package-installation-with-install-printerdriver.patch:
    Simplified communication between system-config-printer and
    install-printerdriver helper script (LP: #1412722).
  * debian/patches/45_do-not-crash-on-licensetext-being-none.patch: Crash
    guard for displaying OpenPrinting driver record where the licensetext
    field is None (LP: #1412729).
  * debian/patches/47_support-licensetext-in-separate-url.patch: Added support
    for OpenPrinting driver records with license text linked from separate
    download URL (LP: #1412729).
  * debian/patches/50_fix-crash-in-nextnptab-if-driver-is-zero.patch: Trivial
    patch to avoid crashes when installing downloadable printer driver
    packages via OpenPrinting. These crashes were observed via the Ubuntu
    error reporting system.
 -- Till Kamppeter <till.kamppe...@gmail.com>   Tue, 20 Jan 2015 14:59:59 +0100

** Changed in: system-config-printer (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in system-config-printer source package in Utopic:
  Fix Released

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to