Package: mnemosyne Version: 1.2-r1-1 File: /usr/bin/mnemosyne Severity: normal
I recently upgraded both mnemosyne and libc (to the new 2.9 version in unstable, 2.9-6). Now, for the first time, mnemosyne fails to start if no locale environment variables are set, which is the way my environment is generally configured. Setting LANG or LC_ALL explicitly to "C" doesn't help. But if I set LC_ALL or LANG to "en_US", mnemosyne starts normally. Here's the error message that's printed: Traceback (most recent call last): File "/usr/bin/mnemosyne", line 12, in <module> from mnemosyne.core import basedir, get_config, set_config, \ File "/var/lib/python-support/python2.5/mnemosyne/core/__init__.py", line 1, in <module> from mnemosyne_core import * File "/var/lib/python-support/python2.5/mnemosyne/core/mnemosyne_core.py", line 70, in <module> home = os.path.expanduser("~").decode(locale.getdefaultlocale()[1]) TypeError: decode() argument 1 must be string, not None Since I was able to guess an appropriate workaround from the error message, this isn't a serious obstacle to me. And I think that these days, having a locale set explicitly is the more common configuration. But I suspect there must be a fairly straightforward change to the code to fix this. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages mnemosyne depends on: ii python 2.5.4-2 An interactive high-level object-o ii python-pygame 1.7.1release-4.2 SDL bindings for games development ii python-qt3 3.17.4-1 Qt3 bindings for Python ii python-support 0.8.7 automated rebuilding support for P mnemosyne recommends no packages. mnemosyne suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org