Description: LibreOffice crashes when I open Writer. The message is: Due to an error, LibreOffice crashed. All the files you were working on will..... I reinstalled without success. Reseting user profile and others in safe mode does not work. I have OpenSuse Leap 15.1. In terminal I become following message Fatal Python error: Py_Initialize: Unable to get the locale encoding File "/usr/lib64/python/encodings/__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax Current thread 0x00007ffaefb03400 (most recent call first): Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. Steps to Reproduce: 1.Open Libreoffice Writer 2. 3. Actual Results: Following message appears : Due to an error, LibreOffice crashed Expected Results: Opening LibreOffice Writer Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: On terminal I introduce libreoffice --safe-mode After I start in normal mode it appears: Fatal Python error: Py_Initialize: Unable to get the locale encoding File "/usr/lib64/python/encodings/__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax Current thread 0x00007ffaefb03400 (most recent call first): Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Thank you for reporting the bug. it seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
The message is thrown by a Python script which is part of package python-base-2.7.17-lp152.3.3.1.x86_64 (on openSUSE 15.2 - no sure about the version on openSUSE 15.1) user@system:> rpm -qf /usr/lib64/python/encodings/__init__.py python-base-2.7.17-lp152.3.3.1.x86_64 Hence it does not look like a problem with LibreOffice but on python-package provided by the distribution. BTW: No repro on (all on OpenSUSE 15.2): Version: 7.0.3.1, Build ID: d7547858d014d4cf69878db179d326fc3483e082 CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5 Locale: en-US (en_US.UTF-8); UI: en-US, Calc: threaded Version: 6.4.7.2, Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5 CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5; Locale: en-US (en_US.UTF-8); UI-Language: en-US, Calc: threaded Version: 6.3.6.2, Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497 CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kde5; Locale: en-US (en_US.UTF-8); UI-Language: en-US, Calc: threaded
Hello The latest official LibreOffice for OpenSuse Leap 15.1 is 6.4.5.2. I also added the http://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_Leap_15.1/ repository. I cannot install a newer version. Kind regards Victor MARIAN
I also checked and python-base-2.7.17-lp152.3.3.1.x86_64 is installed and there is no other newer version on yast. The version Leap 15.1 was obtained by upgrading from 15.0. On another laptop with fresh install I don't have this problem. I also did an upgrade from DVD today but without success. Kind regards Victor MARIAN
[Automated Action] NeedInfo-To-Unconfirmed
We certainly need someone from opensuse to investigate this issue.
Victor MARIAN: May I ask do you have a reason to stick on openSuse Leap 15.1 without upgrading to 15.2? Python 2.7 is End of Life anyway.
Hello Victor, Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
I upgraded OpenSuse and now everything is fine.