← Back to team overview

desktop-packages team mailing list archive

[Bug 1366756] Re: system-config-printer.py crashed with FileNotFoundError in _execute_child(): [Errno 2] Datei oder Verzeichnis nicht gefunden: 'gpk-install-package-name'

 

** Description changed:

  Adding an SMB-Printserver, the app crashed.
+ 
+ [Note]
+ 
+ The crash is fixed in Utopic but the installation of smbclient triggered
+ by system-config-printer still does not work.
+ 
+ [Impact]
+ 
+ If a user has the default installation of Ubuntu and sets up a print
+ queue to print on an SMB-shared (usually Windows servers) remote
+ printer, the steps for setting up the queue are correctly done but the
+ queue is not finally created as the SMB CUPS backend is missing.So the
+ user will not be able to print on Windows-shared printers if he does not
+ install the "smbclient" package manually.
+ 
+ [Test Case]
+ 
+ Take an absolutely standard installation of Utopic (or uninstall
+ smbclient) and try to set up a remote printer which is shared by Windows
+ server. As system-config-printer does not install the smbclient package
+ (which contains the SMB CUPS backend) you will not be able to finish the
+ setup of the print queue.
+ 
+ With the proposed package this gets fixed as there the package
+ installation facility is fixed.
+ 
+ [Regression Potential]
+ 
+ Low, as the changes are only in the code which gets used when the
+ presence/absence of the SMB backend is actually checked and the package
+ installation done in case of absence. If the installation fails for some
+ reason, system-config-printer will not crash.
  
  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: system-config-printer-gnome 1.5.1+20140906-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2
  Uname: Linux 3.16.0-14-generic i686
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: i386
  CrashCounter: 1
  CupsErrorLog:
-  
+ 
  CurrentDesktop: GNOME
  Date: Mon Sep  8 13:04:48 2014
  ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
  InstallationDate: Installed on 2014-09-02 (5 days ago)
  InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha i386 (20140826)
  InterpreterPath: /usr/bin/python3.4
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
  MachineType: Hewlett-Packard HP ProBook 6450b
  PackageArchitecture: all
  Papersize: a4
  ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=de_DE.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=de_DE.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-14-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7
  PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
  SourcePackage: system-config-printer
  Title: system-config-printer.py crashed with FileNotFoundError in _execute_child(): [Errno 2] Datei oder Verzeichnis nicht gefunden: 'gpk-install-package-name'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 01/11/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68CDE Ver. F.06
  dmi.board.name: 146D
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 73.13
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68CDEVer.F.06:bd01/11/2011:svnHewlett-Packard:pnHPProBook6450b:pvr:rvnHewlett-Packard:rn146D:rvrKBCVersion73.13:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP ProBook 6450b
  dmi.sys.vendor: Hewlett-Packard

** Also affects: system-config-printer (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Changed in: system-config-printer (Ubuntu Utopic)
   Importance: Undecided => High

** Changed in: system-config-printer (Ubuntu Utopic)
       Status: New => Triaged

-- 
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/1366756

Title:
  system-config-printer.py crashed with FileNotFoundError in
  _execute_child(): [Errno 2] Datei oder Verzeichnis nicht gefunden:
  'gpk-install-package-name'

Status in “system-config-printer” package in Ubuntu:
  Fix Released
Status in “system-config-printer” source package in Utopic:
  Triaged

Bug description:
  Adding an SMB-Printserver, the app crashed.

  [Note]

  The crash is fixed in Utopic but the installation of smbclient
  triggered by system-config-printer still does not work.

  [Impact]

  If a user has the default installation of Ubuntu and sets up a print
  queue to print on an SMB-shared (usually Windows servers) remote
  printer, the steps for setting up the queue are correctly done but the
  queue is not finally created as the SMB CUPS backend is missing.So the
  user will not be able to print on Windows-shared printers if he does
  not install the "smbclient" package manually.

  [Test Case]

  Take an absolutely standard installation of Utopic (or uninstall
  smbclient) and try to set up a remote printer which is shared by
  Windows server. As system-config-printer does not install the
  smbclient package (which contains the SMB CUPS backend) you will not
  be able to finish the setup of the print queue.

  With the proposed package this gets fixed as there the package
  installation facility is fixed.

  [Regression Potential]

  Low, as the changes are only in the code which gets used when the
  presence/absence of the SMB backend is actually checked and the
  package installation done in case of absence. If the installation
  fails for some reason, system-config-printer will not crash.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: system-config-printer-gnome 1.5.1+20140906-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2
  Uname: Linux 3.16.0-14-generic i686
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: i386
  CrashCounter: 1
  CupsErrorLog:

  CurrentDesktop: GNOME
  Date: Mon Sep  8 13:04:48 2014
  ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
  InstallationDate: Installed on 2014-09-02 (5 days ago)
  InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha i386 (20140826)
  InterpreterPath: /usr/bin/python3.4
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
  MachineType: Hewlett-Packard HP ProBook 6450b
  PackageArchitecture: all
  Papersize: a4
  ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-14-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7
  PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
  SourcePackage: system-config-printer
  Title: system-config-printer.py crashed with FileNotFoundError in _execute_child(): [Errno 2] Datei oder Verzeichnis nicht gefunden: 'gpk-install-package-name'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 01/11/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68CDE Ver. F.06
  dmi.board.name: 146D
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 73.13
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68CDEVer.F.06:bd01/11/2011:svnHewlett-Packard:pnHPProBook6450b:pvr:rvnHewlett-Packard:rn146D:rvrKBCVersion73.13:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP ProBook 6450b
  dmi.sys.vendor: Hewlett-Packard

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