toolbox.py crashed with AttributeError in initUI(): 'DevMgr5' object has no attribute 'DiagnoseQueueAction'

Bug #1789184 reported by Jean-Baptiste Lallement
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned
hplip (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

This crash happened when I chose "Device Manager" from the HP icon in the taskbar.

ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: hplip-data 3.18.7+dfsg1-1
ProcVersionSignature: Ubuntu 4.17.0-6.7-generic 4.17.9
Uname: Linux 4.17.0-6-generic x86_64
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CupsErrorLog:

CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 27 11:06:37 2018
Dependencies:
 gcc-8-base 8.2.0-4ubuntu1
 libc6 2.27-3ubuntu1
 libgcc1 1:8.2.0-4ubuntu1
 liblzma5 5.2.2-1.3
 xz-utils 5.2.2-1.3
ExecutablePath: /usr/share/hplip/toolbox.py
InstallationDate: Installed on 2014-07-15 (1504 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
InterpreterPath: /usr/bin/python3.6
Lpstat:
 device for HP-Deskjet-D5500-series-2: dnssd://Deskjet%20D5500%20series%20%5BF53AD4%5D._pdl-datastream._tcp.local/
 device for MP210-series: usb://Canon/MP210%20series?serial=638BE0&interface=1
 device for PDF: cups-pdf:/
MachineType: Gigabyte Technology Co., Ltd. GA-890GPA-UD3H
PackageArchitecture: all
Papersize: a4
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/MP210-series.ppd', '/etc/cups/ppd/PDF.ppd', '/etc/cups/ppd/HP-Deskjet-D5500-series-2.ppd'] failed with exit code 2: grep: /etc/cups/ppd/MP210-series.ppd: Permission denied
 grep: /etc/cups/ppd/PDF.ppd: Permission denied
 grep: /etc/cups/ppd/HP-Deskjet-D5500-series-2.ppd: Permission denied
ProcCmdline: /usr/bin/python3 /usr/bin/hp-toolbox
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.17.0-6-generic root=UUID=0889d734-ea91-4bdb-9d16-2a0a923ad3d1 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.6, Python 3.6.6+, python3-minimal, 3.6.6-1
PythonArgs: ['/usr/bin/hp-toolbox']
PythonDetails: /usr/bin/python2.7, Python 2.7.15, python-minimal, 2.7.15-3
SourcePackage: hplip
Title: toolbox.py crashed with AttributeError in initUI(): 'DevMgr5' object has no attribute 'DiagnoseQueueAction'
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (155 days ago)
UserGroups: adm cdrom dip docker kvm libvirt libvirtd lpadmin lxd plugdev sambashare sudo
dmi.bios.date: 07/23/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FD
dmi.board.name: GA-890GPA-UD3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFD:bd07/23/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-890GPA-UD3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-890GPA-UD3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-890GPA-UD3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in hplip (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hplip (Ubuntu):
status: New → Confirmed
Revision history for this message
srinivas (srinivas5) wrote :

Hi,
Can you confirm on the distro version? We are yet to support the Ubuntu 18.10 in hplip driver. The latest Ubuntu version been supported in hplip is 18.04. Do you see any issues in Ubuntu 18.04?

Thanks,
Srinivas Teja

Changed in hplip:
status: New → In Progress
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

This bug is reported for 18.10. I don't have an 18.04 system to confirm if it exists or not on this release.

Revision history for this message
srinivas (srinivas5) wrote :

Ubuntu 18.10 is not yet supported in hplip as the stable version of 18.10 is not yet released. We will enable the Ubuntu 18.10 support in hplip once the stable version is released.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

If the policy is to wait for the release to be stable to update hplip, it means that hplip will always be one release off and won't work on the latest release until the changes are SRUed.
Besides SRUing large set of changes is huge and much more work than releasing a new version to the development release. Which changes also have to be approved by the SRU team.
Finally, hplip is on Ubuntu and several flavors's ISO which won't be recreated after the release and will include a broken version of hplip.

IMHO it would make sense to release hplip on the latest development release even if it's late in the cycle.

tags: added: rls-cc-incoming
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have looked into the source code and it does not look much like a distro incompatibility, but seeing all what got commented out it looks like a half-hearted removal of some of the available actions to apply on a device ("Actions" tab).

Completing the commenting-out of the actions (attached patch) makes the hp-toolbox working again.

Committed this in the upcoming hplip Ubuntu package.

Changed in hplip (Ubuntu):
status: Confirmed → Fix Committed
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hplip - 3.18.7+dfsg1-2ubuntu1

---------------
hplip (3.18.7+dfsg1-2ubuntu1) cosmic; urgency=medium

  * Made hp-toolbox starting up again (LP: #1789184).
  * Fixed all incorrect QMessageBox() calls (LP: #1745383).

 -- Till Kamppeter <email address hidden> Wed, 3 Oct 2018 15:13:00 +0200

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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