Bug 1754295 - [abrt] solaar: check_feature(): settings_templates.py:381:check_feature:AttributeError: '_SETTINGS_LIST' object has no attribute 'low_res_scroll'
Summary: [abrt] solaar: check_feature(): settings_templates.py:381:check_feature:Attri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:55e7036ed216afebfdc0aba77fe...
: 1758300 1804888 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-22 15:38 UTC by David Pasternak
Modified: 2020-04-02 09:19 UTC (History)
9 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:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.42 KB, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details
File: cgroup (335 bytes, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details
File: cpuinfo (1.74 KB, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details
File: environ (3.73 KB, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details
File: mountinfo (4.22 KB, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details
File: namespaces (129 bytes, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details
File: open_fds (1.16 KB, text/plain)
2019-09-22 15:38 UTC, David Pasternak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pwr-Solaar Solaar issues 544 0 None closed Logitech MX Ergo not visible in GUI 2020-03-24 11:04:54 UTC

Description David Pasternak 2019-09-22 15:38:15 UTC
Version-Release number of selected component:
solaar-1.0.1-1.fc30

Additional info:
reporter:       libreport-2.10.1
cmdline:        /usr/bin/python3 -s /usr/bin/solaar
crash_function: check_feature
exception_type: AttributeError
executable:     /usr/bin/solaar
interpreter:    python3-3.7.4-1.fc30.x86_64
kernel:         5.2.15-200.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            10069

Truncated backtrace:
settings_templates.py:381:check_feature:AttributeError: '_SETTINGS_LIST' object has no attribute 'low_res_scroll'

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/solaar/ui/window.py", line 380, in _device_selected
    _update_info_panel(device, full=True)
  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 385, in check_feature_settings
    check_feature(_LOW_RES_SCROLL[0], _F.LOWRES_WHEEL)
  File "/usr/lib/python3.7/site-packages/logitech_receiver/settings_templates.py", line 381, in check_feature
    feature = getattr(FeatureSettings, field_name)()
AttributeError: '_SETTINGS_LIST' object has no attribute 'low_res_scroll'

Local variables in innermost frame:
featureId: NamedInt(8496, 'LOWRES WHEEL')
field_name: 'low_res_scroll'
name: 'low-res-scroll'
already_known: []
device: <PairedDevice(2,406F,MX Ergo)>

Comment 1 David Pasternak 2019-09-22 15:38:20 UTC
Created attachment 1617847 [details]
File: backtrace

Comment 2 David Pasternak 2019-09-22 15:38:21 UTC
Created attachment 1617848 [details]
File: cgroup

Comment 3 David Pasternak 2019-09-22 15:38:23 UTC
Created attachment 1617849 [details]
File: cpuinfo

Comment 4 David Pasternak 2019-09-22 15:38:24 UTC
Created attachment 1617850 [details]
File: environ

Comment 5 David Pasternak 2019-09-22 15:38:26 UTC
Created attachment 1617851 [details]
File: mountinfo

Comment 6 David Pasternak 2019-09-22 15:38:28 UTC
Created attachment 1617852 [details]
File: namespaces

Comment 7 David Pasternak 2019-09-22 15:38:29 UTC
Created attachment 1617853 [details]
File: open_fds

Comment 8 Dominik 'Rathann' Mierzejewski 2019-09-22 17:31:12 UTC
It looks like this upstream issue: https://github.com/pwr-Solaar/Solaar/issues/544 . There's a PR, too: https://github.com/pwr-Solaar/Solaar/pull/557 . I'll try to make a build with that patch applied so that you can test it.

Comment 9 Dominik 'Rathann' Mierzejewski 2019-09-22 21:58:55 UTC
Please try this build: https://koji.fedoraproject.org/koji/taskinfo?taskID=37813786 . It's a scratch build, so please download it as soon as possible, even if you cannot test it right away as it will get garbage-collected soon.

Comment 10 Dominik 'Rathann' Mierzejewski 2019-09-23 12:10:10 UTC
Or you can try this copr build: https://copr.fedorainfracloud.org/coprs/rathann/solaar-bug-1754295/

Comment 11 Gérald Hameau 2019-10-03 19:28:31 UTC
*** Bug 1758300 has been marked as a duplicate of this bug. ***

Comment 12 Frank Büttner 2019-12-12 16:48:46 UTC
Similar problem has been detected:

Power on an new logitech device

reporter:       libreport-2.11.3
cmdline:        /usr/bin/python3 -s /usr/bin/solaar
crash_function: check_feature
exception_type: AttributeError
executable:     /usr/bin/solaar
interpreter:    python3-3.7.5-1.fc30.x86_64
kernel:         5.3.15-200.fc30.x86_64
package:        solaar-1.0.1-1.fc30
reason:         settings_templates.py:381:check_feature:AttributeError: '_SETTINGS_LIST' object has no attribute 'low_res_scroll'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 13 Dominik 'Rathann' Mierzejewski 2019-12-18 12:03:59 UTC
Thanks for the report, Frank. Can you test my copr build and see if it fixes the issue? https://copr.fedorainfracloud.org/coprs/rathann/solaar-bug-1754295/ .

Comment 14 Frank Büttner 2019-12-18 14:38:35 UTC
Hi Dominik,
I have installed it.
I see no python exceoptions and now it is also possible to adjust the mouse resolution.


Thanks for the patch.

Comment 15 Dominik 'Rathann' Mierzejewski 2019-12-18 16:31:10 UTC
Great, thanks for testing. I'll include the patch in the next package build.

Comment 16 Gavin Simpson 2020-01-20 15:53:22 UTC
Similar problem has been detected:

The crash report popped up following a reboot of the system and I logged in to Gnome Shell/Desktop.

reporter:       libreport-2.11.3
cmdline:        /usr/bin/python3 -s /usr/bin/solaar
crash_function: check_feature
exception_type: AttributeError
executable:     /usr/bin/solaar
interpreter:    python3-3.7.4-1.fc30.x86_64
kernel:         5.2.17-200.fc30.x86_64
package:        solaar-1.0.1-1.fc30
reason:         settings_templates.py:381:check_feature:AttributeError: '_SETTINGS_LIST' object has no attribute 'low_res_scroll'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 17 Manuel Andres Garcia Vazquez 2020-02-19 19:52:21 UTC
*** Bug 1804888 has been marked as a duplicate of this bug. ***

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

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

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

Comment 21 Fedora Update System 2020-03-24 19:55:26 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 22 Fedora Update System 2020-03-25 09:49:47 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 23 Fedora Update System 2020-03-25 09:50:03 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 24 Fedora Update System 2020-04-01 00:18:13 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 25 Fedora Update System 2020-04-01 01:55:25 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 26 Fedora Update System 2020-04-01 16:32:58 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 27 Fedora Update System 2020-04-02 09:19:00 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.