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 709341 - gaupol crashed when trying to open a file
gaupol crashed when trying to open a file
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-03 08:58 UTC by d.mauduit
Modified: 2013-10-04 06:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description d.mauduit 2013-10-03 08:58:04 UTC
Traceback

File: /usr/local/lib/python3.3/dist-packages/aeidon/deco.py
Line: 307
In: inner_wrapper

    try: return function(*args, **kwargs)

File: /usr/local/lib/python3.3/dist-packages/gaupol/agents/open.py
Line: 151
In: _on_open_main_files_activate

    paths, encoding = self._select_files(_("Open"), doc)

File: /usr/local/lib/python3.3/dist-packages/gaupol/agents/open.py
Line: 259
In: _select_files

    dialog = gaupol.OpenDialog(self.window, title, doc)

File: /usr/local/lib/python3.3/dist-packages/gaupol/dialogs/open.py
Line: 41
In: __init__

    self._init_encoding_combo()

File: /usr/local/lib/python3.3/dist-packages/gaupol/dialogs/file.py
Line: 40
In: _init_encoding_combo

    self._populate_encoding_combo()

File: /usr/local/lib/python3.3/dist-packages/gaupol/dialogs/file.py
Line: 104
In: _populate_encoding_combo

    name = aeidon.encodings.code_to_long_name(encoding)

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

    description=item[DESC]))

KeyError: 'nom'

Environment

Platform: Linux-3.8.0-31-generic-x86_64-with-Ubuntu-13.04-raring
Locale: fr_FR.utf_8

Libraries

Python: 3.3.1
GTK+: 3.6.4
PyGObject: 3.8.0
GStreamer: 1.0.6.0

Python Packages

aeidon: 0.24.1
gaupol: 0.24.1
enchant: None
gtkspellcheck: None
chardet: 2.0.1
Comment 1 Osmo Salomaa 2013-10-03 17:07:12 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 ***
Comment 2 d.mauduit 2013-10-04 06:11:43 UTC
OK. Thanks.
I removed '/usr/local/share/locale/fr/LC_MESSAGES/gaupol.mo' and the bug is fixed.