Closed NextStep-IM closed 2 months ago
yay -S python-materialyoucolor-git
then enter a
when asked to perform clean build
yay -S python-materialyoucolor-git
then enter
a
when asked to perform clean build
That didn't work. Same issue.
I had the same issue. It happens because the template file for the color configuration contains placeholders that are not replaced by the script because of an error. I ran the switchwall.sh script in .config/ags/scripts/color_generation manually and the logs showe me that some packages are missing. After installing those packages it worked again.
the logs showe me that some packages are missing
@H0mire Can you tell me what packages those were?
I get this after running switchwall.sh
in terminal:
(yad:238168): Gtk-WARNING **: 18:01:04.828: Theme parsing error: gtk.css:95:30: '' is not a valid color name
(yad:238168): Gtk-WARNING **: 18:01:04.828: Theme parsing error: gtk.css:95:44: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.828: Theme parsing error: gtk.css:96:46: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:97:41: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:98:47: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:99:49: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:100:44: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:105:41: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:106:43: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:107:47: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:108:49: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:109:42: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:110:44: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:112:60: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:113:62: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:116:45: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:117:55: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:119:55: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:120:57: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:121:56: Expected a valid selector
(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:122:58: Expected a valid selector
Traceback (most recent call last):
File "/opt/dots-hyprland/.config/ags/scripts/color_generation/generate_colors_material.py", line 131, in <module>
with open(args.termscheme, 'r') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/samtheradiant/.config/ags/scripts/templates/terminal/scheme-catppuccin.json'
Error: Undefined variable.
╷
5 │ @if $transparent == True {
│ ^^^^^^^^^^^^
╵
scss/_colors.scss 5:5 @import
scss/main.scss 9:9 root stylesheet
For me it was gradience-git and materialyoucolor.
Its seems like a json is missing 🤔:
add this file to /home/samtheradiant/.config/ags/scripts/templates/terminal/
As you can see often running a script/software with a Terminal can reveal some errors. 😃
add this file to /home/samtheradiant/.config/ags/scripts/templates/terminal/
That fixed it. Thanks a lot, @H0mire!
The issue
Maybe a duplicate of or similar to #445? I tried to disable transparency from the sidebar live config and immediately lost all styling. I restored the changes and now the styles are back, but I can't use the wallpaper script, can't change the color scheme, and change anything in the live config without losing styles.
Extra Info:
I used
update-ags.sh
to upgrade from ags version1.8.0
to1.8.2
and experienced the same issue. Also the same with AUR version.Click to expand
**Output of `pkill ags; ags`:** ```plain Gjs-Console-Message: 11:59:32.004: [LOG] Styles loaded (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.369: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47fedd58 native@0x626415ed80b0]" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14 newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12 SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12 Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50 hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25 _init/GLib.MainLoop.prototype.runAsync/<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 (com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.373: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47ff5510 native@0x626415fefae0]" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14 newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12 SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12 Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50 hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25 _init/GLib.MainLoop.prototype.runAsync/<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 ``` **Output of `pkill ags; ags` when I try to change color scheme:** ```plain Gjs-Console-Message: 11:59:32.004: [LOG] Styles loaded (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed (com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.369: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47fedd58 native@0x626415ed80b0]" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14 newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12 SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12 Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50 hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25 _init/GLib.MainLoop.prototype.runAsync/<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 (com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.373: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47ff5510 native@0x626415fefae0]" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14 newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12 SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12 Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50 hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25 _init/GLib.MainLoop.prototype.runAsync/<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 (com.github.Aylur.ags:78700): Gjs-Console-CRITICAL **: 12:00:01.132: CSS ERROR: Invalid name of pseudo-class at line 8 in /home/samtheradiant/.cache/ags/user/generated/style.css (com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.534: JS ERROR: TypeError: abbreviation is undefined isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31 HyprlandXkbKeyboardLayout/setup/