Bug 1626877

Summary: [abrt] hplip-gui: showExitPage(): wifisetupdialog.py:573:showExitPage:AttributeError: 'WifiSetupDialog' object has no attribute 'wifiobj'
Product: [Fedora] Fedora Reporter: kxra
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: jpopelka, tkorbar, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4affc0f167f5f1b59dcb5e9f474028b42170353f
Whiteboard: abrt_hash:f7add502f7ae84489e8f191d6a5e7bad004c1971;VARIANT_ID=workstation;
Fixed In Version: hplip-3.18.6-5.fc27 hplip-3.18.6-9.fc28 hplip-3.18.6-9.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-14 23:30:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description kxra 2018-09-10 01:40:05 UTC
Description of problem:
I was connecting the printer to the wifi network and waiting for it to connect

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: showExitPage
exception_type: AttributeError
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:573:showExitPage:AttributeError: 'WifiSetupDialog' object has no attribute 'wifiobj'

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 754, in NextButton_clicked
    self.showExitPage()
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 573, in showExitPage
    self.ip, subnetmask, gateway, pri_dns, sec_dns, addressmode = self.wifiobj.getwifiotherdetails(self.dev,self.adapterName)
AttributeError: 'WifiSetupDialog' object has no attribute 'wifiobj'

Local variables in innermost frame:
sec_dns: '0.0.0.0'
pridns: '0.0.0.0'
gateway: '0.0.0.0'
subnetmask: '0.0.0.0'
addressmode: 'autoip'
_: 'Unknown'
self: <ui5.wifisetupdialog.WifiSetupDialog object at 0x7f8f012e6288>

Comment 1 kxra 2018-09-10 01:40:10 UTC
Created attachment 1481945 [details]
File: backtrace

Comment 2 kxra 2018-09-10 01:40:11 UTC
Created attachment 1481946 [details]
File: cgroup

Comment 3 kxra 2018-09-10 01:40:12 UTC
Created attachment 1481947 [details]
File: cpuinfo

Comment 4 kxra 2018-09-10 01:40:14 UTC
Created attachment 1481948 [details]
File: environ

Comment 5 kxra 2018-09-10 01:40:15 UTC
Created attachment 1481949 [details]
File: mountinfo

Comment 6 kxra 2018-09-10 01:40:16 UTC
Created attachment 1481950 [details]
File: namespaces

Comment 7 kxra 2018-09-10 01:40:17 UTC
Created attachment 1481951 [details]
File: open_fds

Comment 8 Zdenek Dohnal 2018-10-01 11:44:15 UTC
There is a typo:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 754, in NextButton_clicked
    self.showExitPage()
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 573, in showExitPage
    self.ip, subnetmask, gateway, pri_dns, sec_dns, addressmode = self.wifiobj.getwifiotherdetails(self.dev,self.adapterName)
AttributeError: 'WifiSetupDialog' object has no attribute 'wifiobj'

The correct one is wifiObj.

Comment 9 Fedora Update System 2018-10-10 12:12:40 UTC
hplip-3.18.6-9.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-79b47116ca

Comment 10 Fedora Update System 2018-10-10 12:14:22 UTC
hplip-3.18.6-9.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1b0d7c226f

Comment 11 Fedora Update System 2018-10-10 12:17:15 UTC
hplip-3.18.6-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a038696143

Comment 12 Fedora Update System 2018-10-10 15:50:46 UTC
hplip-3.18.6-9.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-79b47116ca

Comment 13 Fedora Update System 2018-10-10 23:20:18 UTC
hplip-3.18.6-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a038696143

Comment 14 Fedora Update System 2018-10-10 23:27:10 UTC
hplip-3.18.6-9.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1b0d7c226f

Comment 15 Fedora Update System 2018-10-14 23:30:04 UTC
hplip-3.18.6-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2018-10-14 23:40:35 UTC
hplip-3.18.6-9.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2018-10-30 17:23:57 UTC
hplip-3.18.6-9.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.