Spellchecker plugin not working in 16.04 (gtkspell not recognized)

Bug #1573923 reported by Karim Rekik
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
zim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In Xubuntu 16.04, I haven't managed to make spell checker plug-in functioning. I have installed libgtkspell0 but gtkspell is nevertheless marked as a missing dependency. I have further installed libgtkspell3-3-0 but no success. How to deal with that ?

To reproduce this bug :
Run Zim, file> edit > preferences > plugins tab > Spellchecker : Gtkspell is red and flagged as missing in spite of libgtkspell0 already installed.

Xubuntu 16.04 32 bits
Zim version : 0.65-2 (installed from standard ubuntu repository, ie not from ppa or a .deb file)

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1573923] [NEW] Spellchecker plugin not working in 16.04 (gtkspell not recognized)

You also need to instal the python bindings for the library. Please check
the manual page of the plugin for the correct dependencies.

-- Jaap

On Sat, Apr 23, 2016 at 10:05 AM Karim Rekik <email address hidden>
wrote:

> Public bug reported:
>
> In Xubuntu 16.04, I haven't managed to make spell checker plug-in
> functioning. I have installed libgtkspell0 but gtkspell is nevertheless
> marked as a missing dependency. I have further installed
> libgtkspell3-3-0 but no success. How to deal with that ?
>
> To reproduce this bug :
> Run Zim, file> edit > preferences > plugins tab > Spellchecker : Gtkspell
> is red and flagged as missing in spite of libgtkspell0 already installed.
>
> Xubuntu 16.04 32 bits
> Zim version : 0.65-2 (installed from standard ubuntu repository, ie not
> from ppa or a .deb file)
>
> ** Affects: zim (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to zim in
> Ubuntu.
> https://bugs.launchpad.net/bugs/1573923
>
> Title:
> Spellchecker plugin not working in 16.04 (gtkspell not recognized)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1573923/+subscriptions
>

Revision history for this message
Karim Rekik (wkrekik) wrote :

Thanks Jaap for your answer. Python-gtkspell is already installed as
indicated in the manual, am I missing something else ?
Sincerely

2016-04-23 9:43 GMT+01:00 Jaap Karssenberg <email address hidden>:

> You also need to instal the python bindings for the library. Please check
> the manual page of the plugin for the correct dependencies.
>
> -- Jaap
>
> On Sat, Apr 23, 2016 at 10:05 AM Karim Rekik <email address hidden>
> wrote:
>
> > Public bug reported:
> >
> > In Xubuntu 16.04, I haven't managed to make spell checker plug-in
> > functioning. I have installed libgtkspell0 but gtkspell is nevertheless
> > marked as a missing dependency. I have further installed
> > libgtkspell3-3-0 but no success. How to deal with that ?
> >
> > To reproduce this bug :
> > Run Zim, file> edit > preferences > plugins tab > Spellchecker : Gtkspell
> > is red and flagged as missing in spite of libgtkspell0 already installed.
> >
> > Xubuntu 16.04 32 bits
> > Zim version : 0.65-2 (installed from standard ubuntu repository, ie not
> > from ppa or a .deb file)
> >
> > ** Affects: zim (Ubuntu)
> > Importance: Undecided
> > Status: New
> >
> > --
> > You received this bug notification because you are subscribed to zim in
> > Ubuntu.
> > https://bugs.launchpad.net/bugs/1573923
> >
> > Title:
> > Spellchecker plugin not working in 16.04 (gtkspell not recognized)
> >
> > To manage notifications about this bug go to:
> >
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1573923/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1573923
>
> Title:
> Spellchecker plugin not working in 16.04 (gtkspell not recognized)
>
> Status in zim package in Ubuntu:
> New
>
> Bug description:
> In Xubuntu 16.04, I haven't managed to make spell checker plug-in
> functioning. I have installed libgtkspell0 but gtkspell is
> nevertheless marked as a missing dependency. I have further installed
> libgtkspell3-3-0 but no success. How to deal with that ?
>
> To reproduce this bug :
> Run Zim, file> edit > preferences > plugins tab > Spellchecker :
> Gtkspell is red and flagged as missing in spite of libgtkspell0 already
> installed.
>
> Xubuntu 16.04 32 bits
> Zim version : 0.65-2 (installed from standard ubuntu repository, ie not
> from ppa or a .deb file)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1573923/+subscriptions
>

--
Karim Rekik

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :
Download full text (3.3 KiB)

To verify the install. You can try running python and then "import
gtkspell". If this runs without error, zim should be able to use it as
well. If it gives an error, zim will also not be able to use it.

Btw. make sure python packages are for python 2, not python 3.

Regards,

Jaap

On Sat, Apr 23, 2016 at 11:15 AM Karim Rekik <email address hidden>
wrote:

> Thanks Jaap for your answer. Python-gtkspell is already installed as
> indicated in the manual, am I missing something else ?
> Sincerely
>
> 2016-04-23 9:43 GMT+01:00 Jaap Karssenberg <email address hidden>:
>
> > You also need to instal the python bindings for the library. Please check
> > the manual page of the plugin for the correct dependencies.
> >
> > -- Jaap
> >
> > On Sat, Apr 23, 2016 at 10:05 AM Karim Rekik <<email address hidden>
> >
> > wrote:
> >
> > > Public bug reported:
> > >
> > > In Xubuntu 16.04, I haven't managed to make spell checker plug-in
> > > functioning. I have installed libgtkspell0 but gtkspell is nevertheless
> > > marked as a missing dependency. I have further installed
> > > libgtkspell3-3-0 but no success. How to deal with that ?
> > >
> > > To reproduce this bug :
> > > Run Zim, file> edit > preferences > plugins tab > Spellchecker :
> Gtkspell
> > > is red and flagged as missing in spite of libgtkspell0 already
> installed.
> > >
> > > Xubuntu 16.04 32 bits
> > > Zim version : 0.65-2 (installed from standard ubuntu repository, ie not
> > > from ppa or a .deb file)
> > >
> > > ** Affects: zim (Ubuntu)
> > > Importance: Undecided
> > > Status: New
> > >
> > > --
> > > You received this bug notification because you are subscribed to zim in
> > > Ubuntu.
> > > https://bugs.launchpad.net/bugs/1573923
> > >
> > > Title:
> > > Spellchecker plugin not working in 16.04 (gtkspell not recognized)
> > >
> > > To manage notifications about this bug go to:
> > >
> >
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1573923/+subscriptions
> > >
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1573923
> >
> > Title:
> > Spellchecker plugin not working in 16.04 (gtkspell not recognized)
> >
> > Status in zim package in Ubuntu:
> > New
> >
> > Bug description:
> > In Xubuntu 16.04, I haven't managed to make spell checker plug-in
> > functioning. I have installed libgtkspell0 but gtkspell is
> > nevertheless marked as a missing dependency. I have further installed
> > libgtkspell3-3-0 but no success. How to deal with that ?
> >
> > To reproduce this bug :
> > Run Zim, file> edit > preferences > plugins tab > Spellchecker :
> > Gtkspell is red and flagged as missing in spite of libgtkspell0 already
> > installed.
> >
> > Xubuntu 16.04 32 bits
> > Zim version : 0.65-2 (installed from standard ubuntu repository, ie not
> > from ppa or a .deb file)
> >
> > To manage notifications about this bug go to:
> >
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1573923/+subscriptions
> >
>
>
> --
> Karim Rekik
>
> --
> You received this bug notification because you are subscribed to zim in
> Ubuntu.
> https://bugs.launchpad.net/bugs/157392...

Read more...

Revision history for this message
Karim Rekik (wkrekik) wrote :
Download full text (5.2 KiB)

Runing python in a terminal then "import gtkspell" doesn't led to an error
message. Here's the output :

karim@karim-V-3902 ~ % python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtkspell
>>>

Btw. make sure python packages are for python 2, not python 3.
>
"Python" version is 2.7, but I have a lot of other packages of python3
(automaticaly installed, not me)

python python2.7 python3.5 python3m
python2 python3 python3.5m

My version of python-gtkspell is for python2

Sincerely

2016-04-23 11:00 GMT+01:00 Jaap Karssenberg <email address hidden>:

> To verify the install. You can try running python and then "import
> gtkspell". If this runs without error, zim should be able to use it as
> well. If it gives an error, zim will also not be able to use it.
>
> Btw. make sure python packages are for python 2, not python 3.
>
> Regards,
>
> Jaap
>
> On Sat, Apr 23, 2016 at 11:15 AM Karim Rekik <email address hidden>
> wrote:
>
> > Thanks Jaap for your answer. Python-gtkspell is already installed as
> > indicated in the manual, am I missing something else ?
> > Sincerely
> >
> > 2016-04-23 9:43 GMT+01:00 Jaap Karssenberg <email address hidden>:
> >
> > > You also need to instal the python bindings for the library. Please
> check
> > > the manual page of the plugin for the correct dependencies.
> > >
> > > -- Jaap
> > >
> > > On Sat, Apr 23, 2016 at 10:05 AM Karim Rekik <
> <email address hidden>
> > >
> > > wrote:
> > >
> > > > Public bug reported:
> > > >
> > > > In Xubuntu 16.04, I haven't managed to make spell checker plug-in
> > > > functioning. I have installed libgtkspell0 but gtkspell is
> nevertheless
> > > > marked as a missing dependency. I have further installed
> > > > libgtkspell3-3-0 but no success. How to deal with that ?
> > > >
> > > > To reproduce this bug :
> > > > Run Zim, file> edit > preferences > plugins tab > Spellchecker :
> > Gtkspell
> > > > is red and flagged as missing in spite of libgtkspell0 already
> > installed.
> > > >
> > > > Xubuntu 16.04 32 bits
> > > > Zim version : 0.65-2 (installed from standard ubuntu repository, ie
> not
> > > > from ppa or a .deb file)
> > > >
> > > > ** Affects: zim (Ubuntu)
> > > > Importance: Undecided
> > > > Status: New
> > > >
> > > > --
> > > > You received this bug notification because you are subscribed to zim
> in
> > > > Ubuntu.
> > > > https://bugs.launchpad.net/bugs/1573923
> > > >
> > > > Title:
> > > > Spellchecker plugin not working in 16.04 (gtkspell not recognized)
> > > >
> > > > To manage notifications about this bug go to:
> > > >
> > >
> >
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1573923/+subscriptions
> > > >
> > >
> > > --
> > > You received this bug notification because you are subscribed to the
> bug
> > > report.
> > > https://bugs.launchpad.net/bugs/1573923
> > >
> > > Title:
> > > Spellchecker plugin not working in 16.04 (gtkspell not recognized)
> > >
> > > Status in zim package in Ubuntu:
> > > New
> > >
> > > Bug description:
> > > In Xubuntu 16.04, I haven't managed to m...

Read more...

Revision history for this message
Karim Rekik (wkrekik) wrote :

I have to add that, since Ubuntu 16.04 repositories doesn't provide neither python-gtkspell nor python-gnome2-extras, I have installed python-gtkspell from a .deb package (http://packages.ubuntu.com/wily/i386/python-gtkspell/download).

Revision history for this message
Andreas Wehler (andreas-wehler) wrote :

Hi.

zim 0.65-2 from vanilla Ubuntu 16.04

I also have installed python-gtkspell_2.25.3-13_amd64.deb on AMD64
from:

  http://packages.ubuntu.com/wily/amd64/python-gtkspell/download

python
import gtkspell

works; but zim keeps missing dependancy of plugin gtkspell.

You even can activate spell checkung with the plugin button
(Spell Checker icon, Toolbar), but if you do so, zim crashes.
I've started zim with -D and got these debugging info:

zim --standalone -D 2>&1 | tee zim.log

Result: See attachment, zim.log.

Regards, Andreas

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zim (Ubuntu):
status: New → Confirmed
Revision history for this message
norfcran (norfcran) wrote :

@Andreas Wehler (andreas-wehler)

the dependencies are checked only against one of the modules, therefore one of them remains failing (indicating that is not used). In case you want to use the other module you need to remove the other, or it would require adding a configuration option to the plugin.

Regards, NorfCran

Revision history for this message
Andreas Wehler (andreas-wehler) wrote :

@norfcran (norfcran)
Thanks for this hint. Indeed one module is enough, but there was a second problem overlaying this one, spell checking mostly crashed, so I assumed there would be some incompatibility / or missing functionality here. More detailed analysis led to this bug report:

  Spell checker crash: Bullet list with link
  https://bugs.launchpad.net/zim/+bug/1598830

  Sorry, this one is a show stopper.

It would be fine if the message of "some module is missing" would not be shown in case there is already one functional module available. At least this would be less misleading.

Thanks again for the info about why this message is left in the basket.

Revision history for this message
Andreas Wehler (andreas-wehler) wrote :

Need: Package update of python-gtkspellcheck (3.0-1.1) to (4.0.4), available since 2012 (!).

In Ubuntu 16.06 the delivered version package python-gtkspellcheck (3.0-1.1)
is obsolete and buggy.

The current version is pygtkspellcheck (4.0.4) from 2012.
So why did Ubuntu maintainers chose that old version for packaging?

See: https://github.com/koehlma/pygtkspellcheck/issues/29#issuecomment-237796505

Revision history for this message
Tim Hodkinson (surfchops) wrote :

This worked for me:

Installed:
python-gtkspellcheck_4.0a-1_all.deb (30.2 KiB)
python3-gtkspellcheck_4.0a-1_all.deb (29.9 KiB)

from: https://launchpad.net/~koehlma/+archive/ubuntu/packages/+packages

using the GDebi Package Installer program

after logging back in the Zim plugins Spellcheck found gtkspellcheck and it's working

Revision history for this message
Tim Hodkinson (surfchops) wrote :

Forgot to mention...

I'm using 64bit Ubuntu 16.04 and Zim 0.65 from the standard repository

gtkspell still fails to be found but spellcheck works with just gtkspellcheck alone

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.