toolbox.py crashed with TypeError in /usr/bin/hp-toolbox: 'NoneType' object is not iterable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
Confirmed
|
Medium
|
Till Kamppeter |
Bug Description
hplip does not operate in my H/Y, i have recently upgraded to ubuntu 16.10, from 16.04
ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: hplip-data 3.16.7+repack0-1
ProcVersionSign
Uname: Linux 4.4.0-9136-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CrashCounter: 1
CurrentDesktop: GNOME-Flashback
Date: Tue Sep 6 12:05:35 2016
Dependencies:
gcc-6-base 6.2.0-3ubuntu11
libc6 2.24-0ubuntu1
libgcc1 1:6.2.0-3ubuntu11
liblzma5 5.1.1alpha+
xz-utils 5.1.1alpha+
ExecutablePath: /usr/share/
InstallationDate: Installed on 2016-07-12 (55 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
InterpreterPath: /usr/bin/python3.5
Lpstat:
device for HP-Deskjet-
device for HP-Deskjet-
device for Samsung-ML-2165: smb://WORKGROUP
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
PackageArchitec
Papersize: letter
PpdFiles:
Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
grep: /etc/cups/
grep: /etc/cups/
ProcCmdline: /usr/bin/python3 /usr/bin/hp-toolbox
ProcKernelCmdLine: BOOT_IMAGE=
PythonArgs: ['/usr/
SourcePackage: hplip
Title: toolbox.py crashed with TypeError in /usr/bin/
Traceback:
Traceback (most recent call last):
File "/usr/bin/
QApplication, ui_package = utils.import_
TypeError: 'NoneType' object is not iterable
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 03/12/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F5
dmi.board.
dmi.board.name: F2A75M-D3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
tags: | removed: need-duplicate-check |
Changed in hplip (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in hplip (Ubuntu): | |
assignee: | nobody → Till Kamppeter (till-kamppeter) |
As a temporary fix
i removed all installed printers
uninstalled hplip
http:// hplipopensource .com/node/ 188
download the automatic installer from hplip
http:// hplipopensource .com/hplip- web/downloads. html
and while executing the installer, when i was asked if the ubuntu distribution was 16.10, i answered "no" and in the following menu i set "operational system = ubuntu " and on "distribution" = other, the installer then set ubuntu 0.0 as operational system and it continued with the "make" = "make install"
i configured my all-in-one printer (printer- scanner- fax) and restart H/Y
Still the printer was not working, it gave an error regarding "foomatic- rip-hplip"
but the scanner and fax function was working
so through "synaptic package manager" i marked hpcups (package: printer- driver- hpcups) for reinstallation, and gtklp and libnet-cups-perl for installation, (although i dont think that gtklp and libnet-cups-perl was necessary)
restart system
after that the printer was working properly with the cups module, and fax and scanner with the hplip module
The proper fix would be for HPLIP to release a distro that is supported in ubuntu 16.10, (it was clearly stated in the installation that hplip is not supported in ubuntu 16.10) but after the upgrade in ubuntu 16.10, i found no other way for scanner and fax driver to work.