-
Notifications
You must be signed in to change notification settings - Fork 16
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
BUG:dask.multiprocessing.PermissionError when running vak prep #785
Comments
Thank you @milaXT for the detailed error report, let me dig into this to see if I can figure out what's going on Can you please reply with the entire contents of your environment by doing You were working through the tutorial, looks like? |
Thank you Dave.Attached is the information for my conda environment.
and Troubleshooting conda installations on Windows because I got a permission error
but both returned me with the same permission error. |
Thank you @milaXT I will see if I can reproduce today or tomorrow |
@milaXT can you try one other thing for me? Are you able to move the data for the tutorial to your C drive and test it there? If D is a network drive and there's some lag between calls, that might explain what's going on |
Thank you Dave.I move my data to C drive but report the same error. I used the "net use" command in the Windows CMD shell and confirmed that my D drive is not a network drive. |
Thanks so much @milaXT for testing. At least we can rule that out. I will try to reproduce today but a couple things came up, will get to it by end of day Friday at the latest |
Hi again @milaXT just confirming that, yes, I was able to reproduce this locally using your environment.yml Thanks so much for catching this bug and providing a detailed error report. Not clear to me what the source of the error is yet -- possibly a Windows-specific thing, or due to a change in Dask? |
@all-contributors please add @milaXT for bug |
I've put up a pull request to add @milaXT! 🎉 |
@milaXT if I use WSL2 on the same Windows 10 machine where I reproduced your error, I am able to run Are you able to use WSL2 on your machine? We have had issues with dask on Windows in the past (see e.g. #293) that were fixed by switching to WSL. I can try to get to the root of this sooner if you really need to work on Windows (but not WSL) -- but using WSL might be easier in the short term if you can. Just let me know what else I can do to help. Happy to jump on a quick Zoom meeting to help troubleshoot if you need it |
When I run vak prep "D:\Program\2024-auto annotation\gy6or6_train.toml" I met a weird error like:
When I ran the command again, the problematic file changed randomly, but the error type remained the same. I have checked repeatedly and I am sure I did not open these files, so I personally did not occupy these files. Moreover, the file permissions are all set to allow writing and modification. Therefore, I suspect that there might be an issue with the parallel program, but I am not sure how to modify it.
Thanks for your help.
Operating System: Windows
Version:vak 1.0.3
python version:3.10
The text was updated successfully, but these errors were encountered: