KSP-KOS / EditorTools

Tools that make creating kOS scripts easier.
GNU General Public License v3.0
53 stars 43 forks source link

gtksourceview spec broken #75

Closed delbonis closed 4 years ago

delbonis commented 4 years ago

Starting gedit in standalone mode gedit -s I get the following message:

/home/treyzania/.local/share/gtksourceview-4/language-specs/kerboscript.lang:50: parser error : Specification mandates value for attribute data-pjax-transient
a name="hovercard-subject-tag" content="repository:33886914" data-pjax-transient
                                                                               ^

(gedit:3133): GtkSourceView-WARNING **: 18:20:57.852: Failed to parse '/home/treyzania/.local/share/gtksourceview-4/language-specs/kerboscript.lang'

(gedit:3133): GtkSourceView-WARNING **: 18:20:57.852: Error reading language specification file '/home/treyzania/.local/share/gtksourceview-4/language-specs/kerboscript.lang'
/usr/share/gtksourceview-4/language-specs/kerboscript.lang:50: parser error : Specification mandates value for attribute data-pjax-transient
a name="hovercard-subject-tag" content="repository:33886914" data-pjax-transient
                                                                               ^

(gedit:3133): GtkSourceView-WARNING **: 18:20:57.859: Failed to parse '/usr/share/gtksourceview-4/language-specs/kerboscript.lang'

(gedit:3133): GtkSourceView-WARNING **: 18:20:57.859: Error reading language specification file '/usr/share/gtksourceview-4/language-specs/kerboscript.lang'

This is with gedit version 3.36.2.

delbonis commented 4 years ago

After doing a sed -i 's/data-pjax-transient>/data-pjax-transient="true">/g' to it I get this message now:

/home/treyzania/.local/share/gtksourceview-4/language-specs/kerboscript.lang:120: parser error : Opening and ending tag mismatch: link line 118 and head
  </head>
         ^

(gedit:3486): GtkSourceView-WARNING **: 18:27:20.436: Failed to parse '/home/treyzania/.local/share/gtksourceview-4/language-specs/kerboscript.lang'

(gedit:3486): GtkSourceView-WARNING **: 18:27:20.436: Error reading language specification file '/home/treyzania/.local/share/gtksourceview-4/language-specs/kerboscript.lang'

I don't know the sourceview syntax well enough so this is beyond my abilities now. :stuck_out_tongue:

delbonis commented 4 years ago

OOPS. This is my mistake. I wgetted the wrong URL.