Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {} #36

Open
0xbrayo opened this issue Jan 9, 2025 · 1 comment

Comments

@0xbrayo
Copy link

0xbrayo commented Jan 9, 2025

Had this error earlier today. I have set the systemd service to restart on failure but unfortunately this does not exit with an error. Consider exiting after an extended period of not sending heartbeats because of an error.

Jan 09 18:47:22 arch aw-awatcher[2633]: [2025-01-09 15:47:22.251482 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {}
Jan 09 18:47:23 arch aw-awatcher[2633]: [2025-01-09 15:47:23.253342 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {}
Jan 09 18:47:24 arch aw-awatcher[2633]: [2025-01-09 15:47:24.255658 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {}
Jan 09 18:47:25 arch aw-awatcher[2633]: [2025-01-09 15:47:25.257724 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {}
Jan 09 18:47:26 arch aw-awatcher[2633]: [2025-01-09 15:47:26.259694 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {}
Jan 09 19:01:51 arch aw-awatcher[2633]: [2025-01-09 16:01:51.727851 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {"title":null,"wm_class":null,"wm_class_instance":null,"pid":2241,"id":3130974161,"width":311,"height":373,"x":964,"y":96,"focus":true,"in_current_workspace":true,"moveable":false,"resizeable":false,"canclose":false,"canmaximize":false,"maximized":0,"canminimize":false,"display":{},"frame_type":7,"window_type":9,"layer":2,"monitor":0,"role":null,"area":{},"area_all":{},"area_cust":{}}
Jan 09 19:01:52 arch aw-awatcher[2633]: [2025-01-09 16:01:52.732042 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {"title":null,"wm_class":null,"wm_class_instance":null,"pid":2241,"id":3130974161,"width":311,"height":373,"x":964,"y":96,"focus":true,"in_current_workspace":true,"moveable":false,"resizeable":false,"canclose":false,"canmaximize":false,"maximized":0,"canminimize":false,"display":{},"frame_type":7,"window_type":9,"layer":2,"monitor":0,"role":null,"area":{},"area_all":{},"area_cust":{}}
Jan 09 19:01:53 arch aw-awatcher[2633]: [2025-01-09 16:01:53.735730 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {"title":null,"wm_class":null,"wm_class_instance":null,"pid":2241,"id":3130974161,"width":311,"height":373,"x":964,"y":96,"focus":true,"in_current_workspace":true,"moveable":false,"resizeable":false,"canclose":false,"canmaximize":false,"maximized":0,"canminimize":false,"display":{},"frame_type":7,"window_type":9,"layer":2,"monitor":0,"role":null,"area":{},"area_all":{},"area_cust":{}}
Jan 09 19:01:54 arch aw-awatcher[2633]: [2025-01-09 16:01:54.738770 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {"title":null,"wm_class":null,"wm_class_instance":null,"pid":2241,"id":3130974161,"width":311,"height":373,"x":964,"y":96,"focus":true,"in_current_workspace":true,"moveable":false,"resizeable":false,"canclose":false,"canmaximize":false,"maximized":0,"canminimize":false,"display":{},"frame_type":7,"window_type":9,"layer":2,"monitor":0,"role":null,"area":{},"area_all":{},"area_cust":{}}
Jan 09 19:01:55 arch aw-awatcher[2633]: [2025-01-09 16:01:55.745818 ERROR watchers::watchers] Error on active window iteration: DBus interface org.gnome.shell.extensions.FocusedWindow returned wrong JSON: {"title":null,"wm_class":null,"wm_class_instance":null,"pid":2241,"id":3130974161,"width":311,"height":373,"x":964,"y":96,"focus":true,"in_current_workspace":true,"moveable":false,"resizeable":false,"canclose":false,"canmaximize":false,"maximized":0,"canminimize":false,"display":{},"frame_type":7,"window_type":9,"layer":2,"monitor":0,"role":null,"area":{},"area_all":{},"area_cust":{}}
Jan 09 19:39:25 arch aw-awatcher[2633]: [2025-01-09 16:39:25.672264 ERROR watchers::watchers] Timeout on active window iteration after 1s
Jan 09 19:39:25 arch aw-awatcher[2633]: [2025-01-09 16:39:25.799835 ERROR watchers::watchers] Error on idle iteration: org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
Jan 09 19:39:26 arch aw-awatcher[2633]: [2025-01-09 16:39:26.674345 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:27 arch aw-awatcher[2633]: [2025-01-09 16:39:27.675941 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:28 arch aw-awatcher[2633]: [2025-01-09 16:39:28.677204 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:29 arch aw-awatcher[2633]: [2025-01-09 16:39:29.678920 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:30 arch aw-awatcher[2633]: [2025-01-09 16:39:30.680240 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:30 arch aw-awatcher[2633]: [2025-01-09 16:39:30.801606 ERROR watchers::watchers] Error on idle iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:31 arch aw-awatcher[2633]: [2025-01-09 16:39:31.681588 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:32 arch aw-awatcher[2633]: [2025-01-09 16:39:32.682494 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:33 arch aw-awatcher[2633]: [2025-01-09 16:39:33.683838 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:34 arch aw-awatcher[2633]: [2025-01-09 16:39:34.685855 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:35 arch aw-awatcher[2633]: [2025-01-09 16:39:35.687186 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:35 arch aw-awatcher[2633]: [2025-01-09 16:39:35.802646 ERROR watchers::watchers] Error on idle iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:36 arch aw-awatcher[2633]: [2025-01-09 16:39:36.688087 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:37 arch aw-awatcher[2633]: [2025-01-09 16:39:37.689520 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:38 arch aw-awatcher[2633]: [2025-01-09 16:39:38.690733 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:39 arch aw-awatcher[2633]: [2025-01-09 16:39:39.690984 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
Jan 09 19:39:40 arch aw-awatcher[2633]: [2025-01-09 16:39:40.692197 ERROR watchers::watchers] Error on active window iteration: I/O error: Broken pipe (os error 32)
@0xbrayo
Copy link
Author

0xbrayo commented Jan 9, 2025

Might be related to #12 since it was after logging out and logging in to restart the wayland session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant