#904502 Failed to load plugin "spellchecker" - No module named gtkspell

Package:
virtaal
Source:
virtaal
Submitter:
Miguel Bouzada
Date:
2024-02-26 18:33:45 UTC
Severity:
normal
Tags:
#904502#5
Date:
2018-07-24 17:56:00 UTC
From:
To:
I've been trying to configure in Virtaal tool the spellcheck in Galician
for Debian 9 and Ubuntu 18.4 but it's not working. After comparing package
lists, build rules and upstream's source code with Arch Linux - where it's
correctly working - we believe this is due to a missing parameter
GTKSPELL=true in the ./setup.py file, which is inhibiting the module to be
invoked and, hence, compiled.

miguel@asustao:~$ reportbug -q --template -T none -s none -S normal -b
--list-cc none -q python-gtkspellcheck
Warning: no reportbug configuration found.  Proceeding in novice mode.
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using '"Miguel A. Bouzada" <miguel@asustao>' as your from address.
Getting status for python-gtkspellcheck...
Will send report to Debian (per lsb_release).
Maintainer for python-gtkspellcheck is 'Debian Python Modules Team <
python-modules-team@lists.alioth.debian.org>'.
Looking up dependencies of python-gtkspellcheck...

Rewriting subject to 'python-gtkspellcheck: none'
Saving a backup of the report at
/tmp/reportbug-python-gtkspellcheck-backup-20180724-9887-s4rtr17j
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Miguel A. Bouzada" <miguel@asustao>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-gtkspellcheck: none
X-Debbugs-Cc: none

Package: python-gtkspellcheck
Version: 4.0.5-1
Severity: normal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtkspell
miguel@asustao:~$ python2
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtkspell
miguel@asustao:~$

==========

See discussion in the following link:
https://github.com/translate/virtaal/issues/3284#issuecomment-406783574

Thanks and regards,
M. Bouzada

#904502#10
Date:
2018-07-24 21:36:44 UTC
From:
To:
Control: clone -1 -2
Control: reassign -2 virtaal
Control: forwarded -2 https://github.com/translate/virtaal/issues/3284
Control: tags -2 + upstream
Control: severity -1 wishlist
Control: retitle -1 python-gtkspellchecker: deprecated gtkspell wrapper not included

The upstream source code release that's used in Debian, which was
downloaded from <https://pypi.org/project/pygtkspellcheck/#files>,
doesn't include the gtkspell.py module. That module appears to only be
available from the upstream git repository.

It seems to be a deprecated wrapper to emulate an older PyGTK API under
Python 2 (but not Python 3), and was described as a "legacy API" in
the commit that added it in 2012. I'm not sure whether that's something
that is really appropriate for Debian to be enabling, when the future
direction is away from both PyGTK and Python 2.

I suspect virtaal's spellchecker plugin should use gtkspellchecker directly,
instead of going via gtkspell. This is a necessary step if virtaal is
ever going to move to Python 3 (so is #885493), because the gtkspell
module is not available for Python 3.

    smcv

#904502#25
Date:
2024-02-26 18:33:08 UTC
From:
To:
Dear submitter,

as the package virtaal has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1064180

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)