desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #118858
[Bug 1422004] Re: pkservice.py crashed with AttributeError in __init__(): 'module' object has no attribute 'MainLoop'
I haven't tweaked my repos at all, but I'm not getting the updated
paackage:
(sudo apt-get update trimmed for brevity.)
09:31:10::mlissner@pounamu::~/Programming/intellij/courtlistener
↪ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libyelp0 yelp
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
09:31:15::mlissner@pounamu::~/Programming/intellij/courtlistener
↪ sudo hp-setup
HP Linux Imaging and Printing System (ver. 3.15.2)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Searching... (bus=usb, search=(None), desc=0)
error: The printer you are trying to setup requires a binary driver plug-in and it failed to install. Please check your internet connection and try again. Visit http://hplipopensource.com for more infomation.
Done.
09:31:48::mlissner@pounamu::~/Programming/intellij/courtlistener
↪ dpkg -l hplip
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-==========================-==========================-=========================================================================================
ii hplip 3.15.2-0ubuntu4 amd64 HP Linux Printing and Imaging System (HPLIP)
Again, I haven't tweaked the repos and this is a fresh(ish) install of
Vivid.
Thanks.
--
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:
Fix Committed
Status in hplip package in Ubuntu:
Fix Released
Status in hplip source package in Vivid:
Fix Committed
Bug description:
If an HP printer needs HPLIP with HP's proprietary plug-in (firmware
files for printers, proprietary driver code pieces for printing and/or
scanning) the automatically initiated installation of the plug-in
fails and causes crash reports, leading to crash report pop-ups and
non-working printing and scanning functionality. The problem is caused
by the switchover from Python2 to Python3 in Vivid, especially also
that the Python3 executable is named "python3" and not "python".
If the crash happens shortly before shutdown or reboot the pop-up can
appear right after log-in.
[Impact]
All Vivid users who use a printer or multi-function device which needs
HP's proprietary plug-in get crash pop-ups and their devices will not
completely work or not work at all.
[Test Case]
Connect an HP printer or multi-function device which needs the plug-in
(for which models see this bug report and the numerous duplicates) and
set it up. As soon as the plug-in gets downloaded and installed, crash
reports pop up, and the devices functionality which needs the plug-in
will not work as plug-in installation does not complete.
The proposed package solves the problem.
To test without having an appropriate printer, simply run the command
hp-plugin
in a terminal window. With the current package it will fail as
mentioned, with the proposed package plug-in installation will
succeed.
[Regression Potential]
Very low. The patch is trivial and it affects only users who need the
plug-in. All users of other HP printers or non-HP printers are not
affected.
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