← Back to team overview

zim-wiki team mailing list archive

Re: Spell Check Plugin Interface and Dependencies

 

On 06/01/2017 04:41 PM, Bo Grimes wrote:
On 06/01/2017 03:12 PM, JP Vossen wrote:
On 06/01/2017 09:15 AM, Bo Grimes wrote:
On Wed, May 31, 2017, at 08:30 PM, JP Vossen wrote:

Was your Mint-18 a new install, or an upgrade? Because my Mint-17 *does* have that exact same one:
Upgrade from 17. So, I have Mint 18.1 on a laptop that was installed as 18 and updated to 18.1. I checked. You are right. No python-gtkspell to be found in repos.

I think that's the problem, more below.

...
Try this command, but *watch out* and make sure it doesn't want to remove more than you want it to!
    sudo apt-get remove --purge python-gtkspell

I aborted.  I get:

The following packages will be REMOVED:
   python-gtkspell*

I'm assuming, maybe incorrectly, the wild card will also remove python-gtkspellcheck

If I recall correctly the "*" means that it will purge config files, which probably doesn't matter in this case, but better to be clean. Or try it without the "--purge" and see what it says.

I'd say give it a try, I've seen Zim do a bunch of weird things when old cruft is laying about. I've caused a bit of that myself, which is how I know... I *know* "python-gtkspell" is both not in the Mint-18 repos and not needed. I *suspect* that it (or similar leftovers) may be causing confusion.

If that doesn't fix it, it might be other cruft that was not removed in the 17 to 18 update.

I might try something like:
----
sudo apt-get remove zim python-gtkspell python-gtkspellcheck aspell ispell python-enchant enchant
----

What to see if it removes anything else for dependencies, and then add those to the list below if you want them. Then:
----
sudo apt-get install zim python-gtkspellcheck aspell python-enchant
----


Mine works, too, except the interface being in Spanish, and it wants to default to English instead of English (American). I have to scroll down and click English (American) every time even though I have it set to "en-US" in the plug-in.

If you don't care about the other languages, what about trying:
----
sudo apt-get remove hunspell-en-gb hunspell-en-za myspell-en-au myspell-en-gb myspell-en-za
----

Later,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/


Follow ups

References