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] Processen kan ikke få adgang til filen, da den bruges af en anden proces: 'carrots'" #109

Open
MegetSkuffet opened this issue Apr 3, 2022 · 1 comment

Comments

@MegetSkuffet
Copy link

MegetSkuffet commented Apr 3, 2022

Traceback (most recent call last):
  File "...\shutil.py", line 813, in move
    os.rename(src, real_dst)
PermissionError: [WinError 32] Processen kan ikke få adgang til filen, da den bruges af en anden proces: 'carrots' -> '.solved/carrots'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "...\Kat\kattis.py", line 41, in main
    execCommand[command](data)
  File "...\Kat\commands\submit.py", line 85, in submitCommand
    archive(problemName, ".solved/")
  File "...\Kat\commands\archive.py", line 30, in archive
    shutil.move(problemName, folder + problemName)
PermissionError: [WinError 32] Processen kan ikke få adgang til filen, da den bruges af en anden proces: 'carrots'

@Duckapple
Copy link
Owner

The file is used by another process, and cannot be moved. Are you running the debugger in the background when this error appears?

@Duckapple Duckapple changed the title Exception: "[WinError 32] Processen kan ikke få adgang til filen, da den bruges af en anden proces: 'carrots'" PermissionError: "[WinError 32] Processen kan ikke få adgang til filen, da den bruges af en anden proces: 'carrots'" Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants