hyprland-community / pyprland

Scratchpads & many goodies for Hyprland [maintainer=@fdev31]
MIT License
345 stars 15 forks source link

[BUG] Scratchpad just plain broke #115

Closed roflcow2 closed 2 months ago

roflcow2 commented 2 months ago

Pyprland version 2.3.8

Describe the bug pypr terminal command does not know pypr dameon is running.

To Reproduce I'm not really sure. I just installed pypr today for scratchpads and I know pypr is running. My expose works from shortcut and my toggle scratchpad works to open the scratchpad; however, I cannot close it, and my pypr in terminal fails. I cannot call any of the plugin commands nor reload the config without getting an error at the top that says "Failed to open control socket, is pypr daemon running".

Expected behavior pyprland does pyprland stuff. I'm not trying to do anything but basic functionality.

Configuration (provide following files/samples when relevant):

plugins = [ "expose", "scratchpads", "system_notifier" ]

[scratchpads.todo] animation = "fromRight" class = "scratchpads" command = "todoist" size = "25% 75%" multi = true

[scratchpads.term] animation = "fromTop" class = "scratchpads" command = "foot" size = "10% 10%"

Scratchpads

bind = $mainMod SHIFT, S, submap, scratchpads submap = scratchpads bind =, Q, exec, pypr toggle todo bind =, T, exec, pypr toggle term bindrt =, Escape, submap, reset submap = reset

Pyprland Keybinds

bind = ALT, TAB, exec, pypr expose

Additional context Add any other context about the problem here.

roflcow2 commented 2 months ago

I made this post before testing the term scratchpad because pypr reload wouldn't work and I had to restart my hyprland to get it working and I wanted to type that out first. The term scratchpad works as intended with toggling. I'm not sure why the todo scratchpad is not closing and throwing an error. To be specific the error pops up in the top right corner saying Pypr error scratchpads:run_toggle:client_window not found or pypr integrity checkfailed:run_toggle:no address

roflcow2 commented 2 months ago

It needed a reboot. Holy shit I've been banging my head at this for an hour.

roflcow2 commented 2 months ago

Nevermind that only fixed 90% of the issue. Now my only remaining problem is the todo scrathpad errors. It will open the todoist app, but not toggle it out claiming a failed integrity check with no address or it can't find client window. This is the hyprctl client output for the todoist window that the scratchpad opened:

Window 5d510dcf7900 -> Todoist: mapped: 1 hidden: 0 at: 3848,392 size: 1064,930 workspace: 21 (21) floating: 0 monitor: 2 class: Todoist title: Todoist initialClass: Todoist initialTitle: Todoist pid: 2401 xwayland: 1 pinned: 0 fullscreen: 0 fullscreenmode: 0 fakefullscreen: 0 grouped: 0 tags: swallowing: 0 focusHistoryID: 1

roflcow2 commented 2 months ago

update I was trying to play around with my one working scratch pad and give it hyprland window rules and such and I'm not sure what's happened it's all gone to shit none of them work now. I've taken most of the settings out of pyprland.toml to narrow down what could be going wrong. at this point they are literally just [name] command=$. Here's my current pypr.log.

2024-06-21 20:33:14,942 [INFO] ipc :: Logger "ipc" initialized :: common.py:205 2024-06-21 20:33:14,942 [INFO] startup :: Logger "startup" initialized :: common.py:205 2024-06-21 20:33:14,942 [INFO] pypr :: Logger "pypr" initialized :: common.py:205 2024-06-21 20:33:15,007 [INFO] pypr :: Loading /home/christopher/.config/hypr/pyprland.toml :: command.py:89 2024-06-21 20:33:15,017 [INFO] pyprland :: Logger "pyprland" initialized :: common.py:205 2024-06-21 20:33:15,017 [DEBUG] pyprland :: version :: ipc.py:101 2024-06-21 20:33:19,480 [DEBUG] pyprland :: activeworkspace :: ipc.py:101 2024-06-21 20:33:19,488 [DEBUG] pyprland :: monitors :: ipc.py:101 2024-06-21 20:33:19,491 [INFO] pyprland :: configured :: command.py:154 2024-06-21 20:33:19,493 [INFO] expose :: Logger "expose" initialized :: common.py:205 2024-06-21 20:33:19,494 [INFO] expose :: configured :: command.py:154 2024-06-21 20:33:19,534 [INFO] scratchpads :: Logger "scratchpads" initialized :: common.py:205 2024-06-21 20:33:19,536 [INFO] scratchpads :: term is not running, starting... :: init.py:232 2024-06-21 20:33:19,537 [INFO] scratchpads :: scratch term (foot && hyprctl dispatch tagwindow +scratchpad) has pid 1082 :: init.py:253 2024-06-21 20:33:19,537 [INFO] scratchpads :: starting term :: init.py:207 2024-06-21 20:33:19,537 [INFO] scratchpads :: ==> Wait for term spawning :: init.py:161 2024-06-21 20:33:19,639 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:19,751 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:19,854 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:19,956 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,059 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,162 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,265 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,368 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,471 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,648 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:20,850 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:21,051 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:21,252 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:21,455 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:21,659 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:21,864 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:22,066 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:22,268 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:22,473 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:22,676 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:22,879 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:23,083 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:23,287 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:23,492 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:23,697 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:23,903 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:24,108 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:24,312 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:24,515 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:24,535 [INFO] scratchpads :: timed out on reload :: command.py:148 2024-06-21 20:33:24,535 [DEBUG] pypr :: ================================[ initialized ]================================= :: command.py:355 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('4',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 4 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('5',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 5 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('6',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 6 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('7',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 7 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('8',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 8 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('9',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 9 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('10',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 10 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('11',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 11 :: pyprland.py:81 2024-06-21 20:33:24,536 [DEBUG] pyprland :: event_workspace('12',) :: command.py:177 2024-06-21 20:33:24,536 [DEBUG] pyprland :: active_workspace = 12 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('13',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 13 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('14',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 14 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('15',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 15 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('16',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 16 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('17',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 17 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('18',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 18 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('19',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 19 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('20',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 20 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('21',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 21 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_focusedmon('DP-2,12',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_monitor = DP-2 :: pyprland.py:86 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_workspace('11',) :: command.py:177 2024-06-21 20:33:24,537 [DEBUG] pyprland :: active_workspace = 11 :: pyprland.py:81 2024-06-21 20:33:24,537 [DEBUG] pyprland :: event_focusedmon('HDMI-A-1,21',) :: command.py:177 2024-06-21 20:33:24,538 [DEBUG] pyprland :: active_monitor = HDMI-A-1 :: pyprland.py:86 2024-06-21 20:33:24,538 [DEBUG] scratchpads :: event_configreloaded('',) :: command.py:177 2024-06-21 20:33:24,538 [DEBUG] scratchpads :: event_openwindow('560ec417a720,1,foot,foot',) :: command.py:177 2024-06-21 20:33:24,538 [INFO] scratchpads :: Updating Scratch info :: init.py:370 2024-06-21 20:33:24,538 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:24,538 [INFO] scratchpads :: Didn't update scratch info <pyprland.plugins.scratchpads.Extension object at 0x76a5cfc13740> :: init.py:278 2024-06-21 20:33:24,538 [DEBUG] scratchpads :: event_configreloaded('',) :: command.py:177 2024-06-21 20:33:24,538 [DEBUG] scratchpads :: event_openwindow('560ec4124480,1 silent,firefox,Mozilla Firefox',) :: command.py:177 2024-06-21 20:33:24,538 [INFO] scratchpads :: Updating Scratch info :: init.py:370 2024-06-21 20:33:24,539 [DEBUG] scratchpads :: clients (CACHE HIT) :: ipc.py:98 2024-06-21 20:33:24,539 [INFO] scratchpads :: Didn't update scratch info <pyprland.plugins.scratchpads.Extension object at 0x76a5cfc13740> :: init.py:278 2024-06-21 20:33:29,945 [DEBUG] pyprland :: event_focusedmon('DP-2,11',) :: command.py:177 2024-06-21 20:33:29,945 [DEBUG] pyprland :: active_monitor = DP-2 :: pyprland.py:86 2024-06-21 20:33:32,292 [DEBUG] pyprland :: event_focusedmon('DP-1,1',) :: command.py:177 2024-06-21 20:33:32,292 [DEBUG] pyprland :: active_monitor = DP-1 :: pyprland.py:86 2024-06-21 20:33:32,937 [DEBUG] pyprland :: event_focusedmon('DP-2,11',) :: command.py:177 2024-06-21 20:33:32,938 [DEBUG] pyprland :: active_monitor = DP-2 :: pyprland.py:86 2024-06-21 20:33:33,124 [DEBUG] pyprland :: event_focusedmon('HDMI-A-1,21',) :: command.py:177 2024-06-21 20:33:33,125 [DEBUG] pyprland :: active_monitor = HDMI-A-1 :: pyprland.py:86 2024-06-21 20:33:33,577 [DEBUG] pyprland :: event_focusedmon('DP-2,11',) :: command.py:177 2024-06-21 20:33:33,578 [DEBUG] pyprland :: active_monitor = DP-2 :: pyprland.py:86 2024-06-21 20:33:33,717 [DEBUG] pyprland :: event_focusedmon('DP-1,1',) :: command.py:177 2024-06-21 20:33:33,718 [DEBUG] pyprland :: active_monitor = DP-1 :: pyprland.py:86 2024-06-21 20:33:37,737 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:33:37,737 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:33:37,738 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:33:38,589 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:33:38,589 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:33:38,589 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:33:50,293 [DEBUG] scratchpads :: run_toggle('spotify',) :: command.py:177 2024-06-21 20:33:50,293 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:33:50,293 [DEBUG] scratchpads :: spotify visibility: False and False :: init.py:447 2024-06-21 20:33:50,293 [INFO] scratchpads :: Showing spotify :: init.py:524 2024-06-21 20:33:50,293 [INFO] scratchpads :: spotify is not running, starting... :: init.py:232 2024-06-21 20:33:50,294 [INFO] scratchpads :: scratch spotify (spotify-launcher && hyprctl dispatch tagwindow +scratchpad) has pid 1830 :: init.py:253 2024-06-21 20:33:50,294 [INFO] scratchpads :: starting spotify :: init.py:207 2024-06-21 20:33:50,294 [INFO] scratchpads :: ==> Wait for spotify spawning :: init.py:161 2024-06-21 20:33:50,396 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:50,500 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:50,603 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:50,708 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:50,812 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:50,916 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,020 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,124 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,228 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,332 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,537 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,741 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:51,946 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:52,150 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:52,355 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:52,559 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:52,764 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:52,968 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:53,172 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:53,376 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:53,581 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:53,785 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:53,989 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:54,194 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:54,397 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:54,600 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:54,804 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:55,009 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:55,213 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:55,417 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:55,923 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:56,427 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:56,931 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:57,436 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:57,941 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:58,446 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:58,950 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:59,455 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:33:59,960 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:00,463 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:00,800 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:34:00,800 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:34:01,304 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:01,809 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:02,294 [ERROR] pypr :: Timeout running plugin scratchpads::functools.partial(<bound method Pyprland._run_plugin_handler of <pyprland.command.Pyprland object at 0x76a5cfd472f0>>, <pyprland.plugins.scratchpads.Extension object at 0x76a5cfc13740>, 'run_toggle', ('spotify',)) :: command.py:302 Traceback (most recent call last): File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut ^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 526, in run_show if not await self.ensure_alive(uid): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 233, in ensure_alive if not await self._start_scratch(item): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 208, in _start_scratch if not await self.wait_for_client(scratch): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 164, in wait_for_client await asyncio.sleep(interval) File "/usr/lib/python3.12/asyncio/tasks.py", line 665, in sleep return await future ^^^^^^^^^^^^ asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 300, in _plugin_runner_loop await asyncio.wait_for(task(), timeout=12.0) File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for async with timeouts.timeout(timeout): File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in aexit raise TimeoutError from exc_val TimeoutError 2024-06-21 20:34:02,296 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:34:02,296 [DEBUG] scratchpads :: event_openwindow('560ec3feae80,3 silent,Spotify,Spotify Premium',) :: command.py:177 2024-06-21 20:34:02,296 [INFO] scratchpads :: Updating Scratch info :: init.py:370 2024-06-21 20:34:02,296 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:02,296 [INFO] scratchpads :: Didn't update scratch info <pyprland.plugins.scratchpads.Extension object at 0x76a5cfc13740> :: init.py:278 2024-06-21 20:34:02,732 [DEBUG] scratchpads :: run_toggle('spotify',) :: command.py:177 2024-06-21 20:34:02,732 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:02,732 [DEBUG] scratchpads :: spotify visibility: False and False :: init.py:447 2024-06-21 20:34:02,732 [INFO] scratchpads :: Showing spotify :: init.py:524 2024-06-21 20:34:02,733 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:02,733 [ERROR] pypr :: scratchpads::run_toggle(('spotify',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 539, in run_show await scratch.initialize(self) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 83, in initialize await self.update_client_info() File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:34:02,734 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:34:08,560 [DEBUG] scratchpads :: run_toggle('spotify',) :: command.py:177 2024-06-21 20:34:08,561 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:08,561 [DEBUG] scratchpads :: spotify visibility: False and False :: init.py:447 2024-06-21 20:34:08,561 [INFO] scratchpads :: Showing spotify :: init.py:524 2024-06-21 20:34:08,562 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:08,562 [ERROR] pypr :: This could be a bug in Pyprland, if you think so, report on https://github.com/fdev31/pyprland/issues :: command.py:185 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 546, in run_show assert scratch.full_address, "No address !" ^^^^^^^^^^^^^^^^^^^^ AssertionError: No address ! 2024-06-21 20:34:08,563 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr integrity check failed on scratchpads::run_toggle: No address ! :: ipc.py:144 2024-06-21 20:34:14,566 [DEBUG] scratchpads :: run_toggle('term',) :: command.py:177 2024-06-21 20:34:14,566 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:14,566 [DEBUG] scratchpads :: term visibility: False and False :: init.py:447 2024-06-21 20:34:14,567 [INFO] scratchpads :: Showing term :: init.py:524 2024-06-21 20:34:14,567 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:34:14,568 [ERROR] pypr :: scratchpads::run_toggle(('term',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 539, in run_show await scratch.initialize(self) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 83, in initialize await self.update_client_info() File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:34:14,568 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:34:15,987 [DEBUG] scratchpads :: run_toggle('term',) :: command.py:177 2024-06-21 20:34:15,988 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:15,988 [DEBUG] scratchpads :: term visibility: False and False :: init.py:447 2024-06-21 20:34:15,988 [INFO] scratchpads :: Showing term :: init.py:524 2024-06-21 20:34:15,989 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:15,989 [ERROR] pypr :: This could be a bug in Pyprland, if you think so, report on https://github.com/fdev31/pyprland/issues :: command.py:185 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 546, in run_show assert scratch.full_address, "No address !" ^^^^^^^^^^^^^^^^^^^^ AssertionError: No address ! 2024-06-21 20:34:15,989 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr integrity check failed on scratchpads::run_toggle: No address ! :: ipc.py:144 2024-06-21 20:34:17,404 [DEBUG] scratchpads :: run_toggle('todo',) :: command.py:177 2024-06-21 20:34:17,404 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:17,404 [DEBUG] scratchpads :: todo visibility: False and False :: init.py:447 2024-06-21 20:34:17,404 [INFO] scratchpads :: Showing todo :: init.py:524 2024-06-21 20:34:17,405 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:17,405 [DEBUG] scratchpads :: keyword ['windowrule float,^(scratchpads)$', 'windowrule workspace special:scratch_todo silent,^(scratchpads)$', 'windowrule move 200% 108,^(scratchpads)$', 'windowrule size 1536 864,^(scratchpads)$'] :: ipc.py:144 2024-06-21 20:34:17,405 [INFO] scratchpads :: todo is not running, starting... :: init.py:232 2024-06-21 20:34:17,406 [INFO] scratchpads :: scratch todo (Todoist) has pid 2016 :: init.py:253 2024-06-21 20:34:17,406 [INFO] scratchpads :: starting todo :: init.py:207 2024-06-21 20:34:17,406 [INFO] scratchpads :: ==> Wait for todo spawning :: init.py:161 2024-06-21 20:34:17,508 [ERROR] scratchpads :: ⚠ Failed spawning todo as proc 2016 :: init.py:209 2024-06-21 20:34:17,509 [ERROR] scratchpads :: "Todoist": The command failed with code 127 :: init.py:216 2024-06-21 20:34:17,509 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) The command failed with code 127 :: ipc.py:144 2024-06-21 20:34:17,510 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Failed to show scratch "todo" :: ipc.py:144 2024-06-21 20:34:17,511 [ERROR] scratchpads :: Failed to show todo, aborting. :: init.py:527 2024-06-21 20:34:18,073 [DEBUG] scratchpads :: run_toggle('todo',) :: command.py:177 2024-06-21 20:34:18,073 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:18,073 [DEBUG] scratchpads :: todo visibility: False and False :: init.py:447 2024-06-21 20:34:18,073 [INFO] scratchpads :: Showing todo :: init.py:524 2024-06-21 20:34:18,074 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:18,074 [DEBUG] scratchpads :: keyword ['windowrule float,^(scratchpads)$', 'windowrule workspace special:scratch_todo silent,^(scratchpads)$', 'windowrule move 200% 108,^(scratchpads)$', 'windowrule size 1536 864,^(scratchpads)$'] :: ipc.py:144 2024-06-21 20:34:18,074 [INFO] scratchpads :: todo is not running, starting... :: init.py:232 2024-06-21 20:34:18,075 [INFO] scratchpads :: scratch todo (Todoist) has pid 2019 :: init.py:253 2024-06-21 20:34:18,075 [INFO] scratchpads :: starting todo :: init.py:207 2024-06-21 20:34:18,075 [INFO] scratchpads :: ==> Wait for todo spawning :: init.py:161 2024-06-21 20:34:18,177 [ERROR] scratchpads :: ⚠ Failed spawning todo as proc 2019 :: init.py:209 2024-06-21 20:34:18,178 [ERROR] scratchpads :: "Todoist": The command failed with code 127 :: init.py:216 2024-06-21 20:34:18,179 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) The command failed with code 127 :: ipc.py:144 2024-06-21 20:34:18,180 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Failed to show scratch "todo" :: ipc.py:144 2024-06-21 20:34:18,181 [ERROR] scratchpads :: Failed to show todo, aborting. :: init.py:527 2024-06-21 20:34:18,449 [DEBUG] scratchpads :: run_toggle('todo',) :: command.py:177 2024-06-21 20:34:18,449 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:18,449 [DEBUG] scratchpads :: todo visibility: False and False :: init.py:447 2024-06-21 20:34:18,449 [INFO] scratchpads :: Showing todo :: init.py:524 2024-06-21 20:34:18,450 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:18,450 [DEBUG] scratchpads :: keyword ['windowrule float,^(scratchpads)$', 'windowrule workspace special:scratch_todo silent,^(scratchpads)$', 'windowrule move 200% 108,^(scratchpads)$', 'windowrule size 1536 864,^(scratchpads)$'] :: ipc.py:144 2024-06-21 20:34:18,450 [INFO] scratchpads :: todo is not running, starting... :: init.py:232 2024-06-21 20:34:18,451 [INFO] scratchpads :: scratch todo (Todoist) has pid 2022 :: init.py:253 2024-06-21 20:34:18,451 [INFO] scratchpads :: starting todo :: init.py:207 2024-06-21 20:34:18,451 [INFO] scratchpads :: ==> Wait for todo spawning :: init.py:161 2024-06-21 20:34:18,552 [ERROR] scratchpads :: ⚠ Failed spawning todo as proc 2022 :: init.py:209 2024-06-21 20:34:18,553 [ERROR] scratchpads :: "Todoist": The command failed with code 127 :: init.py:216 2024-06-21 20:34:18,553 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) The command failed with code 127 :: ipc.py:144 2024-06-21 20:34:18,557 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Failed to show scratch "todo" :: ipc.py:144 2024-06-21 20:34:18,557 [ERROR] scratchpads :: Failed to show todo, aborting. :: init.py:527 2024-06-21 20:34:18,629 [DEBUG] scratchpads :: run_toggle('todo',) :: command.py:177 2024-06-21 20:34:18,629 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:18,629 [DEBUG] scratchpads :: todo visibility: False and False :: init.py:447 2024-06-21 20:34:18,629 [INFO] scratchpads :: Showing todo :: init.py:524 2024-06-21 20:34:18,629 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:18,630 [DEBUG] scratchpads :: keyword ['windowrule float,^(scratchpads)$', 'windowrule workspace special:scratch_todo silent,^(scratchpads)$', 'windowrule move 200% 108,^(scratchpads)$', 'windowrule size 1536 864,^(scratchpads)$'] :: ipc.py:144 2024-06-21 20:34:18,630 [INFO] scratchpads :: todo is not running, starting... :: init.py:232 2024-06-21 20:34:18,631 [INFO] scratchpads :: scratch todo (Todoist) has pid 2025 :: init.py:253 2024-06-21 20:34:18,631 [INFO] scratchpads :: starting todo :: init.py:207 2024-06-21 20:34:18,631 [INFO] scratchpads :: ==> Wait for todo spawning :: init.py:161 2024-06-21 20:34:18,732 [ERROR] scratchpads :: ⚠ Failed spawning todo as proc 2025 :: init.py:209 2024-06-21 20:34:18,733 [ERROR] scratchpads :: "Todoist": The command failed with code 127 :: init.py:216 2024-06-21 20:34:18,733 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) The command failed with code 127 :: ipc.py:144 2024-06-21 20:34:18,745 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Failed to show scratch "todo" :: ipc.py:144 2024-06-21 20:34:18,746 [ERROR] scratchpads :: Failed to show todo, aborting. :: init.py:527 2024-06-21 20:34:18,826 [DEBUG] scratchpads :: run_toggle('todo',) :: command.py:177 2024-06-21 20:34:18,826 [DEBUG] scratchpads :: visibility_check: ('', '') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:34:18,826 [DEBUG] scratchpads :: todo visibility: False and False :: init.py:447 2024-06-21 20:34:18,826 [INFO] scratchpads :: Showing todo :: init.py:524 2024-06-21 20:34:18,826 [DEBUG] scratchpads :: monitors :: ipc.py:101 2024-06-21 20:34:18,827 [DEBUG] scratchpads :: keyword ['windowrule float,^(scratchpads)$', 'windowrule workspace special:scratch_todo silent,^(scratchpads)$', 'windowrule move 200% 108,^(scratchpads)$', 'windowrule size 1536 864,^(scratchpads)$'] :: ipc.py:144 2024-06-21 20:34:18,827 [INFO] scratchpads :: todo is not running, starting... :: init.py:232 2024-06-21 20:34:18,827 [INFO] scratchpads :: scratch todo (Todoist) has pid 2028 :: init.py:253 2024-06-21 20:34:18,827 [INFO] scratchpads :: starting todo :: init.py:207 2024-06-21 20:34:18,827 [INFO] scratchpads :: ==> Wait for todo spawning :: init.py:161 2024-06-21 20:34:18,929 [ERROR] scratchpads :: ⚠ Failed spawning todo as proc 2028 :: init.py:209 2024-06-21 20:34:18,930 [ERROR] scratchpads :: "Todoist": The command failed with code 127 :: init.py:216 2024-06-21 20:34:18,930 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) The command failed with code 127 :: ipc.py:144 2024-06-21 20:34:18,931 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Failed to show scratch "todo" :: ipc.py:144 2024-06-21 20:34:18,932 [ERROR] scratchpads :: Failed to show todo, aborting. :: init.py:527 2024-06-21 20:35:55,939 [DEBUG] pyprland :: run_reload() :: command.py:177 2024-06-21 20:35:55,940 [INFO] pypr :: Loading /home/christopher/.config/hypr/pyprland.toml :: command.py:89 2024-06-21 20:35:55,940 [INFO] pyprland :: configured :: command.py:154 2024-06-21 20:35:55,940 [INFO] expose :: configured :: command.py:154 2024-06-21 20:35:55,940 [INFO] scratchpads :: configured :: command.py:154 2024-06-21 20:36:01,717 [DEBUG] scratchpads :: run_toggle('spotify',) :: command.py:177 2024-06-21 20:36:01,717 [DEBUG] scratchpads :: visibility_check: ('1', 'DP-1') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:36:01,718 [DEBUG] scratchpads :: spotify visibility: True and True :: init.py:447 2024-06-21 20:36:01,718 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:36:01,719 [ERROR] pypr :: scratchpads::run_toggle(('spotify',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 710, in run_hide await scratch.update_client_info(clients=clients) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:36:01,719 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:36:17,132 [DEBUG] pyprland :: run_reload() :: command.py:177 2024-06-21 20:36:17,132 [INFO] pypr :: Loading /home/christopher/.config/hypr/pyprland.toml :: command.py:89 2024-06-21 20:36:17,133 [INFO] pyprland :: configured :: command.py:154 2024-06-21 20:36:17,133 [INFO] expose :: configured :: command.py:154 2024-06-21 20:36:17,133 [INFO] scratchpads :: configured :: command.py:154 2024-06-21 20:36:22,778 [DEBUG] pyprland :: run_reload() :: command.py:177 2024-06-21 20:36:22,778 [INFO] pypr :: Loading /home/christopher/.config/hypr/pyprland.toml :: command.py:89 2024-06-21 20:36:22,778 [INFO] pyprland :: configured :: command.py:154 2024-06-21 20:36:22,779 [INFO] expose :: configured :: command.py:154 2024-06-21 20:36:22,779 [INFO] scratchpads :: configured :: command.py:154 2024-06-21 20:36:26,805 [DEBUG] scratchpads :: run_toggle('spotify',) :: command.py:177 2024-06-21 20:36:26,806 [DEBUG] scratchpads :: visibility_check: ('1', 'DP-1') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:36:26,806 [DEBUG] scratchpads :: spotify visibility: True and True :: init.py:447 2024-06-21 20:36:26,806 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:36:26,807 [ERROR] pypr :: scratchpads::run_toggle(('spotify',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 710, in run_hide await scratch.update_client_info(clients=clients) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:36:26,807 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:36:30,326 [DEBUG] scratchpads :: run_toggle('spotify',) :: command.py:177 2024-06-21 20:36:30,326 [DEBUG] scratchpads :: visibility_check: ('1', 'DP-1') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:36:30,326 [DEBUG] scratchpads :: spotify visibility: True and True :: init.py:447 2024-06-21 20:36:30,327 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:36:30,327 [ERROR] pypr :: scratchpads::run_toggle(('spotify',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 710, in run_hide await scratch.update_client_info(clients=clients) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:36:30,327 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:36:39,820 [DEBUG] scratchpads :: run_toggle('term',) :: command.py:177 2024-06-21 20:36:39,820 [DEBUG] scratchpads :: visibility_check: ('1', 'DP-1') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:36:39,821 [DEBUG] scratchpads :: term visibility: True and True :: init.py:447 2024-06-21 20:36:39,821 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:36:39,822 [ERROR] pypr :: scratchpads::run_toggle(('term',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 710, in run_hide await scratch.update_client_info(clients=clients) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:36:39,822 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:36:40,832 [DEBUG] scratchpads :: run_toggle('term',) :: command.py:177 2024-06-21 20:36:40,832 [DEBUG] scratchpads :: visibility_check: ('1', 'DP-1') == ('1', 'DP-1') :: init.py:421 2024-06-21 20:36:40,832 [DEBUG] scratchpads :: term visibility: True and True :: init.py:447 2024-06-21 20:36:40,832 [DEBUG] scratchpads :: clients :: ipc.py:101 2024-06-21 20:36:40,833 [ERROR] pypr :: scratchpads::run_toggle(('term',)) failed: :: command.py:188 Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyprland/command.py", line 183, in _run_plugin_handler await getattr(plugin, full_name)(params) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 452, in run_toggle await asyncio.gather((asyncio.create_task(t()) for t in tasks)) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/init.py", line 710, in run_hide await scratch.update_client_info(clients=clients) File "/usr/lib/python3.12/site-packages/pyprland/plugins/scratchpads/objects.py", line 151, in update_client_info raise KeyError(msg) KeyError: 'Client window not found' 2024-06-21 20:36:40,833 [DEBUG] ipc :: notify 0 5000 rgb(ff1010) Pypr error scratchpads::run_toggle: 'Client window not found' :: ipc.py:144 2024-06-21 20:37:01,008 [DEBUG] pyprland :: event_focusedmon('DP-2,11',) :: command.py:177 2024-06-21 20:37:01,008 [DEBUG] pyprland :: active_monitor = DP-2 :: pyprland.py:86 2024-06-21 20:37:01,129 [DEBUG] pyprland :: event_focusedmon('DP-1,1',) :: command.py:177 2024-06-21 20:37:01,129 [DEBUG] pyprland :: active_monitor = DP-1 :: pyprland.py:86 2024-06-21 20:37:01,419 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:01,420 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:37:01,420 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:01,657 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:01,657 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:37:01,657 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:02,478 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:02,478 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:37:02,478 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:02,586 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:37:02,586 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:37:02,586 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:38:33,703 [DEBUG] pyprland :: event_focusedmon('DP-2,11',) :: command.py:177 2024-06-21 20:38:33,703 [DEBUG] pyprland :: active_monitor = DP-2 :: pyprland.py:86 2024-06-21 20:38:35,992 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:38:35,993 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:38:35,993 [DEBUG] pyprland :: event_focusedmon('DP-1,1',) :: command.py:177 2024-06-21 20:38:35,993 [DEBUG] pyprland :: active_monitor = DP-1 :: pyprland.py:86 2024-06-21 20:38:35,993 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:40:26,736 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:40:26,737 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:40:26,737 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:40:48,255 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:40:48,255 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:40:48,255 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:40:54,040 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:40:54,040 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:40:54,041 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:41:16,728 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:41:16,728 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:41:16,729 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:41:33,063 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:41:33,063 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:41:33,064 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:41:42,152 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:41:42,152 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:41:42,153 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:42:03,669 [DEBUG] pyprland :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:42:03,670 [DEBUG] pyprland :: active_window = 0x560ec4124480 :: pyprland.py:76 2024-06-21 20:42:03,670 [DEBUG] scratchpads :: event_activewindowv2('560ec4124480',) :: command.py:177 2024-06-21 20:42:11,132 [DEBUG] pyprland :: event_activewindowv2('560ec417a720',) :: command.py:177 2024-06-21 20:42:11,132 [DEBUG] pyprland :: active_window = 0x560ec417a720 :: pyprland.py:76 2024-06-21 20:42:11,132 [DEBUG] scratchpads :: event_activewindowv2('560ec417a720',) :: command.py:177

fdev31 commented 2 months ago

Use the "class" attribute of the client in the "class" option in the config, eg: instead of

 class = "scratchpads"

use

 class = "Todoist"
roflcow2 commented 2 months ago

yea I realized this later. I only did that because of this video https://www.youtube.com/watch?v=CwGlm-rpok4&t=261s and realized my mistake shortly. As I said earlier at this point to try to figure out what is going wrong the only thing in my scratchpad config is the respective commands.

[scratchpads.term] command = "foot"

[scratchpads.todo] command = "todoist"

the term scratchpad works, but I cannot figure out a way to make it floating and the todo will open the todoist app, but then says client window not found when trying to close it.

roflcow2 commented 2 months ago

I just tried adding class = "Todoist" to the above and got the same behavior

fdev31 commented 2 months ago

Did you restart the system to be sure everything is clean? Do you still get 'Client window not found' in the logs?

roflcow2 commented 2 months ago

Did you restart the system to be sure everything is clean? Do you still get 'Client window not found' in the logs?

yes. I've restarted a multitude of times

roflcow2 commented 2 months ago

Welp this sucks as I heard pyprland was the best scratchpads out for hyprland rn. I'll look into other alternatives as I still cannot figure out what I've done wrong.

fdev31 commented 2 months ago

It could be the app itself... try options for special apps. If you don't have any success send me fresh full logs of a minimal session expressing the issue + clients list. At the moment it looks like it should work...

Le mer. 26 juin 2024, 23:35, Christopher Davies @.***> a écrit :

Welp this sucks as I heard pyprland was the best scratchpads out for hyprland rn. I'll look into other alternatives as I still cannot figure out what I've done wrong.

— Reply to this email directly, view it on GitHub https://github.com/hyprland-community/pyprland/issues/115#issuecomment-2192664047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB2IHW4BZOCTB3PGLRINBDZJMX3BAVCNFSM6AAAAABJW32G62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSGY3DIMBUG4 . You are receiving this because you modified the open/close state.Message ID: @.***>

fdev31 commented 2 months ago

To be clear, try using the options from https://hyprland-community.github.io/pyprland/scratchpads_nonstandard.html for the buggy scratchpad