[Python-modules-team] Bug#904487: Failed to load plugin "spellchecker" - No module named gtkspell

Miguel Bouzada mbouzada at gmail.com
Tue Jul 24 18:56:00 BST 2018


Package: python-gtkspellcheck
Version: 4.0.5-1

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 at 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 at 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 at 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 at asustao>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: python-gtkspellcheck: none
X-Debbugs-Cc: none

Package: python-gtkspellcheck
Version: 4.0.5-1
Severity: normal

-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8),
LANGUAGE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-gtkspellcheck depends on:
ii  gir1.2-gtk-3.0  3.22.11-1
ii  python          2.7.13-2
ii  python-enchant  1.6.7-1
ii  python-gi       3.22.0-2
ii  python-gtk2     2.24.0-5.1

Versions of packages python-gtkspellcheck recommends:
ii  iso-codes  3.75-1

Versions of packages python-gtkspellcheck suggests:
pn  python-gtkspellcheck-doc  <none>

-- no debconf information
miguel at asustao:~$

==========

miguel at asustao:~$ virtaal

** (virtaal:9822): WARNING **: AT-SPI: Could not obtain desktop path or name

** (virtaal:9822): WARNING **: atk-bridge: GetRegisteredEvents returned
message with unknown signature

** (virtaal:9822): WARNING **: atk-bridge: get_device_events_reply: unknown
signature

** (virtaal:9822): WARNING **: atk-bridge: get_device_events_reply: unknown
signature
ERROR:root:Failed to load plugin "spellchecker"
No module named gtkspell
Traceback (most recent call last):
  File
"/usr/lib/python2.7/dist-packages/virtaal/controllers/plugincontroller.py",
line 109, in enable_plugin
    self.plugins[name] = plugin_class(name, self.controller)
  File "/usr/lib/python2.7/dist-packages/virtaal/plugins/spellchecker.py",
line 69, in __init__
    import gtkspell
ImportError: No module named gtkspell

==========

miguel at asustao:~$ python
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.
>> import gtkspell
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtkspell
>>
miguel at 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.
>> import gtkspell
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtkspell
>>
miguel at asustao:~$

==========

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

Thanks and regards,
M. Bouzada

-- 
Membro do «Grupo de Amigos GNU/Linux de Pontevedra (GALPon)»
http://galpon.org
Membro de «Proxecto Trasno» http://trasno.gal
Co-coordinador do proxecto «GALPon MiniNo» http://minino.galpon.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180724/0a2c7757/attachment.html>


More information about the Python-modules-team mailing list