-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Error when recording commands with NULL (0x00) in the output #3900
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
Comments
I'm not sure if understand the issue, but I can't replicate with this resp = client.post(
'/api/v2/command/',
{
'build': build['id'],
'command': 'echo test',
'output': 'f\0o',
'exit_code': 0,
'start_time': str(now - datetime.timedelta(seconds=5)),
'end_time': str(now),
},
format='json',
) |
I can't reproduce this locally, even knowing that in production fails with project |
This is the problem,
|
is there anything that can be done from my end? Can I modify something in my docs or build process to We just did a major refactor and I would like to update the docs to reflect it. |
I tried re-building my docs, and it worked just fine, thanks! However, RTD still reports that |
The PR was merged, but the code wasn't deployed yet, probably it failed in the pdf generation step |
I see, thanks. How long does this process normally take? I'm in no hurry since the HTML docs are live, but just curious. |
We do not have a schedule, but I think a deployment is planned for next week. |
Great, thanks! |
This is already fixed and merged. I will deployed in the next days, so @JoyMonteiro you will just need to re-build your version once it's deployed. |
Thanks, @humitos! |
I'm reopening this issue because after yesterday's deploy it's still happening. |
I found that there are some
sphinx-build
commands that use NULL (0x00) character in the output and that output is used to hit the API endpoint https://readthedocs.org/api/v2/command/This endpoint fails because
We do some sanitization at https://github.com/rtfd/readthedocs.org/blob/40a4ff3337812621d3c26a0d93d783e097da5ad5/readthedocs/doc_builder/environments.py#L160-L164
but we probably need more than that.
Related Sentry issues:
The text was updated successfully, but these errors were encountered: