colorer
colorer copied to clipboard
Error encountered when running 'colorer .config/colorer/colorschemes/catpuccin' command
Hi @kiddae,
I'm new to using colorer and I'm really enjoying this tool. However, I've encountered a small problem:
When I install it with Python, everything works correctly:
Defaulting to user installation because normal site-packages is not writeable
Processing /home/frontend/colorer
Preparing metadata (setup.py) ... done
Building wheels for collected packages: colorer
Building wheel for colorer (setup.py) ... done
Created wheel for colorer: filename=colorer-2.0.0-py3-none-any.whl size=3679 sha256=eafd6f6b4d1eeb29d6669f47949d870b9cc96223ecaa53dfa5a01610bc21a906
Stored in directory: /tmp/pip-ephem-wheel-cache-45pyfe68/wheels/9e/68/c1/1956a146d2cedd325030ef01cd97e43f9cda8a0e43f97cbf29
Successfully built colorer
Installing collected packages: colorer
Successfully installed colorer-2.0.0
I also have the catpuccin
theme installed at .config/colorer/colorschemes/catpuccin
.
But when I try to run the colorer .config/colorer/colorschemes/catpuccin
command, I encounter this problem:
Traceback (most recent call last):
File "/home/user/.local/bin/colorer", line 5, in <module>
from colorer.colorer import main
File "/home/user/.local/lib/python3.10/site-packages/colorer/colorer.py", line 8, in <module>
CONFIG_DIR = os.getenv('XDG_CONFIG_HOME') + '/'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
could you help me to solve this issue?