gedit icon indicating copy to clipboard operation
gedit copied to clipboard

The selected color scheme cannot be installed

Open haptizum opened this issue 2 years ago • 5 comments

I am trying to install this them in gedit v41 on Arch and I get this error:

"The selected color scheme cannot be installed"

haptizum avatar Mar 07 '22 07:03 haptizum

gedit v44 - same error- "The selected color scheme cannot be installed"

githubbbbbbbbb avatar Jan 04 '23 08:01 githubbbbbbbbb

I realize this is an old issue, but I was having the same issue when I tried to download the nord.xml file directly from the main page. My issue went away after opening the file on github in the browser and then downloading it from there.

Nacho9216 avatar Feb 29 '24 22:02 Nacho9216

Error on line 14 char 1: element 'style-scheme' requires attribute 'kind'

Here's a more descriptive error seen in terminal logs. I have no idea why that's required. Not a single gtksourceview theme has it.

Lassebq avatar Apr 14 '24 18:04 Lassebq

And the rest of errors:

Error on line 14 char 12: Bad element stack.
Error on line 158 char 53: Failed to parse the color value “def:error” for the <style> tag.
  • kind attribute is either "light" or "dark"
  • version attribute is invalid for some reason.

And that's pretty much it. Got it work after getting rid of lines with errors and fixing up attributes

Lassebq avatar Apr 14 '24 18:04 Lassebq

Ok, some more clarification: Bad element stack is caused by author tag and def:error is supposed to be in use-style attribute instead of foreground

Lassebq avatar Apr 14 '24 18:04 Lassebq