Bug 2215166 - [abrt] hplip-gui: module(): hp-uiscan:56:<module>:TypeError: cannot unpack non-iterable NoneType object
Summary: [abrt] hplip-gui: module(): hp-uiscan:56:<module>:TypeError: cannot unpack no...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 38
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:bb134f16aca2d6152b4b71ad0ee...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-14 23:12 UTC by MstrPi
Modified: 2023-07-14 12:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-14 12:15:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (667 bytes, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details
File: environ (2.11 KB, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details
File: mountinfo (3.50 KB, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details
File: open_fds (584 bytes, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details
File: namespaces (171 bytes, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details
File: backtrace (21.73 KB, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details
File: cpuinfo (2.61 KB, text/plain)
2023-06-14 23:12 UTC, MstrPi
no flags Details

Description MstrPi 2023-06-14 23:12:07 UTC
Description of problem:
i tried install hplip via instructions on hp's website, then decided to check if it was available via dnf. after installing and adding hplip-gui, i restarted, and tried to run the program from application launcher/dashboard. error occured at this point.

Version-Release number of selected component:
hplip-gui-3.23.5-1.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.3.7-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/hp-uiscan
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-hp\x2duiscan-b0f4f8a0c4f249ca938a78c519c44fd2.scope
uid:            1000
reason:         hp-uiscan:56:<module>:TypeError: cannot unpack non-iterable NoneType object
executable:     /usr/bin/hp-uiscan
type:           Python3
package:        hplip-gui-3.23.5-1.fc38
runlevel:       N 5
exception_type: TypeError
crash_function: module
interpreter:    python3-3.11.3-2.fc38.x86_64
comment:        i tried install hplip via instructions on hp's website, then decided to check if it was available via dnf. after installing and adding hplip-gui, i restarted, and tried to run the program from application launcher/dashboard. error occured at this point.

Truncated backtrace:
#1 [/usr/bin/hp-uiscan:56] <module>

Comment 1 MstrPi 2023-06-14 23:12:11 UTC
Created attachment 1970902 [details]
File: os_info

Comment 2 MstrPi 2023-06-14 23:12:13 UTC
Created attachment 1970903 [details]
File: environ

Comment 3 MstrPi 2023-06-14 23:12:14 UTC
Created attachment 1970904 [details]
File: mountinfo

Comment 4 MstrPi 2023-06-14 23:12:16 UTC
Created attachment 1970905 [details]
File: open_fds

Comment 5 MstrPi 2023-06-14 23:12:18 UTC
Created attachment 1970906 [details]
File: namespaces

Comment 6 MstrPi 2023-06-14 23:12:20 UTC
Created attachment 1970907 [details]
File: backtrace

Comment 7 MstrPi 2023-06-14 23:12:21 UTC
Created attachment 1970908 [details]
File: cpuinfo

Comment 8 Zdenek Dohnal 2023-07-14 12:15:21 UTC
Hi,

I would recommend looking for remains of hplip installation from the website - I don't get crash on my laptop (although I don't have a device supported by it - IIUC hp-uiscan is not GUI scanning tool for every HP devices, but only for several selected, which is not my HP printer) when hplip and hplip-gui are installed.

The error it reports indicates 'utils' is None, so the import failed, which does not happen with hplip installed from Fedora repos.


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