setup.py crashed with TypeError in showIOError(): 'Error' object is not subscriptable

Bug #1861386 reported by Jeff
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

unable turn on wireless adapther

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: hplip-data 3.19.12+dfsg0-3
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CupsErrorLog:
 W [30/Jan/2020:02:00:50 +0800] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_Pro_MFP_M128fw_92E38F_-Gray..\' already exists
 W [30/Jan/2020:02:00:50 +0800] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_Pro_MFP_M128fw_92E38F_-DeviceN..\' already exists
Date: Thu Jan 30 17:04:28 2020
ExecutablePath: /usr/share/hplip/setup.py
InstallationDate: Installed on 2020-01-29 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
InterpreterPath: /usr/bin/python3.7
Lpstat:
 device for HP-LaserJet-Pro-MFP-M128fw: hp:/usb/HP_LaserJet_Pro_MFP_M128fw?serial=CNBKM5L1PP
 device for HP-LaserJet-Pro-MFP-M128fw-Fax-2: hpfax:/usb/HP_LaserJet_Pro_MFP_M128fw?serial=CNBKM5L1PP
 device for HP_LaserJet_Pro_MFP_M128fw_92E38F_: implicitclass://HP_LaserJet_Pro_MFP_M128fw_92E38F_/
MachineType: LENOVO 5038C11
PackageArchitecture: all
Papersize: a4
PpdFiles:
 HP_LaserJet_Pro_MFP_M128fw_92E38F_: HP LaserJet Pro MFP M128fw, driverless, cups-filters 1.27.0
 HP-LaserJet-Pro-MFP-M128fw-Fax-2: HP Fax2 hpcups
 HP-LaserJet-Pro-MFP-M128fw: HP LaserJet Pro MFP m128fw, hpcups 3.19.12
ProcCmdline: /usr/bin/python3 /usr/bin/hp-setup
ProcEnviron:
 LANGUAGE=zh_CN:zh
 LANG=zh_CN.UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-12-generic root=UUID=3feaec28-22df-4153-a1f9-633e001102e9 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.7, Python 3.7.6, python3-minimal, 3.7.5-1ubuntu1
PythonArgs: ['/usr/bin/hp-setup']
PythonDetails: N/A
SourcePackage: hplip
Title: setup.py crashed with TypeError in showIOError(): 'Error' object is not subscriptable
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 07/28/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8JET34WW (1.16 )
dmi.board.asset.tag: Not Available
dmi.board.name: 5038C11
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8JET34WW(1.16):bd07/28/2011:svnLENOVO:pn5038C11:pvrThinkPadEdgeE220s:rvnLENOVO:rn5038C11:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.family: ThinkPad Edge E220s
dmi.product.name: 5038C11
dmi.product.version: ThinkPad Edge E220s
dmi.sys.vendor: LENOVO

Revision history for this message
Jeff (zhengruipolymer) wrote :
tags: removed: need-duplicate-check
Changed in hplip (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hopefully this message is helpful to you:

    FailureUI(self, self.__tr("<b>An I/O error occurred.</b><p>Please check the USB connection to your printer and try again.</p>(%s)" % str(e[0])))

Thanks

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.

Other bug subscribers

Remote bug watches

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