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
Totally weird parsing/unknown problem... #749
Comments
Forgot to mention: Julia 0.7 and latest stable documenter. |
I can not reproduce this error. |
Me neither, although I am also running into
|
Hi @mortenpi I did what you said but it wasn't very fruitful. I am using 0.7.0-alpha.0, using the windows installer. I want to stress that what I am reporting here cannot be an issue with neither PyPlot or DynamicalBilliards. The code I use is valid, and when pasted on the REPL runs fine. There is a parsing issue definitely. The issue happens in both of my computers, which operate on Windows 10. You can find the complete example along with the
this will install for you the branch
(of course doc deployment will fail) When you do that, you will get a warning/error:
which is associated with the file
even though the code is valid and runs on the REPL. |
One more parsing error to report:
gives
even though the code block is once again valid and if copy-pasted on the REPL runs fine and prints the results fine. |
I'm thinking it might be related to line endings, since you are on Windows. Documenter should normalize all of them, but perhaps we have missed that somewhere? function replace_newlines(filename)
str = read(filename, String)
str = replace(str, "\r\n" => "\n")
write(filename, str)
end |
Did not work :( I'll try re-installing everything |
I'm also facing a weird issue see #790 |
I am facing some parsing problems when trying to use PyPlot to plot and save figures to use in my documentation...
I am sorry, I don't really know how to make a MWE because I got no clue where the problem is. The documentation example works fine for me.
Gives error:
please note that this error is not from my side; copy-pasting this block to the REPL is fine
On the other side, these:
parse fine, they do their figures, do their plottings, they save their figures and all is cool. Not only that, but even though the initial block failed to run correctly, the
using DynamicalBilliards, PyPlot
statement took effect, since it is used in the later blocks.Let me know if I can do more to help. If you want to run these code blocks you have to checkout the branch
namefield
ofDynamicalBilliards
. These examples are in thedocs/visualizing.md
file.The text was updated successfully, but these errors were encountered: