| Summary: | [abrt] hplip: LedmWifi.py:547:readXmlDataFromURI:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 1001: invalid start byte | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Oliver Sampson <oliver> | ||||||||
| Component: | hplip | Assignee: | Zdenek Dohnal <zdohnal> | ||||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 23 | CC: | jpopelka, twaugh, zdohnal | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/279cd13f1aff0f252d24babbde34d41df6118ab0 | ||||||||||
| Whiteboard: | abrt_hash:916f28ea388d567c51842e06d7cc6b359192d2a1; | ||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-12-20 21:29:15 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 1199795 [details]
File: backtrace
Created attachment 1199796 [details]
File: environ
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Created attachment 1224401 [details]
Proposed patch
I propose a patch, which should solve this exception. Would someone mind reviewing and testing it?
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Version-Release number of selected component: hplip-3.16.3-1.fc23 Additional info: reporter: libreport-2.6.4 cmdline: /usr/bin/python3 /usr/bin/hp-setup --gui executable: /usr/bin/hp-setup kernel: 4.7.2-101.fc23.x86_64 runlevel: N 5 type: Python3 uid: 1001 Truncated backtrace: LedmWifi.py:547:readXmlDataFromURI:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 1001: invalid start byte Traceback (most recent call last): File "/usr/share/hplip/ui4/wifisetupdialog.py", line 746, in NextButton_clicked self.showExitPage() File "/usr/share/hplip/ui4/wifisetupdialog.py", line 566, in showExitPage vsa_codes = self.wifiObj.getVSACodes(self.dev, self.adapterName) File "/usr/share/hplip/base/LedmWifi.py", line 376, in getVSACodes params,code,elementCount = readXmlDataFromURI(dev,URI,"<io:VsaCodes","<io:VsaCodes",10) File "/usr/share/hplip/base/LedmWifi.py", line 547, in readXmlDataFromURI strResp = response.getvalue().decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 1001: invalid start byte Local variables in innermost frame: xmlChildNode: '<io:VsaCodes' code: 500 response: <_io.BytesIO object at 0x7fd9f4072648> dev: <base.device.Device object at 0x7fd9e5a66908> timeout: 10 URI: '/IoMgmt/Adapters/wifi0/VsaCodes.xml' elementCount: 0 params: {} xmlRootNode: '<io:VsaCodes' data: 'GET /IoMgmt/Adapters/wifi0/VsaCodes.xml HTTP/1.1\r\nHost: localhost\r\nUser-Agent: hplip/3.0\r\nContent-Type: text/xml; charset=utf-8\r\nContent-Length: 0\r\n\r\n'