Bug 68850 - Trying to use help in Georgian locale crashes writer, unknown encoding: GEORGIAN-PS
Summary: Trying to use help in Georgian locale crashes writer, unknown encoding: GEORG...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-02 15:51 UTC by ken moffat
Modified: 2013-10-31 10:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ken moffat 2013-09-02 15:51:31 UTC
I was just reviewing my available languages and locales, and looking to see how many had translations for 'About LibreOffice' by opening the last menu and selecting the last item on it (no, I cannot read many of these languages!).  In georgian it crashed with a Python error:

ken@ac4tv ~ $LC_ALL=ka_GE lowriter
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: GEORGIAN-PS

 That was with system Python (3.3.2) and none of my environment variables reference PYTHON.  The values for georgian in /usr/lib/python3.3/locale.py are:
    'ka':                                   'ka_GE.GEORGIAN-ACADEMY',
    'ka_ge':                                'ka_GE.GEORGIAN-ACADEMY',
    'ka_ge.georgianacademy':                'ka_GE.GEORGIAN-ACADEMY',
    'ka_ge.georgianps':                     'ka_GE.GEORGIAN-PS',
    'ka_ge.georgianrs':                     'ka_GE.GEORGIAN-ACADEMY',
Comment 1 Julien Nabet 2013-09-06 22:50:48 UTC
Andras: one for you?
Comment 2 Caolán McNamara 2013-10-31 10:48:51 UTC
So, this is a generic python3 problem...

LANG=ka_GE.georgianps /usr/bin/python3
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: GEORGIAN-PS
Aborted (core dumped)


but python 2 does't blow up

LANG=ka_GE.georgianps /usr/bin/python2

all ok
Comment 3 Caolán McNamara 2013-10-31 10:53:39 UTC
Lets therefore move this to the python bugzilla as http://bugs.python.org/issue19459