Bug 1626876 - [abrt] hplip-gui: __writeChannel(): wifisetupdialog.py:843:showIOError:TypeError: 'Error' object does not support indexing
Summary: [abrt] hplip-gui: __writeChannel(): wifisetupdialog.py:843:showIOError:TypeEr...
Keywords:
Status: CLOSED DUPLICATE of bug 1564770
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:de40412bd59fb18a6cb460a995b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-10 01:36 UTC by kxra
Modified: 2018-10-01 11:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-01 11:14:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.60 KB, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details
File: cgroup (331 bytes, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details
File: cpuinfo (1.40 KB, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details
File: environ (986 bytes, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details
File: mountinfo (5.17 KB, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details
File: open_fds (2.33 KB, text/plain)
2018-09-10 01:36 UTC, kxra
no flags Details

Description kxra 2018-09-10 01:36:41 UTC
Description of problem:
no system tray detected so it crashes

Version-Release number of selected component:
hplip-gui-3.18.6-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/hp-wificonfig -d hp:/usb/HP_LaserJet_CP1025nw?serial=00000SV03210S
crash_function: __writeChannel
exception_type: base.g.Error
executable:     /usr/bin/hp-wificonfig
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.19-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
wifisetupdialog.py:843:showIOError:TypeError: 'Error' object does not support indexing

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 274, in showNetworkPage
    adaptor_list = self.wifiObj.getWifiAdaptorID(self.dev)
  File "/usr/share/hplip/base/LedmWifi.py", line 97, in getWifiAdaptorID
    ret = getAdaptorList(dev)
  File "/usr/share/hplip/base/LedmWifi.py", line 60, in getAdaptorList
    paramsList,code = readXmlTagDataFromURI(dev,URI,'<io:Adapters', '<io:Adapter>')
  File "/usr/share/hplip/base/LedmWifi.py", line 499, in readXmlTagDataFromURI
    dev.writeMarvell_EWS(data)
  File "/usr/share/hplip/base/device.py", line 2228, in writeMarvell_EWS
    return self.__writeChannel(self.openMarvell_EWS, data)
  File "/usr/share/hplip/base/device.py", line 2258, in __writeChannel
    raise Error(ERROR_DEVICE_IO_ERROR)
base.g.Error: ('Device I/O error', 12)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 719, in NextButton_clicked
    self.showNetworkPage()
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 276, in showNetworkPage
    self.showIOError(e)
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 843, in showIOError
    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])))
TypeError: 'Error' object does not support indexing

Local variables in innermost frame:
e: Error('Device I/O error', 12)
self: <ui5.wifisetupdialog.WifiSetupDialog object at 0x7f7782d0b288>

Comment 1 kxra 2018-09-10 01:36:47 UTC
Created attachment 1481938 [details]
File: backtrace

Comment 2 kxra 2018-09-10 01:36:48 UTC
Created attachment 1481939 [details]
File: cgroup

Comment 3 kxra 2018-09-10 01:36:49 UTC
Created attachment 1481940 [details]
File: cpuinfo

Comment 4 kxra 2018-09-10 01:36:50 UTC
Created attachment 1481941 [details]
File: environ

Comment 5 kxra 2018-09-10 01:36:52 UTC
Created attachment 1481942 [details]
File: mountinfo

Comment 6 kxra 2018-09-10 01:36:53 UTC
Created attachment 1481943 [details]
File: namespaces

Comment 7 kxra 2018-09-10 01:36:54 UTC
Created attachment 1481944 [details]
File: open_fds

Comment 8 Tomas Korbar 2018-10-01 11:14:56 UTC

*** This bug has been marked as a duplicate of bug 1564770 ***


Note You need to log in before you can comment on or make changes to this bug.