dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.22k stars 311 forks source link

Kitty displays a strange error when running pywal #719

Closed p-t-4-h closed 8 months ago

p-t-4-h commented 8 months ago

I'm currently on version 0.30.1 of kitty, and 2 out of 3 times when I execute the following command: wal --vte -i /path/to/image.png -b "#000000" -a 99 ; eww reload -c /path/to/config/ ; bspc wm -r I get this error :

@kitty-cmd{"ok\": false, "error": "argument 1 must be dict, not None", "tb": "Traceback (most recent call last):
  File \"/usr/bin/../lib/kitty/kitty/boss.py\", line 704, in _execute_remote_command
    response = handle_cmd(self, window, pcmd, peer_id, self_window)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \"/usr/bin/../lib/kitty/kitty/remote_control.py\", line 220, in handle_cmd
    ans = c.response_from_kitty(boss, self_window or window, PayloadGetter(c, payload))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \"/usr/bin/../lib/kitty/kitty/rc/set_colors.py\", line 127, in response_from_kitty
    patch_color_profiles(colors, profiles, payload_get('configured'))
TypeError: argument 1 must be dict, not None\n"}

I'd be delighted if anyone could help me !