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

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process #389

Closed
andreabartolucci opened this issue Sep 10, 2021 · 2 comments · Fixed by #391
Labels
bug Something isn't working
Milestone

Comments

@andreabartolucci
Copy link

I have followed the tutorial but I am having some problems in the last step (otter grade The submission_pdfs are produced but not final_grades.csv. Here attached you can find the screenshot of the error and some other screenshots that document the steps I have followed.
The error is "PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\Andrea\AppData\Local\Temp\tmpqxnqpv19" and it seems to happen here File "c:\users\andrea\anaconda3\envs\gsas\lib\site-packages\otter\grade\containers.py", line 210, in grade_assignments os.remove(temp_subm_path)
Screenshot (533).
Screenshot (534)
Screenshot (535)
Screenshot (536)

@andreabartolucci andreabartolucci added the bug Something isn't working label Sep 10, 2021
@chrispyles
Copy link
Member

@andreabartolucci I think I've found the issue and fixed it. Do you mind re-installing Otter from my fork and verifying that this fix works?

pip uninstall -y otter-grader
pip install git+https://github.com/chrispyles/otter-grader.git@master

@andreabartolucci
Copy link
Author

andreabartolucci commented Sep 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants