-
Notifications
You must be signed in to change notification settings - Fork 44
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
Esbonio build fails with WinError 2: File in use error when renaming temporary file #94
Comments
The rename must happen behind the 'with' block as the explicit close inside the with block is incorrect and can cause undefined behavior such as the file not being closed. This causes the rename to fail |
I observe the same (v.30) and had to go back to v.26 as JensWalther mentionned (running on Windows) |
I experience a similar problem. Will try version 0.26 and see if this "fixes" the issue. (Running on Windows as well.) |
I just ran in the same problem, but this time with version 0.26 in the virtual environment: Note: It concerns a multi-root workspace. |
Look at the issue I opened two weeks ago, the devs aren't functioning so tweaked the code myself and now it works.. written the modified code in my issue thread |
https://github.com/sphinx-contrib/plantuml/blame/09f9d13c44bdbfb73974159cedd29bb1d2e08f69/sphinxcontrib/plantuml.py#L411
This close statement is "double" closing the temporary file causing the rename to fail occasionally. Observed with v.29 wheel file.
v.26 does not show this error.
The text was updated successfully, but these errors were encountered: