diversion.py:403:x11_focus_prog:AttributeError: 'int' object has no attribute 'get_full_property'
Created by: rathann
Information
- Solaar version (
solaar --versionorgit describe --tagsif cloned from this repository):1.1.2 - Distribution:
Fedora 35 and 36 - Kernel version (ex.
uname -srmo):5.16.18-200.fc35.x86_64and5.17.1-300.fc36.x86_64 - Output of
solaar show:N/A, I'll add it once reporters provide it.
Describe the bug I've got multiple users reporting that solaar is crashing after logging in to GNOME session on both Fedora 35 and 36.
To Reproduce Steps to reproduce the behavior:
- Install solaar-1.1.2
- Log out and log in to GNOME session
- solaar crashes with the following backtrace:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/logitech_receiver/diversion.py", line 317, in evaluate
result = component.evaluate(feature, notification, device, status, result)
File "/usr/lib/python3.10/site-packages/logitech_receiver/diversion.py", line 317, in evaluate
result = component.evaluate(feature, notification, device, status, result)
File "/usr/lib/python3.10/site-packages/logitech_receiver/diversion.py", line 317, in evaluate
result = component.evaluate(feature, notification, device, status, result)
File "/usr/lib/python3.10/site-packages/logitech_receiver/diversion.py", line 443, in evaluate
focus = x11_focus_prog() if x11 else None
File "/usr/lib/python3.10/site-packages/logitech_receiver/diversion.py", line 403, in x11_focus_prog
pid = window.get_full_property(NET_WM_PID, 0)
AttributeError: 'int' object has no attribute 'get_full_property'
Local variables in innermost frame:
pid: None
wm_class: None
window: 1
Additional context Downstream bug reports: