-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
test_persistentdataset_dist
error on windows
#3613
Comments
Hi @wyli , I remember I saw this issue before, let me try to find it out. Thanks. |
thanks, I put a patch here: #3615 |
Hi @wyli , May I know where you found this error? It always happens or only rarely happens in CI env? Thanks. |
the most recent error is here https://github.com/Project-MONAI/MONAI/runs/4748467145?check_suite_focus=true. I think it becomes more frequent after this testing script update: 7f23f38#diff-8b8238839d9c98a26d9a1d5a504a38807afa0dbee153e4d565de8e617e98e51f |
OK, do you have any idea what's update in this Thanks. |
Hi @wyli , I checked some pages about this error, maybe it's related to: The test program doesn't have permission to create file on windows Thanks. |
looks like a known issue python/cpython#24793 and python 3.10 has an option |
Hi @wyli , Thanks for your investigation, so if someone faces this issue, we can ask him to update python? |
thanks, I updated the ticket to include more information. |
Describe the bug
the error occurs randomly:
--- update ---
A similar issue was reported at bpo-29982 where the calling app
tempfile.TemporaryDirectory
toshutil
should handle the exception. A python PR has been merged to address that issue python/cpython#24793.Before that PR is officially released in python 3.10, we handle the exception with another
try...except
in #3633.The text was updated successfully, but these errors were encountered: