Description
Dear @FormerLurker ,
Great work here. I am utilizing the plugin on 2 octoprint instances I have in my environment.
While on the Raspberry PI the operation of the plugin is flawless on my Windows 10 instance I am facing some strange behaviour.
When I configure the plugin to rename the uploaded file and remove the old one I see that after file processing the new file is loaded and starts to print but the old file remains. If I check the log I see the error:
"PermissionError: [WinError 32] The process cannot access the file because it is being used by another process" followed by the path and the name of the file I uploaded.
It seems the issue is related also with one Octoprint file as well cause I also receive the below message just before the error message:
" File "c:\OctoPrint\venv\lib\site-packages\octoprint\filemanager\storage.py", line 960, in remove_file
os.remove(file_path)"
The same behavior is happening even if I select to replace the file that is uploaded with the processed file. In this case the situation is even more problematic as the actual file that is going for printing is the uploaded file and not the processed.