-
Notifications
You must be signed in to change notification settings - Fork 3
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
decoding issues because of missing locales #6
Comments
@Chilipp in your error message I only see python3. The container entrypoint may not be python3, but the error trace is using it (3.6). |
The openbases module is installed with pip3, see https://github.com/rseng/pdf-generator/blob/master/Dockerfile#L29. |
True, sorry 😅 It's strange, because this seems to be an issue with the docker container. When I run
I am getting the above-mentioned error. Can you reproduce this @vsoch? When I use my local python3.6 installation instead (i.e. outside of the docker container),
|
found a fix! we just need to install the locales in the docker container, i.e. add something like
to the Dockerfile. Then it works |
Ah let's give that a shot! |
okay here is a branch to try! #7. If that works, I'll merge and draft a release. |
as mentioned in SORSE/sorse.github.io#320, the pdf-generator apparently uses python 2.7 for the
ob-paper
command. You can reproduce the error with the following steps:@vsoch: the issue is in the
ob-paper
command. Try the followingwhen I run these commands, I am getting the error below, caused by the
’
signs that I replaced in SORSE/sorse.github.io@53a6dd7Error message
running
docker run -it --entrypoint python -v
pwd:/github/workspace rseng/pdf-generator --version
givesPython 2.7.17
The text was updated successfully, but these errors were encountered: