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
decode error when opening openapi file (dockerized zulip) #22437
Comments
I've been able to reproduce the issue: it is a matter of Alternatively, I've also been able to fix the issue by opening the zulip/zerver/openapi/openapi.py Line 99 in f97fa80
|
Hello @zulip/server-api, @zulip/server-production members, this issue was labeled with the "area: production", "area: documentation (api and integrations)" labels, so you may want to check it out! |
@andersk can you investigate this one? |
I can’t reproduce this, on the same version (5.3 based on the venv hash) or latest (5.5), unless I deliberately sabotage the locale configuration: --- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -60,6 +60,7 @@ services:
- "80:80"
- "443:443"
environment:
+ LC_ALL: C
DB_HOST: "database"
DB_HOST_PORT: "5432"
DB_USER: "zulip" What host system is running your containers? Are you using docker-compose? What version of Docker? |
Hello, hope these infos will help:
|
Hmm. I set up a CentOS 7 host system with the same versions and I’m still unable to reproduce. What does this output for you? docker compose exec zulip env | grep ^L |
Hello. Sorry for the late reply. This is the result
|
I keep getting this kind of errors and I finally managed to trigger them. They happen when I open the docs for the API and the error is clearly an issue with the openapi and the zulip.yaml file. Nonetheless I don't understand if it's a problem with the encoding of the file or what.
To reproduce:
The text was updated successfully, but these errors were encountered: