Import error with cupsext on Ubuntu 15.10

Bug #1510631 reported by Hồng Quân
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Invalid
Undecided
Till Kamppeter

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

Revision history for this message
Hồng Quân (ng-hong-quan) wrote :
Changed in hplip (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Hong Quan,
Thank you for submitting this bug and reporting a problem with hplip. You made this bug report some time ago and Ubuntu and hplip have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1510631
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and hplip better.
G
[Ubuntu Bug Squad volunteer triager]

Changed in hplip (Ubuntu):
status: New → Incomplete
Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

Please close the ticket, because I no longer have this printer and cannot test.

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Thanks for the update, Hong Quan. I will close the bug report now.
Have a great day!
:)
G

Changed in hplip (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.