Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#58412 - [hplip] UnicodeDecodeError when configuring network printer HP Photosmart C6280 via hp-setup
Attached to Project:
Arch Linux
Opened by François Jaouen (farfouille64) - Tuesday, 01 May 2018, 08:21 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 01 May 2018, 18:12 GMT
Opened by François Jaouen (farfouille64) - Tuesday, 01 May 2018, 08:21 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 01 May 2018, 18:12 GMT
|
DetailsDescription:
# hp-setup -i -bnet fails with error : \Traceback (most recent call last): File "/usr/bin/hp-setup", line 375, in <module> device_uri = mod.getDeviceUri(devices = device.probeDevices(bus)) File "/usr/share/hplip/base/device.py", line 487, in probeDevices detected_devices = slp.detectNetworkDevices(ttl, timeout) File "/usr/share/hplip/base/slp.py", line 115, in detectNetworkDevices x= to_string_utf8(x) File "/usr/share/hplip/base/sixext.py", line 113, in to_string_utf8 return s.decode("utf-8") UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 365-366: invalid continuation byte This bug has been reported upstream since July 2015 but despite messages that claim it is fixed, it really isn't ! https://bugs.launchpad.net/hplip/+bug/1480152 I renewed the bug yesterday... By the way gentoo and debian have applied a patch, I have successfully tested on 3.18.4-1. Is it possible to include the attached patch (sixext.patch) in arch package as well until upstream make up their mind and fix this annoying bug ? Additional info: * package version(s) 3.18.4 (and previous) * config and/or log files etc. attached hp-set.log : the result of the command hp-setup -i -bnet -ldebug Steps to reproduce: - connect an HP Photosmart C6280 printer (I guess it is not the only model that failed) on local network (ethernet in my case) - power it on - issue the command on arch computer (attached to the same network obviously) : hp-setup -i -bnet => it fails with the UnicodeDecodeError exception traceback above |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 01 May 2018, 18:12 GMT
Reason for closing: Fixed
Additional comments about closing: 3.18.4-2 with patch applied
Tuesday, 01 May 2018, 18:12 GMT
Reason for closing: Fixed
Additional comments about closing: 3.18.4-2 with patch applied
hp-setup.log