← Back to team overview

desktop-packages team mailing list archive

[Bug 1425812] Re: config_usb_printer.py crashed with ImportError in /usr/share/hplip/base/status.py: No module named hpmudext

 

I got this bug on my box (Utopic, but with the Vivid packages of HPLIP)
and checked what I have exactly installed and all HPLIP packages
including the hpmudext packages are of version 3.15.2-0ubuntu2, so there
is no version mismatch. In addition, I have installed all binary
packages which get built from the hplip source package, so I must have
installed all files of the upstream "make install" and so no file should
be missing.

I tried also running "python3" and then on the Python command line
"import hpmudext" which works whereas running "python" (=Python 2.x) and
"import hpmudext" fails, giving the impression that something runs
accidentally under Python2.

For me it looks like that something went with the Python3 transition by
upstream, so to the HPLIP developers at HP, please check.

Note also that during the package build I modify the shebangs of .py
files from /usr/bin/python to /usr/bin/python3 to assure that everything
is running under Python3, and config_usb_printer.py has a Python3
shebang in the Ubuntu package.

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

Title:
  config_usb_printer.py crashed with ImportError in
  /usr/share/hplip/base/status.py: No module named hpmudext

Status in HP Linux Imaging and Printing:
  Incomplete
Status in hplip package in Ubuntu:
  Incomplete

Bug description:
  connected usb lasercolorprinter and crash report startet up. printer
  function well also printer output!

  ProblemType: Crash
  DistroRelease: Ubuntu 15.04
  Package: hplip-data 3.15.2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.18.0-14.15-generic 3.18.7
  Uname: Linux 3.18.0-14-generic x86_64
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  Date: Thu Feb 26 07:01:19 2015
  ExecutablePath: /usr/share/hplip/config_usb_printer.py
  InstallationDate: Installed on 2014-12-15 (72 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  InterpreterPath: /usr/bin/python2.7
  Lpstat: device for Hewlett-Packard-hp-color-LaserJet-2550-series: usb://HP/color%20LaserJet%202550%20series?serial=00CNHHB25347
  MachineType: Acer Aspire E1-572
  PackageArchitecture: all
  Papersize: a4
  PpdFiles: Hewlett-Packard-hp-color-LaserJet-2550-series: HP Color LaserJet 2550 Series Postscript (recommended)
  ProcCmdline: /usr/bin/python /usr/bin/hp-config_usb_printer 001:002
  ProcEnviron:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.18.0-14-generic root=UUID=0d5a5183-1272-4365-8413-bcfc4f7554ec ro rootflags=sync quiet splash vt.handoff=7
  PythonArgs: ['/usr/bin/hp-config_usb_printer', '001:002']
  SourcePackage: hplip
  Title: config_usb_printer.py crashed with ImportError in /usr/share/hplip/base/status.py: No module named hpmudext
  UpgradeStatus: Upgraded to vivid on 2015-02-23 (2 days ago)
  UserGroups:
   
  dmi.bios.date: 09/02/2014
  dmi.bios.vendor: Insyde Corp.
  dmi.bios.version: V2.17
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: EA50_HW
  dmi.board.vendor: Acer
  dmi.board.version: V2.17
  dmi.chassis.asset.tag: Chassis Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnInsydeCorp.:bvrV2.17:bd09/02/2014:svnAcer:pnAspireE1-572:pvrV2.17:rvnAcer:rnEA50_HW:rvrV2.17:cvnAcer:ct10:cvrChassisVersion:
  dmi.product.name: Aspire E1-572
  dmi.product.version: V2.17
  dmi.sys.vendor: Acer

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