Void-packages: Libreoffice fails to launch

Created on 28 Feb 2019  路  8Comments  路  Source: void-linux/void-packages

Fails to launch with error message:

LibreOffice 6.2 - Fatal Error: The application cannot be started. 
The user interface language cannot be determined.

appimage or version from arch launches fine.

Most helpful comment

okay, i get it now. i got bamboozled by package splitting. i thought just installing libreoffice-writer was enough. it launches after i installed entire libreoffice package. i guess thats because it pulls language packs. maybe they should be added as deps to libreoffice-* too?

yep. installing libreoffice-writer and libreoffice-i18n-en-US fixes it.

All 8 comments

No problems here on fully updated x86_64-musl. Cannot test glibc right now, but there has been a glibc-locales update. Maybe something went wrong? Is your locale set up correctly? Did you try to reconfigure/reinstall glibc-locales forcefully and check your /etc/default/libc-locales?

everything seems normal. reinstalled glibc-locales just to be sure. same error.
reproducible on two machines. with old and fresh (week old) void install.
output of locale if that matters:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

No problems here on fully updated x86_64. I did reconfigure glibc-locales after the update though.

Please try to install openjdk-jre and see if the problem goes away.
If it doesn't, please try to create a temporary user and see if libreoffice starts when it creates a new configuration. Alternatively backup your $HOME/.config/libreoffice, remove it and try again.

FWIW libreoffice works fine here with LANG=de_DE.UTF-8.

doesnt work from new user, with java installed and configuration cleared.

okay, i get it now. i got bamboozled by package splitting. i thought just installing libreoffice-writer was enough. it launches after i installed entire libreoffice package. i guess thats because it pulls language packs. maybe they should be added as deps to libreoffice-* too?

yep. installing libreoffice-writer and libreoffice-i18n-en-US fixes it.

The split was done to not automagically have some basic language support installed but just the subpackages you want and their required dependencies. The average user who doesn't care will probably install libreoffice and be fine. I don't think it makes sense to reintroduce a dependency on libreoffice-i18n-en-US now.

Hi! I just encountered the same problem -- how about putting a message at the end of the install process informing the user they need to install a language pack?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vaelatern picture Vaelatern  路  4Comments

pullmoll picture pullmoll  路  4Comments

edn9 picture edn9  路  4Comments

surafel911 picture surafel911  路  3Comments

CMB picture CMB  路  3Comments