desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #112060
[Bug 1422004] Re: pkservice.py crashed with AttributeError in __init__(): 'module' object has no attribute 'MainLoop'
Installation of plugin happens through a python script which is launched
via embedded shell script in the plugin.run file. In the shell script we
specify the path of python binary as /usr/bin/python. On Ubuntu 15.04
hp-plugin runs in python3 due to updated shebang lines in top level
scripts, but installation script in plugin.run file is invoked using
/usr/bin/python which defaults to python2. SInce hplip extension code is
only installed in python3 path, installation code tries to import any
extension module it looks in the python2 path and reports ImportError.
We will fix this issue and will provide you the patch soon.
--
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/1422004
Title:
pkservice.py crashed with AttributeError in __init__(): 'module'
object has no attribute 'MainLoop'
Status in HP Linux Imaging and Printing:
New
Status in hplip package in Ubuntu:
Confirmed
Bug description:
Crash on startup
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: hplip-data 3.15.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
Uname: Linux 3.16.0-22-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CupsErrorLog: E [14/Feb/2015:19:56:52 +0100] Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address.
Date: Sat Feb 14 05:59:51 2015
ExecutablePath: /usr/share/hplip/pkservice.py
InstallationDate: Installed on 2014-05-08 (282 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
InterpreterPath: /usr/bin/python3.4
Lpstat:
device for HP-Deskjet-1000-J110-series: usb://HP/Deskjet%201000%20J110%20series?serial=CN33A18VXG05YD
device for PDF: cups-pdf:/
MachineType: Acer Aspire 5943G
PackageArchitecture: all
Papersize: a4
PpdFiles:
HP-Deskjet-1000-J110-series: HP Deskjet 1000 j110 Series, hpcups 3.15.2
PDF: Generic CUPS-PDF Printer
ProcCmdline: /usr/bin/python3 /usr/bin/hp-pkservice
ProcEnviron:
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-22-generic root=UUID=e9be64c9-5b7e-438a-ac82-6b89bf946a86 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/bin/hp-pkservice']
SourcePackage: hplip
Title: pkservice.py crashed with AttributeError in __init__(): 'module' object has no attribute 'MainLoop'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 10/21/2010
dmi.bios.vendor: Acer
dmi.bios.version: V1.15
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire 5943G
dmi.board.vendor: Acer
dmi.board.version: V1.15
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.15
dmi.modalias: dmi:bvnAcer:bvrV1.15:bd10/21/2010:svnAcer:pnAspire5943G:pvrV1.15:rvnAcer:rnAspire5943G:rvrV1.15:cvnAcer:ct10:cvrV1.15:
dmi.product.name: Aspire 5943G
dmi.product.version: V1.15
dmi.sys.vendor: Acer
To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1422004/+subscriptions