blissd / fotema

Photo gallery for Linux
29 stars 6 forks source link

Localization crash #66

Closed baarkerlounger closed 3 weeks ago

baarkerlounger commented 3 weeks ago
$ flatpak run app.fotema.Fotema

thread 'main' panicked at src/languages.rs:67:10: 
Localization files should be present: RequestedLanguagesEmpty 
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
blissd commented 3 weeks ago

Thank you for your bug report. I can reproduce the problem on my system by overriding the LANG environment variable to be blank.

LANG="" flatpak run app.fotema.Fotema
thread 'main' panicked at src/languages.rs:67:10:
Localization files should be present: RequestedLanguagesEmpty
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I'll work on a fix, but in the meantime as a workaround you can specify the language when running Fotema:

LANG=en flatpak run app.fotema.Fotema
blissd commented 3 weeks ago

Fixed in 1.8.4 which is now available on Flathub.