-
Notifications
You must be signed in to change notification settings - Fork 21
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
write to closed file #89
Comments
Are you running multiple instances of the downloader at the same time when you see this error? |
Nope. |
But I'm also failing to reproduce it any more, so maybe something was weird about my container. I'll reopen if it recurs. |
I think the reason is that this thread pool is not joined nda-tools/NDATools/Download.py Lines 358 to 361 in e4069d4
You should only close the file handle after joining the This also means that the download report may be incomplete |
yea, I think that makes sense. Thank you for pointing that out. Eventually I think we are going to use a sqllite db instead of writing to csv files, but this should be a quick fix that we can include in the next release. Thanks again |
I very often am getting this:
If I run the program again, it works fine - usually.
The text was updated successfully, but these errors were encountered: