does not work with gtksourceview-3.0-1

Bug #1255454 reported by Marc Rene Schädler on 2013-11-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
asciidoc-gtk-highlight
Undecided
Unassigned

Bug Description

Tried on Debian testing with libgtkdourceview-3.0-1 (Package version 3.8.2-1)

Error message is:
(gedit:4446): GtkSourceView-WARNING **: Error reading language specification file '/usr/share/gtksourceview-3.0/language-specs/asciidoc.lang'

David Avsajanishvili (avsd05) wrote :

Just tried on Debian, and it works for me.

However, managed to generate similar error by modifying the asciidoc.lang and intentionally making a mistake in it (removed `n` from `<language>` tag. Here is the output:

```
$ gedit
/usr/share/gtksourceview-3.0/language-specs/asciidoc.lang:410: parser error : Opening and ending tag mismatch: languae line 22 and language
</language>
           ^

(gedit:7450): GtkSourceView-WARNING **: Failed to parse '/usr/share/gtksourceview-3.0/language-specs/asciidoc.lang'

(gedit:7450): GtkSourceView-WARNING **: Error reading language specification file '/usr/share/gtksourceview-3.0/language-specs/asciidoc.lang'
```

Please make sure that:

1. The file is copied as is
2. The file is readable for the current user.

Changed in asciidoc-gtk-highlight:
status: New → Incomplete
Marc Rene Schädler (suaefar) wrote :

Tried with LMDE (Linux Mint Debian Edition) Update pack 7 and it doesn't work either.

Maybe I'm missing something?

Install with:
cd /usr/share/gtksourceview-3.0/language-specs/
sudo wget https://bazaar.launchpad.net/~avsd05/asciidoc-gtk-highlight/devel/view/head:/asciidoc.lang

Start gedit in terminal:
$ gedit

(gedit:16204): GtkSourceView-WARNING **: Error reading language specification file '/usr/share/gtksourceview-3.0/language-specs/asciidoc.lang'

David Avsajanishvili (avsd05) wrote :

That's the problem!

wget downloads the file as HTML! To check that, just open the file you've downloaded in any editor.

You should download using the "Download" link given on that page:

wget https://bazaar.launchpad.net/~avsd05/asciidoc-gtk-highlight/devel/download/head:/asciidoc.lang-20091128142707-mepif0u5ekdllk10-2/asciidoc.lang

Changed in asciidoc-gtk-highlight:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers