toolbox.py crashed with TypeError in /usr/bin/hp-toolbox: 'NoneType' object is not iterable

Bug #1620517 reported by Fotaoua cloud
38
This bug affects 7 people
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
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CrashCounter: 1
CurrentDesktop: GNOME-Flashback:Unity
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+20120614-2.1ubuntu1
 xz-utils 5.1.1alpha+20120614-2.1ubuntu1
ExecutablePath: /usr/share/hplip/toolbox.py
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-4610-series: usb://HP/Deskjet%204610%20series?serial=CN2AJ241ZN05TK&interface=1
 device for HP-Deskjet-4610-series-FAX: usb://HP/Deskjet%204610%20series%20FAX?serial=CN2AJ241ZN05TK&interface=2
 device for Samsung-ML-2165: smb://WORKGROUP/CHRISTINE/Samsung-ML-2160-Series
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
PackageArchitecture: all
Papersize: letter
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP-Deskjet-4610-series.ppd', '/etc/cups/ppd/HP-Deskjet-4610-series-FAX.ppd', '/etc/cups/ppd/Samsung-ML-2165.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP-Deskjet-4610-series.ppd: Permission denied
 grep: /etc/cups/ppd/HP-Deskjet-4610-series-FAX.ppd: Permission denied
 grep: /etc/cups/ppd/Samsung-ML-2165.ppd: Permission denied
ProcCmdline: /usr/bin/python3 /usr/bin/hp-toolbox
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-9136-generic.efi.signed root=UUID=4582dd83-d575-420a-8455-f4ab15e11d56 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/bin/hp-toolbox']
SourcePackage: hplip
Title: toolbox.py crashed with TypeError in /usr/bin/hp-toolbox: 'NoneType' object is not iterable
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/hp-toolbox", line 269, in <module>
     QApplication, ui_package = utils.import_dialog(ui_toolkit)
 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.asset.tag: To be filled by O.E.M.
dmi.board.name: F2A75M-D3H
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.:bvrF5:bd03/12/2013:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnF2A75M-D3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Fotaoua cloud (fotis5-) wrote :
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)
Revision history for this message
Fotaoua cloud (fotis5-) wrote :

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.

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
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.