You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I tried running the command with python .local/bin/ImageColorizer ~/gravityfallscolorized.png ~/tokyonight.png -c ~/tokyonight and it threw out this weird error:
/bin/sh: line 1: colorer: command not found
Traceback (most recent call last):
File "/home/archnexus/.local/bin/ImageColorizer", line 8, in <module>
sys.exit(main())
File "/home/archnexus/.local/lib/python3.10/site-packages/ImageColorizer/__main__.py", line 52, in main
img_col.generate(args.input, args.output, show=args.show,
File "/home/archnexus/.local/lib/python3.10/site-packages/ImageColorizer/ClassModule.py", line 129, in generate
new_color = min(differences)[1]
ValueError: min() arg is an empty sequence
I don't know anything about Python and I don't know what could be causing this error. I also don't know much about Markdown so I apologized if this issue is malformatted.
Installed ImageColorizer using ./install.sh by the way
You have to install colorer to use that option, i.e. have it somewhere in your $PATH. But I'm guessing you haven't set it up to read the .local/bin directory (where pip installs its user-specific modules/programs), so could you check that on your ~/.profile ? Otherwise you might just need to log out and log in again.
That will also fix the issue of having to invoke python to run the program.
If that was intentional and you don't want it to touch your $PATH-ready programs I'm open to more flexible suggestions to read colorscheme values from.
Thanks a lot! That worked. Installed colored and added ~/.local/bin to my PATH. Defined XDG_CONFIG_HOME and XDG_CONFIG_CACHE for colorer to work and it did work! Had read about having to install colorer somewhere before, but I didn't for some reason.
Amazing tool by the way! It did an amazing job in this wallpaper.
So I tried running the command with
python .local/bin/ImageColorizer ~/gravityfallscolorized.png ~/tokyonight.png -c ~/tokyonight
and it threw out this weird error:I don't know anything about Python and I don't know what could be causing this error. I also don't know much about Markdown so I apologized if this issue is malformatted.
![image](https://user-images.githubusercontent.com/44513942/216489450-2cf188de-b9f6-4a0e-aaaa-8316e4f77bd5.png)
Installed ImageColorizer using ./install.sh by the way
Here is what my colorscheme file looks like
Really appreciate your work on this tool!!
The text was updated successfully, but these errors were encountered: