Skip to content
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

Confirm file successfully written to or not - troubleshooting Julia/Plots/CI issue #161

Open
BioTurboNick opened this issue Oct 8, 2022 · 1 comment

Comments

@BioTurboNick
Copy link

Hello,

I'm having a problem in GitHub CI via Plots.jl in Julia, where the issue seems to be that gr fails to create the file, or doesn't create the file at the expected location. But there's no error raised from this part. The only trouble comes when Plots tries to read from that temporary file and copy it to the output file, because the expected file doesn't exist.

It only happens in CI and not on my local machine. And only seems to occur in Julia 1.8.2+.

Is it possible to detect a file IO error, or to get printed debug information (e.g., tell me where it saved a file to), without rebuilding anything?

Does it rely on Julia's libuv to write to the file? (I ask because there was a bump in that library's version between 1.8.1 and 1.8.2).

@jheinen
Copy link
Collaborator

jheinen commented Oct 9, 2022

I have observed similar problems some weeks ago when removing temporary files on Windows systems. I have not been able to find out the exact reason and have changed the test environment and removed the rm commands in the Julia scripts.

I'll be back in the office starting next Tuesday and will be adding more debug statements to the GR run-time. Nevertheless I/O bugs should be reported in the current version though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants