You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/private/tmp/issue/venv/bin/sphinx-quickstart", line 11, in <module>
sys.exit(main())
File "/private/tmp/issue/venv/lib/python3.7/site-packages/sphinx/cmd/quickstart.py", line 616, in main
locale.setlocale(locale.LC_ALL, '')
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/locale.py", line 604, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Expected results
sphinx-quickstart do not raise exception
Reproducible project / your project
Nothing (this issue occurs before having a project created)
Environment info
OS: macOS 10.14.1
Python version: 3.7
Sphinx version: 1.8.2
The text was updated successfully, but these errors were encountered:
I don't believe this is a Sphinx bug specifically. The idiom of locale.setlocale(locale.LC_ALL, '') works on Windows/Linux even if LC_ALL is empty. From research it seems to be a problem specific to Mac:
Subject: sphinx-quickstart fails when $LC_ALL is empty
Problem
Procedure to reproduce the problem
Error logs / results
Expected results
sphinx-quickstart do not raise exception
Reproducible project / your project
Environment info
The text was updated successfully, but these errors were encountered: