Bug 1802841 - [abrt] hplip: to_string_utf8(): sixext.py:113:to_string_utf8:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 254: invalid continuation byte
Summary: [abrt] hplip: to_string_utf8(): sixext.py:113:to_string_utf8:UnicodeDecodeErr...
Keywords:
Status: CLOSED DUPLICATE of bug 1573430
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 31
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:f0a93265f7aaec7853a81486d45...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-14 03:01 UTC by edcalderon
Modified: 2020-02-17 11:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-17 11:16:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.28 KB, text/plain)
2020-02-14 03:01 UTC, edcalderon
no flags Details
File: cpuinfo (2.18 KB, text/plain)
2020-02-14 03:01 UTC, edcalderon
no flags Details
File: environ (5.48 KB, text/plain)
2020-02-14 03:01 UTC, edcalderon
no flags Details
File: mountinfo (2.65 KB, text/plain)
2020-02-14 03:01 UTC, edcalderon
no flags Details
File: namespaces (129 bytes, text/plain)
2020-02-14 03:01 UTC, edcalderon
no flags Details
File: open_fds (1.97 KB, text/plain)
2020-02-14 03:01 UTC, edcalderon
no flags Details

Description edcalderon 2020-02-14 03:01:46 UTC
Version-Release number of selected component:
hplip-3.19.12-2.fc31

Additional info:
reporter:       libreport-2.11.3
cgroup:         0::/user.slice/user-1000.slice/user/gnome-terminal-server.service
cmdline:        /usr/bin/python3 /usr/bin/hp-setup
crash_function: to_string_utf8
exception_type: UnicodeDecodeError
executable:     /usr/bin/hp-setup
interpreter:    python3-3.7.6-2.fc31.x86_64
kernel:         5.4.18-200.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
sixext.py:113:to_string_utf8:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 254: invalid continuation byte

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1297, in NextButton_clicked
    self.showDevicesPage()
  File "/usr/share/hplip/ui5/setupdialog.py", line 566, in showDevicesPage
    filter_dict, self.search, net_search=net_search_type)
  File "/usr/share/hplip/base/device.py", line 494, in probeDevices
    detected_devices = avahi.detectNetworkDevices(ttl, timeout)
  File "/usr/share/hplip/base/avahi.py", line 39, in detectNetworkDevices
    output = to_string_utf8(p.communicate()[0])
  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 byte 0xe9 in position 254: invalid continuation byte

Local variables in innermost frame:
s: b'+;enp2s0;IPv4;te100-mp1u-41-usb1;_printer._tcp;local\n=;enp2s0;IPv4;te100-mp1u-41-usb1;_printer._tcp;local;te100-mp1u-41.local;192.168.1.41;515;"adminurl=http://te100-mp1u-41.local." "usb_CLASS=PRINTER" "usb_MDL=Deskjet 2050 J510 series series" "usb_MFG=\\\xe9\t" "pdl=U" "ty=hp Deskjet 2050 J510 series series" "product=(hp Deskjet 2050 J510 series series)" "priority=0" "qtotal=1" "rp=USB1_LQ" "txtvers=1"\n'

Comment 1 edcalderon 2020-02-14 03:01:49 UTC
Created attachment 1663042 [details]
File: backtrace

Comment 2 edcalderon 2020-02-14 03:01:51 UTC
Created attachment 1663043 [details]
File: cpuinfo

Comment 3 edcalderon 2020-02-14 03:01:52 UTC
Created attachment 1663044 [details]
File: environ

Comment 4 edcalderon 2020-02-14 03:01:53 UTC
Created attachment 1663045 [details]
File: mountinfo

Comment 5 edcalderon 2020-02-14 03:01:55 UTC
Created attachment 1663046 [details]
File: namespaces

Comment 6 edcalderon 2020-02-14 03:01:56 UTC
Created attachment 1663047 [details]
File: open_fds

Comment 7 Zdenek Dohnal 2020-02-17 11:16:49 UTC

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


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