← Back to team overview

zim-wiki team mailing list archive

Re: Spell Check Plugin Interface and Dependencies

 



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:
Wait, I re-read the original, but I can't see the screen shot. You said
"gtkspell fails" but is "gtkspellcheck" OK?  You only need ONE of them!

Bug 72 has a list of the packages installed, and the 2 step process that fixed it for me. Admittedly, I have 67~rc1 from the PPA, not your 0.65.

How do you have "gtkspell" because that's NOT in the Mint repos anymore.
   Maybe there is confusion there?

It's in mine, apparently. (screen shot)

Yes it is. I wonder where it came from? What does `apt-cache show python-gtkspell` say? (You can just copy and paste the output into the email.)
Mine is slightly different than yours quoted further below. Mine:

Package: python-gtkspell
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 127
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
Architecture: amd64
Source: gnome-python-extras
Version: 2.25.3-13
Replaces: python-gnome2-extras (<< 2.19.1-4), python-gnome2-extras-doc
Depends: libc6 (>= 2.2.5), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libgtkspell0 (>= 2.0.10), python (>= 2.7), python (<< 2.8), python-gtk2
Breaks: python-gnome2-extras (<< 2.19.1-4), python-gnome2-extras-doc
Description: Python bindings for the GtkSpell library
 This package contains bindings allowing to run Python programs using
 the GtkSpell library, that extends GTK+'s GtkTextView widget with
 support for spell-checking.
Description-md5: c6f03fae3a91ee312b2d15395c1a0d3c
Original-Maintainer: Sebastien Bacher <seb128@xxxxxxxxxx>
Homepage: http://www.pygtk.org/

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.

Yours:
----
## Mint-17.3:
$ apt-cache show python-gtkspell | cat -n
      1 Package: python-gtkspell
      2 Priority: optional
      3 Section: universe/python
      4 Installed-Size: 127
5 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
      6 Original-Maintainer: Sebastien Bacher <seb128@xxxxxxxxxx>
      7 Architecture: amd64
      8 Source: gnome-python-extras
      9 Version: 2.25.3-13
10 Replaces: python-gnome2-extras (<< 2.19.1-4), python-gnome2-extras-doc 11 Depends: libc6 (>= 2.2.5), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libgtkspell0 (>= 11 2.0.10), python (>= 2.7), python (<< 2.8), python-gtk2 12 Breaks: python-gnome2-extras (<< 2.19.1-4), python-gnome2-extras-doc 13 Filename: pool/universe/g/gnome-python-extras/python-gtkspell_2.25.3-13_amd64.deb
     14 Size: 17808
     15 MD5sum: bc1631dea145a263e0189c6ec1a61005
     16 SHA1: cfd3ece201fe48bde9592933e9587109da2971eb
17 SHA256: c01ba589256494585cdf10806f56512ae2134230a22b84a3839d85fe2b9ab8a7
     18 Description-en: Python bindings for the GtkSpell library
19 This package contains bindings allowing to run Python programs using 20 the GtkSpell library, that extends GTK+'s GtkTextView widget with
     21  support for spell-checking.
     22 Description-md5: c6f03fae3a91ee312b2d15395c1a0d3c
     23 Homepage: http://www.pygtk.org/
     24 Bugs: https://bugs.launchpad.net/ubuntu/+filebug
     25 Origin: Ubuntu
----


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

[snip]
This is what I have, on Mint-18.1 using zim-0.67~rc1~ubuntu16.04.1 from PPA, and spell check works:
----
ii  aspell                                0.60.7~20110707-3build1
ii  aspell-en                             7.1-0-1.1
ii  dictionaries-common                   1.26.3
ii  enchant                               1.6.0-10.1build2
ii  geany-plugin-spellcheck               1.27+dfsg-2
ii  hunspell-en-us                        20070829-6ubuntu3
ii  libaspell15:amd64                     0.60.7~20110707-3build1
ii  libenchant1c2a:amd64                  1.6.0-10.1build2
ii  libgtkspell0                          2.0.16-1.1ubuntu1
ii  libgtkspell3-3-0:amd64                3.0.7-2
ii  libhunspell-1.3-0:amd64               1.3.3-4ubuntu1
ii  python-enchant                        1.6.6-2
ii  python-gtkspellcheck                  4.0.5-1 <<< NOTE
ii  python3-enchant                       1.6.6-2
ii  python3-gtkspellcheck                 4.0a-1
----

NOTE python-gtkspellcheck "4.0.5-1" is manually installed from Ubuntu Zesty, per bug #72.

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.

However, I am using 3.0-1.1. I will check out bug #72.

[vi snark, snipped. I rather get a root canal.] :-)

Thanks,
Bo Grimes

Follow ups

References