ulfalizer / Kconfiglib

A flexible Python 2/3 Kconfig implementation and library
ISC License
448 stars 160 forks source link

menuconfig: fix crash caused by unsupported locales #107

Closed Iksas closed 3 weeks ago

Iksas commented 3 years ago

When run on a system with an unsupported locale setting (e.g. LC_TIME=en_DE.UTF-8), menuconfig.py crashes with the following message:

locale.Error: unsupported locale setting

This fixes it by using the default locale if an unsupported locale is encountered.

jackrosenthal commented 3 weeks ago

Rather unfortunately, it appears the original author of Kconfiglib disappeared. The Zephyr project has been granted ownership of the PyPI package via PEP-541 request, and I'm going to do a release based on a new repository in the zephyrproject-rtos organization here: https://github.com/zephyrproject-rtos/Kconfiglib

:arrow_right: Action required: @Iksas Are you able to re-open your pull request on the new repository?

Iksas commented 3 weeks ago

@jackrosenthal Will do, thanks for the info!