Public bug reported:

Possibly related console output:

```
(gedit:16993): GLib-GIO-WARNING **: 22:40:02.951: Error creating IO channel for 
/proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(gedit:16993): gspell-WARNING **: 22:40:03.068: iso_639.xml: Failed to
open file ?/usr/share/xml/iso-codes/iso_639.xml?: open() failed: No such
file or directory

(gedit:16993): gspell-WARNING **: 22:40:03.068: iso_3166.xml: Failed to open 
file ?/usr/share/xml/iso-codes/iso_3166.xml?: open() failed: No such file or 
directory
```

The check spelling window spills "Error: Spell checker error: no
language set. It’s maybe because no dictionaries are installed."

In the poedit snap that uses GtkSpell and Enchant to implement the 
spellchecking we patched the iso-codes prefix and packs all the spellchecking 
dictionaries to solve the issue:
https://github.com/vslavik/poedit/blob/master/snap/snapcraft.yaml

Also, I've packaged a Hunspell content snap that provides the dictionaries:
https://forum.snapcraft.io/t/the-hunspell-dictionaries-content-snap/7160

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: snap

** Tags added: snap

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1797779

Title:
  [snap] Spellchecking appears to be not working

Status in gedit package in Ubuntu:
  New

Bug description:
  Possibly related console output:

  ```
  (gedit:16993): GLib-GIO-WARNING **: 22:40:02.951: Error creating IO channel 
for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

  (gedit:16993): gspell-WARNING **: 22:40:03.068: iso_639.xml: Failed to
  open file ?/usr/share/xml/iso-codes/iso_639.xml?: open() failed: No
  such file or directory

  (gedit:16993): gspell-WARNING **: 22:40:03.068: iso_3166.xml: Failed to open 
file ?/usr/share/xml/iso-codes/iso_3166.xml?: open() failed: No such file or 
directory
  ```

  The check spelling window spills "Error: Spell checker error: no
  language set. It’s maybe because no dictionaries are installed."

  In the poedit snap that uses GtkSpell and Enchant to implement the 
spellchecking we patched the iso-codes prefix and packs all the spellchecking 
dictionaries to solve the issue:
  https://github.com/vslavik/poedit/blob/master/snap/snapcraft.yaml

  Also, I've packaged a Hunspell content snap that provides the dictionaries:
  https://forum.snapcraft.io/t/the-hunspell-dictionaries-content-snap/7160

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1797779/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to