HGL
fair-rose
Logging into Epic results in a locale error
Hi, got a fresh Arch Linux install and while configuring it I did a typo on the
locale.conf
file, which resulted in a broken locale systemwide. Since then though I fixed it, all apps are working fine except for Heroic.
Here's the error:
This makes the launcher unusable as it blocks GOG games as well
I tried reinstalling it, deleting all cache and configuration files but still nothing. Does anyone know how to fix this? Thanks in advance for the help!10 Replies
What does
locale
say now?
If you're using the Flatpak version of Heroic, also check flatpak run --command=locale com.heroicgameslauncher.hgl
fair-roseOP•2w ago
It's the native package, both binary and system wide on arch linux. Now the locale says the correct "en_GB.UTF-8"
Looking through the Python source here, what are the following environment variables set to:
-
LC_ALL
- LC_CTYPE
- LANG
- LANGUAGE
?fair-roseOP•7d ago
sorry i was out for the night.
idk but to me it seems alright

fair-roseOP•7d ago
this is my
locale.conf
file
Ah, I think I found it?
Edit
~/.config/heroic/legendaryConfig/legendary/config.ini
, your locale should be in a locale
key there
It's strange to me that the getdefaultlocale
function is raising an exception though. The line it's complaining about there is here:
https://github.com/Heroic-Games-Launcher/legendary/blob/d044a20eb7db67c3d5183c6022fb55899e84c98a/legendary/core.py#L79-L80
Not sure what else could be wrong thoughfair-roseOP•7d ago
i do not have that file
sensitive-blue•6d ago
guys if any problem on arch linux ? [alak@archlinux ~]$ yay -S heroic-games-launcher-bin
-> 1 error occurred:
* request failed: Get "https://aur.archlinux.org/rpc?arg%5B%5D=heroic-games-launcher-bin&type=info&v=5": EOF
-> Failed to find AUR package for heroic-games-launcher-bin:1 error occurred:
* request failed: Get "https://aur.archlinux.org/rpc?arg=heroic-games-launcher-bin&by=provides&type=search&v=5": EOF
-> No AUR package found for heroic-games-launcher-bin
there is nothing to do
helpful-purple•6d ago
this is because the AUR has been getting DDOSed over the last week or so, rather than a heroic problem
would be my bet, just try again and it might go through, not sure if they're still having connectivity issues, but it could be that
sensitive-blue•6d ago
thx its work now