Bug 1770288 - [abrt] solaar: __call__(): settings.py:64:__call__:AssertionError
Summary: [abrt] solaar: __call__(): settings.py:64:__call__:AssertionError
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:70b696ca5bbf955d4e444992455...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-08 16:02 UTC by Richard J. Turner
Modified: 2020-04-02 09:19 UTC (History)
5 users (show)

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
Clone Of:
Environment:
Last Closed: 2020-04-01 00:18:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.50 KB, text/plain)
2019-11-08 16:02 UTC, Richard J. Turner
no flags Details
File: cpuinfo (2.33 KB, text/plain)
2019-11-08 16:02 UTC, Richard J. Turner
no flags Details
File: environ (1.83 KB, text/plain)
2019-11-08 16:02 UTC, Richard J. Turner
no flags Details
File: mountinfo (2.40 KB, text/plain)
2019-11-08 16:02 UTC, Richard J. Turner
no flags Details
File: namespaces (129 bytes, text/plain)
2019-11-08 16:02 UTC, Richard J. Turner
no flags Details
File: open_fds (1.41 KB, text/plain)
2019-11-08 16:02 UTC, Richard J. Turner
no flags Details

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.


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