← Back to team overview

desktop-packages team mailing list archive

[Bug 1510631] [NEW] Import error with cupsext on Ubuntu 15.10

 

Public bug reported:

One Ubuntu 15.10, some commands /usr/bin/hp-* fail with ImportError: No
module named cupsext.

In /usr/lib/python3/dist-packages/ folder, there exists cupsext.cpython-
34m-x86_64-linux-gnu.so but not cupsext.so.

That is why importing failed.

My workaround: http://quan.hoabinh.vn/blog/2015/10/23-issue-after-
upgrading-to-ubuntu-15-10

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: hplip 3.15.7-0ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 28 00:52:14 2015
InstallationDate: Installed on 2015-10-23 (4 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
Lpstat: device for HP-LaserJet-Professional-M1132-MFP: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH9ELAQPR1a
MachineType: Hewlett-Packard HP 15 Notebook PC
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP-LaserJet-Professional-M1132-MFP.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP-LaserJet-Professional-M1132-MFP.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic.efi.signed root=UUID=cddc847d-9263-4819-b1a9-1317989bdfbf ro noprompt quiet splash vt.handoff=7
SourcePackage: hplip
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/17/2014
dmi.bios.vendor: Insyde
dmi.bios.version: F.10
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 21BC
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 39.15
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.10:bd03/17/2014:svnHewlett-Packard:pnHP15NotebookPC:pvr0975100000005F10000600087:rvnHewlett-Packard:rn21BC:rvr39.15:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP 15 Notebook PC
dmi.product.version: 0975100000005F10000600087
dmi.sys.vendor: Hewlett-Packard

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

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

Title:
  Import error with cupsext on Ubuntu 15.10

Status in hplip package in Ubuntu:
  New

Bug description:
  One Ubuntu 15.10, some commands /usr/bin/hp-* fail with ImportError:
  No module named cupsext.

  In /usr/lib/python3/dist-packages/ folder, there exists cupsext
  .cpython-34m-x86_64-linux-gnu.so but not cupsext.so.

  That is why importing failed.

  My workaround: http://quan.hoabinh.vn/blog/2015/10/23-issue-after-
  upgrading-to-ubuntu-15-10

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: hplip 3.15.7-0ubuntu4
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Oct 28 00:52:14 2015
  InstallationDate: Installed on 2015-10-23 (4 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  Lpstat: device for HP-LaserJet-Professional-M1132-MFP: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH9ELAQPR1a
  MachineType: Hewlett-Packard HP 15 Notebook PC
  Papersize: a4
  PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP-LaserJet-Professional-M1132-MFP.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP-LaserJet-Professional-M1132-MFP.ppd: Permission denied
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic.efi.signed root=UUID=cddc847d-9263-4819-b1a9-1317989bdfbf ro noprompt quiet splash vt.handoff=7
  SourcePackage: hplip
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/17/2014
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.10
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: 21BC
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 39.15
  dmi.chassis.asset.tag: Chassis Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnInsyde:bvrF.10:bd03/17/2014:svnHewlett-Packard:pnHP15NotebookPC:pvr0975100000005F10000600087:rvnHewlett-Packard:rn21BC:rvr39.15:cvnHewlett-Packard:ct10:cvrChassisVersion:
  dmi.product.name: HP 15 Notebook PC
  dmi.product.version: 0975100000005F10000600087
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1510631/+subscriptions


Follow ups