Bug 2071252 - [abrt] solaar: x11_focus_prog(): diversion.py:403:x11_focus_prog:AttributeError: 'int' object has no attribute 'get_full_property'
Summary: [abrt] solaar: x11_focus_prog(): diversion.py:403:x11_focus_prog:AttributeErr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 36
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:57bcf70210d8e480b5fb417d621...
: 2075999 (view as bug list)
Depends On: 2078519
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-02 11:56 UTC by Kapoios Kanenas
Modified: 2022-05-07 04:38 UTC (History)
6 users (show)

Fixed In Version: solaar-1.1.3-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-07 04:38:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.07 KB, text/plain)
2022-04-02 11:56 UTC, Kapoios Kanenas
no flags Details
File: cpuinfo (2.80 KB, text/plain)
2022-04-02 11:56 UTC, Kapoios Kanenas
no flags Details
File: environ (2.10 KB, text/plain)
2022-04-02 11:56 UTC, Kapoios Kanenas
no flags Details
File: mountinfo (3.69 KB, text/plain)
2022-04-02 11:56 UTC, Kapoios Kanenas
no flags Details
File: namespaces (172 bytes, text/plain)
2022-04-02 11:56 UTC, Kapoios Kanenas
no flags Details
File: open_fds (2.35 KB, text/plain)
2022-04-02 11:56 UTC, Kapoios Kanenas
no flags Details
solaar -d show (15.43 KB, text/plain)
2022-04-17 20:54 UTC, Kapoios Kanenas
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pwr-Solaar Solaar issues 1537 0 None open diversion.py:403:x11_focus_prog:AttributeError: 'int' object has no attribute 'get_full_property' 2022-04-04 21:53:57 UTC

Description Kapoios Kanenas 2022-04-02 11:56:14 UTC
Description of problem:
Started Gnome session on Wayland with NVIDIA drivers

Version-Release number of selected component:
solaar-1.1.2-1.fc36

Additional info:
reporter:       libreport-2.17.1
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-solaar-43249.scope
cmdline:        /usr/bin/python3 -s /usr/bin/solaar --window=hide
crash_function: x11_focus_prog
exception_type: AttributeError
executable:     /usr/bin/solaar
interpreter:    python3-3.10.4-1.fc36.x86_64
kernel:         5.17.1-300.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
diversion.py:403:x11_focus_prog:AttributeError: 'int' object has no attribute 'get_full_property'

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

Potential duplicate: bug 2070753

Comment 1 Kapoios Kanenas 2022-04-02 11:56:17 UTC
Created attachment 1870139 [details]
File: backtrace

Comment 2 Kapoios Kanenas 2022-04-02 11:56:18 UTC
Created attachment 1870140 [details]
File: cpuinfo

Comment 3 Kapoios Kanenas 2022-04-02 11:56:19 UTC
Created attachment 1870141 [details]
File: environ

Comment 4 Kapoios Kanenas 2022-04-02 11:56:21 UTC
Created attachment 1870142 [details]
File: mountinfo

Comment 5 Kapoios Kanenas 2022-04-02 11:56:22 UTC
Created attachment 1870143 [details]
File: namespaces

Comment 6 Kapoios Kanenas 2022-04-02 11:56:23 UTC
Created attachment 1870144 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2022-04-04 21:48:35 UTC
Thanks for the report! Please provide the output of `solaar -d show`. Are you running GNOME on Wayland?

Comment 8 Dominik 'Rathann' Mierzejewski 2022-04-04 21:53:07 UTC
Oh, and can we make this bug report public so that upstream developers can see it, too?

Comment 9 Kapoios Kanenas 2022-04-17 20:54:34 UTC
Created attachment 1873124 [details]
solaar -d show

Comment 10 Kapoios Kanenas 2022-04-17 20:58:14 UTC
Yes, it is running GNOME on Wayland (with Nvidia)
Also under Fedora 36 with Nvidia drivers. 

Attached the log. Note I had to remove solaar because it seems to intefer with suspend although it is probably the nvidia drivers. 


Feel free to make it public, I can't seem to be able to do it myself.

Comment 11 Dominik 'Rathann' Mierzejewski 2022-04-20 21:14:18 UTC
This will be fixed in the next version (1.1.3). Thanks again for the report.

Comment 12 Dominik 'Rathann' Mierzejewski 2022-05-05 09:46:31 UTC
*** Bug 2075999 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2022-05-05 12:05:59 UTC
FEDORA-2022-aa813cde04 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-aa813cde04

Comment 14 somethingsomethingfedora 2022-05-06 13:43:22 UTC
Similar problem has been detected:

Occurs every time on login after system boot

reporter:       libreport-2.17.1
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-solaar-3639.scope
cmdline:        /usr/bin/python3 -s /usr/bin/solaar --window=hide
crash_function: x11_focus_prog
exception_type: AttributeError
executable:     /usr/bin/solaar
interpreter:    python3-3.10.4-1.fc36.x86_64
kernel:         5.17.3-302.fc36.x86_64
package:        solaar-1.1.2-1.fc36
reason:         diversion.py:403:x11_focus_prog:AttributeError: 'int' object has no attribute 'get_full_property'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 15 Fedora Update System 2022-05-07 04:38:05 UTC
FEDORA-2022-aa813cde04 has been pushed to the Fedora 36 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.