Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peaclock crashes on musl systems #16

Open
kiedtl opened this issue Oct 23, 2019 · 3 comments
Open

peaclock crashes on musl systems #16

kiedtl opened this issue Oct 23, 2019 · 3 comments

Comments

@kiedtl
Copy link

kiedtl commented Oct 23, 2019

Peaclock crashes on my Void Linux musl system with the error:

Error: locale::facet::_S_create_c_locale name is not valid

This is because on musl systems, there is no locale.

System info
peaclock 0.4.0, compiled from source.

EDIT: I was able to get it working by doing:

$ unset LANGUAGE
$ LC_ALL=C peaclock
@octobanana
Copy link
Owner

I'm glad you were able to get it working! If this is an issue that affects all musl systems, perhaps there should be a Troubleshooting section added to the README.md explaining this workaround.

@kiedtl
Copy link
Author

kiedtl commented Sep 13, 2020

I'm do think this will be an issue with all musl-based systems, but I'm not sure. I'll test peaclock out on an Alpine box.

@kiedtl
Copy link
Author

kiedtl commented Nov 19, 2020

I've tested peaclock on Alpine, and can confirm that it crashes unless LC_ALL is set to C first. It would be nice if this was mentioned in the README.

Apologies for the delayed response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants