Bug 2295400 - [abrt] solaar: write(): base.py:222:write:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'written 0 bytes out of expected 20')}
Summary: [abrt] solaar: write(): base.py:222:write:logitech_receiver.base.NoReceiver: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 39
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:d23bbcd8b073d9abadd4560001d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-03 12:26 UTC by strasharo2000
Modified: 2024-08-01 01:25 UTC (History)
4 users (show)

Fixed In Version: solaar-1.1.13-1.fc40 solaar-1.1.13-1.fc39
Clone Of:
Environment:
Last Closed: 2024-07-25 01:29:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.44 KB, text/plain)
2024-07-03 12:26 UTC, strasharo2000
no flags Details
File: namespaces (171 bytes, text/plain)
2024-07-03 12:26 UTC, strasharo2000
no flags Details
File: open_fds (1.60 KB, text/plain)
2024-07-03 12:26 UTC, strasharo2000
no flags Details
File: mountinfo (6.48 KB, text/plain)
2024-07-03 12:27 UTC, strasharo2000
no flags Details
File: cpuinfo (3.03 KB, text/plain)
2024-07-03 12:27 UTC, strasharo2000
no flags Details
File: os_info (709 bytes, text/plain)
2024-07-03 12:27 UTC, strasharo2000
no flags Details
File: environ (1.43 KB, text/plain)
2024-07-03 12:27 UTC, strasharo2000
no flags Details

Description strasharo2000 2024-07-03 12:26:53 UTC
Description of problem:
Appeared on logon, no specific action was performed from my side. Freshly booted system.

Version-Release number of selected component:
solaar-1.1.11-1.fc39

Additional info:
reporter:       libreport-2.17.11
comment:        Appeared on logon, no specific action was performed from my side. Freshly booted system.
interpreter:    python3-3.12.3-2.fc39.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/solaar --window=hide
executable:     /usr/bin/solaar
kernel:         6.9.6-100.fc39.x86_64
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
type:           Python3
reason:         base.py:222:write:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'written 0 bytes out of expected 20')}
package:        solaar-1.1.11-1.fc39
crash_function: write
uid:            1000
runlevel:       N 5
exception_type: OSError

Truncated backtrace:
base.py:222:write:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'written 0 bytes out of expected 20')}

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/logitech_receiver/base.py", line 218, in write
    _hid.write(int(handle), wdata)
  File "/usr/lib/python3.12/site-packages/hidapi/udev.py", line 386, in write
    raise OSError(_errno.EIO, 'written %d bytes out of expected %d' % (bytes_written, len(data)))
OSError: [Errno 5] written 0 bytes out of expected 20

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/solaar/ui/window.py", line 391, in _device_selected
    _update_info_panel(device, full=True)
  File "/usr/lib/python3.12/site-packages/solaar/ui/window.py", line 782, in _update_info_panel
    _update_device_panel(device, _info._device, _info._buttons, full)
  File "/usr/lib/python3.12/site-packages/solaar/ui/window.py", line 669, in _update_device_panel
    device.status.read_battery(device)
  File "/usr/lib/python3.12/site-packages/logitech_receiver/status.py", line 250, in read_battery
    battery = self._device.battery()
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/logitech_receiver/device.py", line 396, in battery
    return _hidpp10.get_battery(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/logitech_receiver/hidpp10.py", line 218, in get_battery
    reply = read_register(device, REGISTERS.battery_charge)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/logitech_receiver/hidpp10.py", line 190, in read_register
    return device.request(request_id, *params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/logitech_receiver/device.py", line 469, in request
    return _base.request(
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/logitech_receiver/base.py", line 426, in request
    write(ihandle, devnumber, request_data, long_message)
  File "/usr/lib/python3.12/site-packages/logitech_receiver/base.py", line 222, in write
    raise NoReceiver(reason=reason)
logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'written 0 bytes out of expected 20')}

Local variables in innermost frame:
handle: 19
devnumber: 255
data: b'\x81\r'
long_message: True
wdata: b'\x11\xff\x81\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

Comment 1 strasharo2000 2024-07-03 12:26:56 UTC
Created attachment 2038755 [details]
File: backtrace

Comment 2 strasharo2000 2024-07-03 12:26:58 UTC
Created attachment 2038756 [details]
File: namespaces

Comment 3 strasharo2000 2024-07-03 12:26:59 UTC
Created attachment 2038757 [details]
File: open_fds

Comment 4 strasharo2000 2024-07-03 12:27:00 UTC
Created attachment 2038758 [details]
File: mountinfo

Comment 5 strasharo2000 2024-07-03 12:27:02 UTC
Created attachment 2038759 [details]
File: cpuinfo

Comment 6 strasharo2000 2024-07-03 12:27:03 UTC
Created attachment 2038760 [details]
File: os_info

Comment 7 strasharo2000 2024-07-03 12:27:04 UTC
Created attachment 2038761 [details]
File: environ

Comment 8 Fedora Update System 2024-07-23 17:42:55 UTC
FEDORA-2024-4b5ab596e6 (solaar-1.1.13-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b5ab596e6

Comment 9 Fedora Update System 2024-07-23 17:43:16 UTC
FEDORA-2024-b045d46092 (solaar-1.1.13-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b045d46092

Comment 10 Fedora Update System 2024-07-24 03:51:48 UTC
FEDORA-2024-b045d46092 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b045d46092`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b045d46092

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

Comment 11 Fedora Update System 2024-07-24 04:18:03 UTC
FEDORA-2024-4b5ab596e6 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4b5ab596e6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b5ab596e6

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

Comment 12 Fedora Update System 2024-07-25 01:29:07 UTC
FEDORA-2024-b045d46092 (solaar-1.1.13-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-08-01 01:25:08 UTC
FEDORA-2024-4b5ab596e6 (solaar-1.1.13-1.fc39) has been pushed to the Fedora 39 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.