[BUG]: komorebic generate-static-config hangs indefinitely #244

Closed
opened 2026-01-05 14:49:14 +01:00 by adam · 3 comments
Owner

Originally created by @juancarlis on GitHub (Sep 21, 2023).

Describe the bug
When running the komorebic generate-static-config command, it hangs indefinitely and doesn't seem to complete the task. I've waited for several minutes without any progress.

To Reproduce
Steps to reproduce the behavior:

  1. Install komorebi via Scoop.
  2. Run the command komorebic generate-static-config.

Expected behavior
The command should generate the static config in a reasonable amount of time I guess.

Screenshots and Videos
image

Operating System

OS Name:              Microsoft Windows 11 Pro
OS Version:             10.0.22621 N/D Build 22621

komorebic check Output
Provide the output of komorebic check

For example:

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\jicarlis

Looking for configuration files in C:\Users\jicarlis

Found komorebi.ps1; this file will be autoloaded by komorebi

Found ~/.config/whkdrc; key bindings will be loaded from here when whkd is started

Additional context
Add any other context about the problem here.

  • I've tried reinstalling komorebi but the issue persists.
  • No relevant logs or error messages are displayed in the terminal.
  • System resources (CPU, RAM) are not under heavy load when running the command.
  • No other AHK scripts or window management software are running in the background.
Originally created by @juancarlis on GitHub (Sep 21, 2023). **Describe the bug** When running the komorebic generate-static-config command, it hangs indefinitely and doesn't seem to complete the task. I've waited for several minutes without any progress. **To Reproduce** Steps to reproduce the behavior: 1. Install komorebi via Scoop. 2. Run the command komorebic generate-static-config. **Expected behavior** The command should generate the static config in a reasonable amount of time I guess. **Screenshots and Videos** ![image](https://github.com/LGUG2Z/komorebi/assets/12885707/3ba16bde-4264-40e4-9bb9-7cdbf00e28ac) **Operating System** ``` OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22621 N/D Build 22621 ``` **`komorebic check` Output** Provide the output of `komorebic check` For example: ``` No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\jicarlis Looking for configuration files in C:\Users\jicarlis Found komorebi.ps1; this file will be autoloaded by komorebi Found ~/.config/whkdrc; key bindings will be loaded from here when whkd is started ``` **Additional context** Add any other context about the problem here. - I've tried reinstalling komorebi but the issue persists. - No relevant logs or error messages are displayed in the terminal. - System resources (CPU, RAM) are not under heavy load when running the command. - No other AHK scripts or window management software are running in the background.
adam added the bug label 2026-01-05 14:49:14 +01:00
adam closed this issue 2026-01-05 14:49:14 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Sep 21, 2023):

This command is only relevant for users who wish to migrate from existing dynamic configuration files and requires komorebi to be running so that the live configuration state can be queried to generate the JSON file.

You can see this in action here: https://youtu.be/yqCAOJgL3C0

@LGUG2Z commented on GitHub (Sep 21, 2023): This command is only relevant for users who wish to migrate from existing dynamic configuration files and requires komorebi to be running so that the live configuration state can be queried to generate the JSON file. You can see this in action here: https://youtu.be/yqCAOJgL3C0
Author
Owner

@juancarlis commented on GitHub (Sep 21, 2023):

This command is only relevant for users who wish to migrate from existing dynamic configuration files and requires komorebi to be running so that the live configuration state can be queried to generate the JSON file.

You can see this in action here: https://youtu.be/yqCAOJgL3C0

Yes, I was hoping to migrate from dynamic configuration to static configuration and I was already following the video example.

Somehow I tried again and it worked. However, to see if it was just a coincidence, I tried once more and it didn't generate the configuration again. Fortunately, I was able to extract the JSON at least once.

Thank you for the komorebic tool. I use it in my daily workflow and can't imagine using Windows without it!

@juancarlis commented on GitHub (Sep 21, 2023): > This command is only relevant for users who wish to migrate from existing dynamic configuration files and requires komorebi to be running so that the live configuration state can be queried to generate the JSON file. > > You can see this in action here: https://youtu.be/yqCAOJgL3C0 Yes, I was hoping to migrate from dynamic configuration to static configuration and I was already following the video example. Somehow I tried again and it worked. However, to see if it was just a coincidence, I tried once more and it didn't generate the configuration again. Fortunately, I was able to extract the JSON at least once. Thank you for the komorebic tool. I use it in my daily workflow and can't imagine using Windows without it!
Author
Owner

@LGUG2Z commented on GitHub (Sep 22, 2023):

Ah I see, then this definitely sounds like a bug. If you could share the contents of your dynamic config file, I can also try to reproduce this and hopefully see what's going on here. 🤔

@LGUG2Z commented on GitHub (Sep 22, 2023): Ah I see, then this definitely sounds like a bug. If you could share the contents of your dynamic config file, I can also try to reproduce this and hopefully see what's going on here. 🤔
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#244