bite-your-idols / Gamestarter

:video_game: Retrogaming kodi add-on repository for LibreELEC
261 stars 49 forks source link

EmulationStation on Kodi v18.4 "Leia" #137

Closed k0st1x closed 4 years ago

k0st1x commented 4 years ago

the emulation station closes unexpectedly with

emulationstation_debug.log

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted

workaround: https://forum.libreelec.tv/thread/287-gamestarter-retrogaming-add-ons-rpi-generic/?postID=129049#post129049

bite-your-idols commented 4 years ago

Please, comment your device and LE version, and if this workaround worked for you.

I can confirm that after installing the locale addon and changing it to en_US.UTF-8 on the addon's settings, emulationstation now runs normally.

k0st1x commented 4 years ago

Please, comment your device and LE version, and if this workaround worked for you.

LE 9.1.501 workaround doesn't work :(

bite-your-idols commented 4 years ago

did you try what also is commented in that thread? https://forum.libreelec.tv/thread/287-gamestarter-retrogaming-add-ons-rpi-generic/?postID=129132#post129132 https://forum.libreelec.tv/thread/287-gamestarter-retrogaming-add-ons-rpi-generic/?postID=129134#post129134

k0st1x commented 4 years ago

@bite-your-idols yes, i've tried to install locale tool addon set it to "en_US.UTF-8" and reset the device, but it wont fix issue.

also i've tried to run python script in ssh terminal

$ python

Python 2.7.16 (default, Sep 2 2019, 20:11:29) [GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import locale locale.getlocale()

(None, None)

then i've tried

$ locale

locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory 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="en_US.UTF-8" 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=

im not the linux-python-guy, but is this command can say that the locale is not set?

upd: just reinstalled the locale addon and the emulationstation runs without issues.

i dont know, is this issue related to emulationstation or to libreelec's default configuration?

bite-your-idols commented 4 years ago

I really don't know... but happy to hear it worked again for you!