Bug#814724:

2016-02-15 Thread Jens Sauer
The relative symbolic link in /usr/lib/python2.7/dist-
packages/pylocales seem to be the problem.

sqlite3 can not open '/usr/lib/python2.7/dist-
packages/pylocales/locales.db' unless you run it from the same
directory.

If the symbolic link is changed to an absolute path the error is gone.

Building the package from source using 'debuild -us -uc' removes this
bug.
I noticed that all files installed to /usr/lib/python2.7/dist-packages/ 
and not to /usr/share/pyshare, which is done in the binary package.



Bug#814724: python-gtkspellcheck: Error on import gtkspellcheck

2016-02-14 Thread Jens Sauer
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