Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61618 - [pluma] 1.20.4-1 has broken spellchecking

Attached to Project: Community Packages
Opened by Retro Nostalgia (retronostalgia) - Sunday, 03 February 2019, 19:45 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 16 May 2019, 13:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I am not sure when spellcheck stopped working, unfortunately, but I know it has worked in the past.

To reproduce, select "Preferences" from the Edit menu, then click on the "Plugins" tab, then tick the box for "Spell Checker". The icon for the plugin will change to a red and white "stop" icon and an error message will be printed in the console:

(pluma:25555): libpeas-WARNING **: 11:33:54.495: Failed to load module 'spell': /usr/lib/pluma/plugins/libspell.so: undefined symbol: enchant_dict_add_to_pwl

(pluma:25555): libpeas-WARNING **: 11:33:54.495: Error loading plugin 'spell'

I believe this is the same problem detailed in this Manjaro thread: https://forum.manjaro.org/t/mate-plumas-spell-checker-plugin-fails-to-load/38653

I wasn't sure how to determine if this is an Arch or an upstream issue, so apologies if I've submitted this incorrectly.

My configuration details: Arch x86-64 installed using Antergos, running the MATE desktop. I also have gspell 1.8.1-1 and enchant 2.2.3-2 installed.

Please let me know if you need any followup information - thanks very much.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 16 May 2019, 13:47 GMT
Reason for closing:  Fixed
Comment by Retro Nostalgia (retronostalgia) - Monday, 18 February 2019, 23:59 GMT
OK, I'm now pretty confident that this is an Arch issue and not Antergos or upstream.

I have a second PC that had Antergos on it; I uninstalled pluma, then commented out the Antergos repositories and ran pacman -Syyuu, then re-installed pluma. I got the same error in the console.

However, when I then did a fresh install of Ubuntu MATE on that PC and tried Pluma, I saw that spellchecking was enabled by default and working correctly, and the error message did not appear in the console.
Comment by Eli Schwartz (eschwartz) - Tuesday, 19 February 2019, 06:56 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Architecture (x86_64 → All)
  • Task assigned to Brad Fanella (cesura)
The build warns about this:

CC pluma-spell-checker.lo
pluma-spell-checker.c: In function ‘pluma_spell_checker_add_word_to_personal’:
pluma-spell-checker.c:436:2: warning: implicit declaration of function ‘enchant_dict_add_to_pwl’; did you mean ‘enchant_dict_add_to_session’? [-Wimplicit-function-declaration]
enchant_dict_add_to_pwl (spell->dict, word, len);
^~~~~~~~~~~~~~~~~~~~~~~
enchant_dict_add_to_session
[...]
CCLD libspell.la


But doesn't fail (???) and there's hundreds of lines of gtk deprecated functions to distract from this and make a build with warnings not be something worth looking at.

Coincidentally fixed just recently: https://github.com/mate-desktop/pluma/pull/402
Comment by Retro Nostalgia (retronostalgia) - Monday, 08 April 2019, 18:21 GMT
Looks like with the upgrade to 1.22.0-1 that this issue is resolved - spellchecking is working for me if I enable the plugin in preferences. I'll request closure of the bug. Thanks very much for your attention.

Loading...