Bug 1921575 - [abrt] solaar: request(): device.py:425:request:AttributeError: 'NoneType' object has no attribute 'handle'
Summary: [abrt] solaar: request(): device.py:425:request:AttributeError: 'NoneType' ob...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 33
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:0ade1a85aa42fddb94e69532a6e...
: 1944421 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 08:59 UTC by Clémence Lesné
Modified: 2023-09-15 00:59 UTC (History)
5 users (show)

Fixed In Version: solaar-1.0.6-1.fc34 solaar-1.0.6-1.fc33 solaar-1.0.6-1.fc32
Clone Of:
Environment:
Last Closed: 2021-05-14 17:50:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.44 KB, text/plain)
2021-01-28 08:59 UTC, Clémence Lesné
no flags Details
File: cpuinfo (2.38 KB, text/plain)
2021-01-28 08:59 UTC, Clémence Lesné
no flags Details
File: environ (1.36 KB, text/plain)
2021-01-28 08:59 UTC, Clémence Lesné
no flags Details
File: mountinfo (3.66 KB, text/plain)
2021-01-28 08:59 UTC, Clémence Lesné
no flags Details
File: namespaces (172 bytes, text/plain)
2021-01-28 08:59 UTC, Clémence Lesné
no flags Details
File: open_fds (1.58 KB, text/plain)
2021-01-28 08:59 UTC, Clémence Lesné
no flags Details

Description Clémence Lesné 2021-01-28 08:59:32 UTC
Version-Release number of selected component:
solaar-1.0.4-3.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app-gnome-solaar-3632.scope
cmdline:        /usr/bin/python3 -s /usr/bin/solaar --window=hide
crash_function: request
exception_type: AttributeError
executable:     /usr/bin/solaar
interpreter:    python3-3.9.1-2.fc33.x86_64
kernel:         5.10.10-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
device.py:425:request:AttributeError: 'NoneType' object has no attribute 'handle'

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/solaar/listener.py", line 377, in _process_receiver_event
    _start(device_info)
  File "/usr/lib/python3.9/site-packages/solaar/listener.py", line 286, in _start
    receiver.status.changed(True)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/status.py", line 307, in changed
    for s in d.settings:
  File "/usr/lib/python3.9/site-packages/logitech_receiver/device.py", line 341, in settings
    self._feature_settings_checked = _check_feature_settings(self, self._settings)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/settings_templates.py", line 763, in check_feature_settings
    setting = check_feature(device, name, featureId, featureFn)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/settings_templates.py", line 741, in check_feature
    if featureId not in device.features:
  File "/usr/lib/python3.9/site-packages/logitech_receiver/hidpp20.py", line 315, in __contains__
    reply = self.device.request(0x0000, _pack('!H', ivalue))
  File "/usr/lib/python3.9/site-packages/logitech_receiver/device.py", line 425, in request
    self.handle or self.receiver.handle,
AttributeError: 'NoneType' object has no attribute 'handle'

Local variables in innermost frame:
self: <Device(0,B023,MX Master 3 Wireless Mouse,?)>
request_id: 0
no_reply: False
params: (b'e\x01',)

Comment 1 Clémence Lesné 2021-01-28 08:59:36 UTC
Created attachment 1751615 [details]
File: backtrace

Comment 2 Clémence Lesné 2021-01-28 08:59:37 UTC
Created attachment 1751616 [details]
File: cpuinfo

Comment 3 Clémence Lesné 2021-01-28 08:59:39 UTC
Created attachment 1751617 [details]
File: environ

Comment 4 Clémence Lesné 2021-01-28 08:59:40 UTC
Created attachment 1751618 [details]
File: mountinfo

Comment 5 Clémence Lesné 2021-01-28 08:59:42 UTC
Created attachment 1751619 [details]
File: namespaces

Comment 6 Clémence Lesné 2021-01-28 08:59:43 UTC
Created attachment 1751620 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2021-01-30 19:56:50 UTC
Please attach output of:

solaar show

Can you describe the sequence of actions to trigger this error?

If yes, please kill all solaar instances and launch it using
solaar -dd
from a terminal window. Then, reproduce the issue and attach the output of solaar here.

Comment 8 Dominik 'Rathann' Mierzejewski 2021-05-11 23:00:21 UTC
*** Bug 1944421 has been marked as a duplicate of this bug. ***

Comment 9 Fedora Update System 2021-05-11 23:17:40 UTC
FEDORA-2021-5ac5f16b04 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5ac5f16b04

Comment 10 Fedora Update System 2021-05-11 23:17:41 UTC
FEDORA-2021-2334108276 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2334108276

Comment 11 Fedora Update System 2021-05-11 23:17:42 UTC
FEDORA-2021-b0a92f8297 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b0a92f8297

Comment 12 Fedora Update System 2021-05-12 06:13:24 UTC
FEDORA-2021-5ac5f16b04 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-5ac5f16b04`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5ac5f16b04

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

Comment 13 Fedora Update System 2021-05-12 06:50:25 UTC
FEDORA-2021-2334108276 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2334108276`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2334108276

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

Comment 14 Fedora Update System 2021-05-12 07:05:59 UTC
FEDORA-2021-b0a92f8297 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b0a92f8297`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b0a92f8297

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

Comment 15 Fedora Update System 2021-05-14 17:50:07 UTC
FEDORA-2021-b0a92f8297 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2021-05-15 00:55:21 UTC
FEDORA-2021-2334108276 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2021-05-20 01:27:05 UTC
FEDORA-2021-5ac5f16b04 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Red Hat Bugzilla 2023-09-15 00:59:25 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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