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: 'C:\\Users\\username\\AppData\\Local\\Temp\\tmp3v6qi352' #3

Open
raghadalhelal opened this issue Jan 7, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@raghadalhelal
Copy link

I tried to execute sigvalidator.py without success.

This is my code:

if __name__ == '__main__':

    sigv = sigvalidator.SigValidator()

Here is the error message that I got

Exception ignored in: <function SigValidator.del at 0x03637100>
Traceback (most recent call last):
File "C:\Users\ragehead\Yeager\venv\lib\site-packages\sigvalidator.py", line 62, in del
File "C:\Users\ragehead\Yeager\venv\lib\site-packages\sigvalidator.py", line 96, in clean_workin_dir
File "C:\Users\ragehead\Yeager\venv\lib\site-packages\sigvalidator.py", line 101, in delete_file
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\username\AppData\Local\Temp\tmp3v6qi352'

Thank you for your support

@ricardojrdez ricardojrdez added the bug Something isn't working label Jan 11, 2021
@ricardojrdez
Copy link
Member

Hi Raghad,
I completely forgot about this issue, my apologies. I can't recreate the problem. Can you give more details?

Maybe there is some AV analyzing the temporary file created by our tool and therefore it cannot be deleted?

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

No branches or pull requests

3 participants