Summary: | net-print/hplip-3.17.10 hp-setup: File "/usr/share/hplip/base/sixext.py", line 113, in to_string_utf8 // UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9e in position 363: invalid start byte | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick Wiltshire <nick> |
Component: | Current packages | Assignee: | Daniel Pielmeier <billie> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://launchpad.net/bugs/1480152 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sixext.patch |
Description
Nick Wiltshire
2018-03-28 21:27:51 UTC
I can not reproduce. Probably there are some unicode characters slipping in which can't be processed. Can you please try if the patch attached to this bug [1] fixes the issue. https://bugs.launchpad.net/hplip/+bug/1480152 I can still produce the bug by removing the workaround. Forgive me if I did this wrong: mkdir -p /etc/portage/patches/net-print/hplip-3.17.10 cd /etc/portage/patches/net-print/hplip-3.17.10/ wget https://launchpadlibrarian.net/213208457/sixext.patch emerge -va hplip ... * Applying sixext.patch ... The text leading up to this was: -------------------------- |--- /src/base/sixext.py 2015-06-16 16:40:00.369392772 +0530 |+++ sixext.py 2015-07-31 15:36:08.011051408 +0530 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored [ !! ] * ERROR: net-print/hplip-3.17.10::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/net-print/hplip-3.17.10/sixext.patch * * Call stack: ... Created attachment 526812 [details, diff]
sixext.patch
Well the patch failed to apply, so the bug should be still there. I just applied it manually to test.
Use this one here. It should work as user patch.
The attached patch fixed it. Strange according to upstream this bug should be fixed. This is fixed in Git with hplip-3.18.3-r1. Thanks for the report. |