Package: python-gtkspellcheck
Version: 3.0-1.1
Severity: important
Dear Maintainer,
trying to 'import gtkspellcheck' in python running from terminal leads to the
following error:
Python 2.7.11 (default, Jan 11 2016, 21:04:40)
[GCC 5.3.1 20160101] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtkspellcheck
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/gtkspellcheck/__init__.py", line 57,
in
from gtkspellcheck.spellcheck import SpellChecker
File "/usr/lib/python2.7/dist-packages/gtkspellcheck/spellcheck.py", line 32,
in
from pylocales import code_to_name
File "/usr/lib/python2.7/dist-packages/pylocales/__init__.py", line 55, in
from pylocales.locales import *
File "/usr/lib/python2.7/dist-packages/pylocales/locales.py", line 54, in
_database = sqlite3.connect(os.path.join(__path__, 'locales.db'))
sqlite3.OperationalError: unable to open database file
I noticed this while using zim 0.65 and reportbug 6.6.6 reports that spell
checking is not available.
Regards
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 python 2.7.11-1
ii python-enchant 1.6.6-2
ii python-gi 3.18.2-2
ii python-gtk2 2.24.0-4
Versions of packages python-gtkspellcheck recommends:
ii iso-codes 3.65-1
python-gtkspellcheck suggests no packages.
-- no debconf information