Bug 2190371 - [abrt] hplip-gui: getGroup(): cups.py:917:getGroup:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 38: unexpected end of data [NEEDINFO]
Summary: [abrt] hplip-gui: getGroup(): cups.py:917:getGroup:UnicodeDecodeError: 'utf-8...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 37
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:d56f7a0a5ebbeae437769cc2f48...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-28 07:38 UTC by Alexandr
Modified: 2023-07-14 12:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
zdohnal: needinfo? (t1gretto)


Attachments (Terms of Use)
File: open_fds (4.73 KB, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details
File: namespaces (171 bytes, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details
File: backtrace (861 bytes, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details
File: environ (1.41 KB, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details
File: mountinfo (3.23 KB, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details
File: os_info (734 bytes, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details
File: cpuinfo (3.06 KB, text/plain)
2023-04-28 07:38 UTC, Alexandr
no flags Details

Description Alexandr 2023-04-28 07:38:06 UTC
Version-Release number of selected component:
hplip-gui-3.22.10-3.fc37

Additional info:
reporter:       libreport-2.17.9
interpreter:    python3-3.11.2-1.fc37.x86_64
runlevel:       N 5
kernel:         6.2.9-200.fc37.x86_64
type:           Python3
reason:         cups.py:917:getGroup:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 38: unexpected end of data
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-hplip-53348.scope
executable:     /usr/bin/hp-toolbox
cmdline:        /usr/bin/python3 /usr/bin/hp-toolbox
uid:            1000
exception_type: UnicodeDecodeError
package:        hplip-gui-3.22.10-3.fc37
crash_function: getGroup

Truncated backtrace:
cups.py:917:getGroup:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 38: unexpected end of data

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/devmgr5.py", line 572, in Tabs_currentChanged
    self.TabIndex[tab]()
  File "/usr/share/hplip/ui5/devmgr5.py", line 1781, in updatePrintSettingsTab
    self.PrintSettingsToolbox.updateUi(self.cur_device, self.cur_printer)
  File "/usr/share/hplip/ui5/printsettingstoolbox.py", line 473, in updateUi
    text, num_subgroups = cups.getGroup(g)
                          ^^^^^^^^^^^^^^^^
  File "/usr/share/hplip/prnt/cups.py", line 917, in getGroup
    return cupsext.getGroup(group)
           ^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 38: unexpected end of data

Local variables in innermost frame:
group: 'InstallableOptions'

Comment 1 Alexandr 2023-04-28 07:38:09 UTC
Created attachment 1960682 [details]
File: open_fds

Comment 2 Alexandr 2023-04-28 07:38:11 UTC
Created attachment 1960683 [details]
File: namespaces

Comment 3 Alexandr 2023-04-28 07:38:12 UTC
Created attachment 1960684 [details]
File: backtrace

Comment 4 Alexandr 2023-04-28 07:38:14 UTC
Created attachment 1960685 [details]
File: environ

Comment 5 Alexandr 2023-04-28 07:38:16 UTC
Created attachment 1960686 [details]
File: mountinfo

Comment 6 Alexandr 2023-04-28 07:38:18 UTC
Created attachment 1960687 [details]
File: os_info

Comment 7 Alexandr 2023-04-28 07:38:19 UTC
Created attachment 1960688 [details]
File: cpuinfo

Comment 8 Zdenek Dohnal 2023-07-14 12:45:03 UTC
Hi,

thank you for reporting the issue!

Are you able to reproduce the issue? Can you tell me the steps which leads to the crash?


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