← Back to team overview

desktop-packages team mailing list archive

[Bug 1448794] Re: hp-plugin needs /usr/bin/python to point to python3*

 

*** This bug is a duplicate of bug 1422004 ***
    https://bugs.launchpad.net/bugs/1422004

** This bug has been marked a duplicate of bug 1422004
   pkservice.py crashed with AttributeError in __init__(): 'module' object has no attribute 'MainLoop'

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

Title:
  hp-plugin needs /usr/bin/python to point to python3*

Status in HP Linux Imaging and Printing:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in hplip package in Ubuntu:
  Confirmed

Bug description:
  After upgrading to Vivid, my HP LaserJet M1212nf MFP would not work
  anymore, and trying to install the binary driver, as prompted by the
  HPLIP utility would fail. After fiddling for a good hour, I realized
  that the utility was failing to load the python modules for hplip:

  ####
  $ gksu hp-plugin

  [ ... ]

  Uncompressing HPLIP 3.15.2 Plugin Self Extracting Archive...............................
  Error importing HPLIP modules.  Is HPLIP installed?
  ####

  I changed to /usr/bin, and noticed that python was a symlink to
  python2.7; I temporarily made it be a symlink to python3.4, and I
  managed to install the proprietary plugin for my printer. However,
  other software would crash, so I reverted to have the symlink pointing
  to the old python2.7 location.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: hplip 3.15.2-0ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-15.15-lowlatency 3.19.3
  Uname: Linux 3.19.0-15-lowlatency x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Apr 26 16:13:19 2015
  Lpstat:
   device for HP_COLOR_LaserJet: hp:/net/HP_LaserJet_200_color_M251nw?zc=NPI6A3827
   device for HP_LaserJet_Professional_M1212nf_MFP: hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ4316YPR1a
  MachineType: Gigabyte Technology Co., Ltd. Z87-D3HP
  Papersize: letter
  PpdFiles:
   HP_COLOR_LaserJet: HP LaserJet 200 color M251 Postscript (recommended)
   HP_LaserJet_Professional_M1212nf_MFP: HP LaserJet Professional m1212nf MFP, hpcups 3.15.2, requires proprietary plugin
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-lowlatency root=UUID=edc6b677-0e99-4da6-83b8-12f019053f9f ro quiet splash vt.handoff=7
  SourcePackage: hplip
  UpgradeStatus: Upgraded to vivid on 2014-04-12 (378 days ago)
  dmi.bios.date: 08/12/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F7
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z87-D3HP-CF
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF7:bd08/12/2014:svnGigabyteTechnologyCo.,Ltd.:pnZ87-D3HP:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ87-D3HP-CF:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: Z87-D3HP
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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


References