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

Codespace doesn't let me make html #4184

Closed
audrow opened this issue Feb 22, 2024 · 3 comments
Closed

Codespace doesn't let me make html #4184

audrow opened this issue Feb 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@audrow
Copy link
Member

audrow commented Feb 22, 2024

When I do make html, I get a locale error. I'm not sure what the fix is, especially because I can't seem to use sudo, perhaps because of the Docker setup.

$ make html
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/rosindex/.local/lib/python3.10/site-packages/sphinx/__main__.py", line 7, in <module>
    raise SystemExit(main(sys.argv[1:]))
  File "/home/rosindex/.local/lib/python3.10/site-packages/sphinx/cmd/build.py", line 326, in main
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.10/locale.py", line 620, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
make: *** [Makefile:23: html] Error 1

Any thoughts, @cychitivav?

It also may be good to add some instructions saying how to use the codespace in the repo's readme.

@audrow audrow added bug Something isn't working help wanted Extra attention is needed labels Feb 22, 2024
@clalancette
Copy link
Contributor

I suspect that the container needs something like http://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debians.html#set-locale at the beginning of it, but I have no idea how codespace works.

@fujitatomoya fujitatomoya self-assigned this Mar 2, 2024
@fujitatomoya
Copy link
Collaborator

as @clalancette pointed out, we need to add some procedure during devcontainer instantiation. i will come up with fix 🔨

@clalancette
Copy link
Contributor

I think this was fixed by @fujitatomoya 's PRs, so I'm going to close it out. Feel free to reopen if this is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants