-
Notifications
You must be signed in to change notification settings - Fork 78
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
Error in magic function detect_rdata #338
Comments
Maybe there is a corrupted file at that path? |
Thank you - I think that was the problem. |
ran into this today too and Simon pointed me to a corrupt file as well. I think this is actually a FileIO bug though, because it should just overwrite the file, not give a confusing error. |
Right, FileIO can provide a fallback for broken files. In the meantime, this is also a Makie issue in https://github.com/JuliaPlots/Makie.jl/blob/beb3fcd1e460b3207b933dcfa758d6df7d48db3d/src/display.jl#L218-L222 Either use shell> touch test.png
julia> query("test.png")
┌ Error: There was an error in magic function detect_rdata.
│ Please open an issue at FileIO.jl.
│ exception =
│ EOFError: read end of file
julia> query("test.png"; checkfile=false)
File{DataFormat{:PNG}, String}("/Users/jc/Documents/Julia/FileIO.jl/test.png") |
Saving a file to pdf resulted in the error:
The text was updated successfully, but these errors were encountered: