Bug 1770288

Summary: [abrt] solaar: __call__(): settings.py:64:__call__:AssertionError
Product: [Fedora] Fedora Reporter: Richard J. Turner <rjt>
Component: solaarAssignee: Eric Smith <spacewar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: abyss.7, dominik, j, richardfearn, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/57e52ee4fdf6a229ea92e1f91ed226f2af971768
Whiteboard: abrt_hash:70b696ca5bbf955d4e44499245584f28643010ea;VARIANT_ID=workstation;
Fixed In Version: solaar-1.0.2-0.1.rc1.20200322git563ef0d.fc32 solaar-1.0.2-0.1.rc1.20200322git563ef0d.fc31 solaar-1.0.2-0.1.rc1.20200322git563ef0d.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-01 00:18:16 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: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Richard J. Turner 2019-11-08 16:02:11 UTC
Description of problem:
Just booted and logged-in.

Version-Release number of selected component:
solaar-1.0.1-1.fc31

Additional info:
reporter:       libreport-2.10.1
cgroup:         0::/user.slice/user-1000.slice/user/gnome\x2dsession\x2dmanager.slice/gnome-session-manager
cmdline:        /usr/bin/python3 -s /usr/bin/solaar
crash_function: __call__
exception_type: AssertionError
executable:     /usr/bin/solaar
interpreter:    python3-3.7.4-5.fc31.x86_64
kernel:         5.3.6-300.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
settings.py:64:__call__:AssertionError

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/solaar/ui/__init__.py", line 165, in _status_changed
    window.update(device, need_popup)
  File "/usr/lib/python3.7/site-packages/solaar/ui/window.py", line 820, in update
    _update_info_panel(device, full=full_update)
  File "/usr/lib/python3.7/site-packages/solaar/ui/window.py", line 701, in _update_info_panel
    _update_device_panel(device, _info._device, _info._buttons, full)
  File "/usr/lib/python3.7/site-packages/solaar/ui/window.py", line 672, in _update_device_panel
    _config_panel.update(device, is_online)
  File "/usr/lib/python3.7/site-packages/solaar/ui/config_panel.py", line 206, in update
    for s in device.settings:
  File "/usr/lib/python3.7/site-packages/logitech_receiver/receiver.py", line 254, in settings
    _check_feature_settings(self, self._settings)
  File "/usr/lib/python3.7/site-packages/logitech_receiver/settings_templates.py", line 384, in check_feature_settings
    check_feature(_HI_RES_SCROLL[0], _F.HI_RES_SCROLLING)
  File "/usr/lib/python3.7/site-packages/logitech_receiver/settings_templates.py", line 382, in check_feature
    already_known.append(feature(device))
  File "/usr/lib/python3.7/site-packages/logitech_receiver/settings.py", line 64, in __call__
    assert self.device_kind is None or device.kind in self.device_kind
AssertionError

Local variables in innermost frame:
self: <Setting([feature:toggle] hi-res-scroll)>
device: <PairedDevice(2,4101,T650)>

Potential duplicate: bug 1662140

Comment 1 Richard J. Turner 2019-11-08 16:02:13 UTC
Created attachment 1634067 [details]
File: backtrace

Comment 2 Richard J. Turner 2019-11-08 16:02:14 UTC
Created attachment 1634068 [details]
File: cpuinfo

Comment 3 Richard J. Turner 2019-11-08 16:02:16 UTC
Created attachment 1634069 [details]
File: environ

Comment 4 Richard J. Turner 2019-11-08 16:02:17 UTC
Created attachment 1634070 [details]
File: mountinfo

Comment 5 Richard J. Turner 2019-11-08 16:02:18 UTC
Created attachment 1634071 [details]
File: namespaces

Comment 6 Richard J. Turner 2019-11-08 16:02:19 UTC
Created attachment 1634072 [details]
File: open_fds

Comment 7 abyss.7 2020-01-17 13:01:41 UTC
Similar problem has been detected:

Clicked on a popup menu entry from system tray icon. Couple of seconds passed and error occured.

reporter:       libreport-2.11.3
cmdline:        /usr/bin/python3 -s /usr/bin/solaar
crash_function: __call__
exception_type: AssertionError
executable:     /usr/bin/solaar
interpreter:    python3-3.7.6-1.fc31.x86_64
kernel:         5.4.8-200.fc31.x86_64
package:        solaar-1.0.1-1.fc31
reason:         settings.py:64:__call__:AssertionError
runlevel:       N 5
type:           Python3
uid:            1000

Comment 8 Fedora Update System 2020-03-24 14:39:17 UTC
FEDORA-2020-5011b62b4b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5011b62b4b

Comment 9 Fedora Update System 2020-03-24 14:39:34 UTC
FEDORA-2020-2d902a1576 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2d902a1576

Comment 10 Fedora Update System 2020-03-24 14:39:47 UTC
FEDORA-2020-d00e89d607 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d00e89d607

Comment 11 Fedora Update System 2020-03-24 19:55:30 UTC
FEDORA-2020-5011b62b4b has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5011b62b4b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5011b62b4b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-03-25 09:49:53 UTC
FEDORA-2020-d00e89d607 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-d00e89d607`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d00e89d607

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2020-03-25 09:50:08 UTC
FEDORA-2020-2d902a1576 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-2d902a1576`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-2d902a1576

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2020-04-01 00:18:16 UTC
FEDORA-2020-5011b62b4b has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2020-04-01 01:55:28 UTC
FEDORA-2020-2d902a1576 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2020-04-01 16:33:01 UTC
FEDORA-2020-5011b62b4b has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2020-04-02 09:19:12 UTC
FEDORA-2020-d00e89d607 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.