After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709515 - gaupol crashes with fr_FR.utf_8 locale
gaupol crashes with fr_FR.utf_8 locale
Status: RESOLVED DUPLICATE of bug 709335
Product: gaupol
Classification: Other
Component: general
0.24.1
Other Linux
: Normal normal
: ---
Assigned To: gaupol-maint@gnome.bugs
gaupol-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2013-10-06 16:19 UTC by Dominique Dumont
Modified: 2013-10-06 17:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dominique Dumont 2013-10-06 16:19:25 UTC
Hello

gaupol always crashes (see traceback below) on my system. Looks like the locale causes problem: gaupol runs fine when invoked with "LANG=C gaupol"

All the best


Traceback

File: /usr/share/gaupol/gaupol/page.py
Line: 307
In: _on_tab_label_query_tooltip

    encoding = aeidon.encodings.code_to_long_name(encoding)

File: /usr/lib/python3/dist-packages/aeidon/encodings.py
Line: 165
In: code_to_long_name

    description=item[DESC]))

KeyError: 'nom'

Environment

Platform: Linux-3.10-3-amd64-x86_64-with-debian-jessie-sid
Locale: fr_FR.utf_8

Libraries

Python: 3.3.2
GTK+: 3.8.4
PyGObject: 3.10.0
GStreamer: 1.2.0.0

Python Packages

aeidon: 0.24.1
gaupol: 0.24.1
enchant: 1.6.5
gtkspellcheck: 3.0
chardet: 2.0.1
Comment 1 Osmo Salomaa 2013-10-06 17:56:51 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 709335 ***