← Back to team overview

zim-wiki team mailing list archive

Re: Spell Check Plugin Interface and Dependencies


Well, as I said earlier, I have a laptop with Mint 18.1 on it. I rarely use it, but eventually was going to install Zim for when I do. So, I followed the instructions here:https://github.com/jaap-karssenberg/zim-wiki/wiki/Ubuntu-PPA

Same problem. Spell check works fine, but the interface is in Spanish. Although, again, even though I set the dictionary to en-us, I still have to select English (American) in the right click menu.

First time and only instance of Zim on that laptop, only python-gtkspellcheck, no gtkspell, only English dictionaries.

On 06/01/2017 05:27 PM, JP Vossen wrote:
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:

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

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

Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Follow ups