end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.34k stars 218 forks source link

[Issue] When i change wallpaper i get rgba() expects length of 8 characters or 4 comma sepaerated values error #399

Open AryannSharmaa opened 3 months ago

AryannSharmaa commented 3 months ago
Click to expand ```plain Paste your log here ```
kralle333 commented 3 months ago

I am having the same problems. I saw that I had some missing dependecies for the color_generation python script, but still after resolving these, I am getting the same error. If i manually set the colors to some fixed value (hyprland.colors.conf line 9), the topbar no longer shows the material symbols.

image

end-4 commented 3 months ago

Please

AryannSharmaa commented 3 months ago

Traceback (most recent call last):
File "/usr/bin/gradience-cli", line 52, in from gradience.backend.utils.networking import get_preset_repos ModuleNotFoundError: No module named 'gradience' undefined undefined

i got this error when i executed the program and i tried to resolve gradience package import by updating it via paru , still same results.

AryannSharmaa commented 3 months ago

i have resolved the above issue it was due anaconda. Now switchwall.sh is running without any error but shows undefined in terminal ,switchcolor causes the same bug. and there are no error in terminal. It happens when i try to change color attributes from ags pop up

end-4 commented 3 months ago

"undefined" is normal behavior (the JS function that is run doesn't return any value so it prints that)

Mooling0602 commented 3 months ago

I have a solution, though I don't know where the error is. If you choose a picture file by switchwall.sh, and this file is too big(I think >= 1MB), you'll get "rgba() expects length of 8 characters or 4 comma sepaerated values" error. You can try compress this picture file to less than 500KB, and correct color will be set. However, the wallpaper may not be set properly. I suggest you install hyprpaper and use it to set wallpapers you want.

end-4 commented 3 months ago

what i'm setting a 28mb one just fine

Mooling0602 commented 3 months ago

what i'm setting a 28mb one just fine

So I said I don't know why. I just tried jpg files.

AryannSharmaa commented 3 months ago

well now im not getting any error when switching wallpapers but as soon as i try to change colors from that drop down (AGS) menu i get that rgba() error. So for now i am just sitting with default colors.

preland commented 3 months ago

I am also getting issues with this; oddly though, it seems that python-materialyoucolor is the culprit, as it will not show up in pip/pip3 list (no conda or other python package manager is installed)

clsty commented 3 months ago

Seems similar as #428