Gogh-Co / Gogh

Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.

Home Page:https://gogh-co.github.io/Gogh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG-REGRESSION] Unable to change theme -> No module named 'tomli_w'

thealio opened this issue · comments

Hi
I have this error using the script bash -c "$(wget -qO- https://git.io/vQgMr)"

Traceback (most recent call last):
  File "<string>", line 7, in <module>
ModuleNotFoundError: No module named 'tomli_w'

I'm currently unable to change the theme

Envirorment : XFCE
Terminal : xfce4-terminal

Not currently tested with other DEs and terminals

When you run pip3 list what is the output? It looks like your are missing the tomi_w pip package.

Strange, when grepping for tomli_w I can only find it in apply-alacritty.py but you tried to apply to the xfce4-terminal terminal.

This makes to me no sense, as apply-alacritty.py shouldn't been called.
What was your TERMINAL env?

I encountered the same problem with Ubuntu 24.04. After installing packages tomli, tomli_w and ruamel.yaml with pip, gogh has completed its job well.