Skip to content

PermissionError: "[WinError 32] Processen kan ikke få adgang til filen, da den bruges af en anden proces: 'carrots'" #109

@MegetSkuffet

Description

@MegetSkuffet
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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions