wificonfig.py crashed with TypeError in showIOError(): 'Error' object does not support indexing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Not sure what happened.
ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: hplip-data 3.17.7+repack0-3
ProcVersionSign
Uname: Linux 4.12.0-13-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 19 10:10:31 2017
Dependencies:
gcc-7-base 7.2.0-3ubuntu1
libc6 2.24-12ubuntu1
libgcc1 1:7.2.0-3ubuntu1
liblzma5 5.2.2-1.3
xz-utils 5.2.2-1.3
ExecutablePath: /usr/share/
InstallationDate: Installed on 2017-08-26 (23 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170825)
InterpreterPath: /usr/bin/python3.6
Lpstat:
device for DeskJet_3630: hp:/usb/
device for HP_DeskJet_
MachineType: LENOVO 429149G
PackageArchitec
Papersize: a4
PpdFiles:
Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
grep: /etc/cups/
ProcCmdline: /usr/bin/python3 /usr/bin/
ProcKernelCmdLine: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.2, python3-minimal, 3.6.1-0ubuntu3
PythonArgs: ['/usr/
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.13-2
SourcePackage: hplip
Title: wificonfig.py crashed with TypeError in showIOError(): 'Error' object does not support indexing
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
dmi.bios.date: 05/18/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET46WW (1.16 )
dmi.board.
dmi.board.name: 429149G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X220
dmi.product.name: 429149G
dmi.product.
dmi.sys.vendor: LENOVO
tags: | removed: need-duplicate-check |
Changed in hplip (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Hello,
On Fedora this bug has occured too. It is caused by use of python3 where Exception class error message can not be accesed by indexing. The patch i'm attaching fixes it.