Closed gegentan closed 1 month ago
Hi, it looks like you are trying to run Alpaca with an incompatible locale, may I ask which language and region you are using on your system?
I am using english as language and germany as region.
After running export LC_ALL="en_US.UTF-8
and starting alpaca via command line using flatpak run com.jeffser.Alpaca
makes alpaca launch (But only works from the command line).
I don't know if this helps, but...
bruno@bruno-pc-ubuntu:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
bruno@bruno-pc-ubuntu:~$
turns out the line that was causing the issues wasn't needed at all, it should work fine now
https://github.com/Jeffser/Alpaca/commit/19b089e6c63c2b1e00ecee5d38915b18ff65fa2f
Describe the bug After installing alpaca, it doesn't launch from the gnome software app or app overview. When running alpaca from warehouse, it outputs this error:
(process:2): Gtk-WARNING **: 11:49:49.469: Locale not supported by C library. Using the fallback 'C' locale. Traceback (most recent call last): File "/app/bin/alpaca", line 45, in <module> from alpaca import main File "/app/share/Alpaca/alpaca/main.py", line 29, in <module> from .window import AlpacaWindow File "/app/share/Alpaca/alpaca/window.py", line 37, in <module> class AlpacaWindow(Adw.ApplicationWindow): File "/app/share/Alpaca/alpaca/window.py", line 47, in AlpacaWindow locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python3.11/locale.py", line 627, in setlocale return _setlocale(category, locale) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ locale.Error: unsupported locale setting
Expected behavior It launches.
Screenshots
Additional context OS: Ubuntu 24.04 Alpaca version: 1.0.2