Bug 2424807

Summary: [abrt] solaar: update(): config_panel.py:780:update:AssertionError
Product: [Fedora] Fedora Reporter: Mr. Beedell, Roke Julian Lockhart (RJLB) <8ru2u4gz>
Component: solaarAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: 8ru2u4gz, dominik, j
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bdc1cb4f91fe493f2357ad810608e29b3313400
Whiteboard: abrt_hash:dfff2b905cf26292af473daf265f8c5310e9505c;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-26 17:23:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:37 UTC
Description of problem:
This likely occurred when resuming from a lesser version of `qdbus-qt6 org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Sleep"`.

Version-Release number of selected component:
solaar-1.1.18-1.fc43

Additional info:
reporter:       libreport-2.17.15
kernel:         6.17.12-300.fc43.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/solaar --window=hide
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-solaar
uid:            1000
reason:         config_panel.py:780:update:AssertionError
executable:     /usr/bin/solaar
type:           Python3
package:        solaar-1.1.18-1.fc43
runlevel:       /bin/sh: line 1: runlevel: command not found
exception_type: AssertionError
crash_function: update
interpreter:    python3-3.14.2-1.fc43.x86_64
comment:        This likely occurred when resuming from a lesser version of `qdbus-qt6 org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Sleep"`.

Truncated backtrace:
config_panel.py:780:update:AssertionError

Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/solaar/ui/__init__.py", line 135, in _status_changed
    window.update(device, need_popup, refresh)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/solaar/ui/window.py", line 873, in update
    update_device(device, item, selected_device_id, need_popup, full=refresh)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/solaar/ui/window.py", line 911, in update_device
    _update_info_panel(device, full=full_update)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/solaar/ui/window.py", line 778, in _update_info_panel
    _update_device_panel(device, _info._device, _info._buttons, full)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/solaar/ui/window.py", line 749, in _update_device_panel
    config_panel.update(device, is_online)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/solaar/ui/config_panel.py", line 780, in update
    assert device
           ^^^^^^
AssertionError

Local variables in innermost frame:
device: <Device(255,B042,MX Master 4,)>
is_online: False

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:41 UTC
Created attachment 2119901 [details]
File: os_info

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:42 UTC
Created attachment 2119902 [details]
File: environ

Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:44 UTC
Created attachment 2119903 [details]
File: mountinfo

Comment 4 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:45 UTC
Created attachment 2119904 [details]
File: open_fds

Comment 5 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:47 UTC
Created attachment 2119905 [details]
File: namespaces

Comment 6 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:48 UTC
Created attachment 2119906 [details]
File: backtrace

Comment 7 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 02:08:50 UTC
Created attachment 2119907 [details]
File: cpuinfo

Comment 8 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-24 23:40:37 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2412251#c13 is relevant.

Comment 9 Dominik 'Rathann' Mierzejewski 2025-12-26 17:23:56 UTC

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