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
tachyon syntax error when building doc #28971
Comments
Commit: |
Author: Jean-Florent Raymond |
comment:4
Could this have issues if the |
comment:5
Yes, you are right. New commits:
|
comment:6
Can this problem be reproduced outside the doc build? Or is it a more general problem? I think it seems strange to try to fix this just in the doc build. |
comment:7
Replying to @embray:
Answering my own question: I can't seem to reproduce the problem outside the docbuild, even after confirming that I have |
comment:8
I did not manage to reproduce it outside of the doc build. When I execute in sage exactly the same commands as those used to produce plots for the doc, no problem occurs. |
comment:9
I got this error while building the documentation (using the locale |
Reviewer: Peter Bruin |
Changed branch from /u/gh-jfraymond/locale-when-building-doc to u/gh-jfraymond/locale-when-building-doc |
Changed branch from u/gh-jfraymond/locale-when-building-doc to |
When building the documentation on a system
LC_NUMERIC="fr_FR.UTF-8"
); andtachyon, which is used to produced images of 3d objects for the documentation when jmol is not available, returns a syntax error. The error is caused by the presence of float numbers with commas (instead of dots) in the input string of tachyon. Curiously this bug seems to only happen when building the doc. See https://groups.google.com/forum/#!topic/sage-devel/peTGEjzS2eA .
This ticket fixes the bug by setting the locale before producing plots for the documentation.
Component: documentation
Keywords: tachyon syntax error locale documentation
Author: Jean-Florent Raymond
Branch/Commit:
31beb0e
Reviewer: Peter Bruin
Issue created by migration from https://trac.sagemath.org/ticket/28971
The text was updated successfully, but these errors were encountered: