Describe the bug
If the T2drive is the same as TempDrive, Remove-AbortedPlotoJobs runs into trouble getting the files, as they are already deleted. Affects Stotik Plotter the most, as it defines t2 = temp if no t2 is defined.
To Reproduce
1.) Define no T2/Disable it
2.) Run Ploto with Stotik Plotter
3.) Abort the Jobs
4.) Run Start-PlotoSpawns again (Or Remove-AbortedPlotoJobs)
Expected behavior
Remove files correctly if no T2 is specified when using Stotik.
Screenshots
PlotoManager @ 13/06/2021 23:33:24 : Amount of spawned Plots in this iteration: 1
PlotoManager @ 13/06/2021 23:33:24 : Overall spawned Plots since start of script: 1
__
PlotoManager @ 14/06/2021 00:13:30 : Detected aborted jobs. Removing them...
PlotoRemoveAbortedJobs @ 14/06/2021 00:13:30 : Found aborted Jobs to be deleted: 821d19cf-1e86-49a7-9b47-6a4ea90fb038
PlotoRemoveAbortedJobs @ 14/06/2021 00:13:30 : Cleaning up...
PlotoStopJob @ 14/06/2021 00:13:30 : Found the job to be aborted with JobId: 821d19cf-1e86-49a7-9b47-6a4ea90fb038
Get-ChildItem : Cannot find path 'C:\Users\scott\2' because it does not exist.
At C:\users\scott.chia\mainnet\Ploto.psm1:1894 char:29
Describe the bug If the T2drive is the same as TempDrive, Remove-AbortedPlotoJobs runs into trouble getting the files, as they are already deleted. Affects Stotik Plotter the most, as it defines t2 = temp if no t2 is defined.
To Reproduce 1.) Define no T2/Disable it 2.) Run Ploto with Stotik Plotter 3.) Abort the Jobs 4.) Run Start-PlotoSpawns again (Or Remove-AbortedPlotoJobs)
Expected behavior Remove files correctly if no T2 is specified when using Stotik.
Screenshots PlotoManager @ 13/06/2021 23:33:24 : Amount of spawned Plots in this iteration: 1 PlotoManager @ 13/06/2021 23:33:24 : Overall spawned Plots since start of script: 1 __ PlotoManager @ 14/06/2021 00:13:30 : Detected aborted jobs. Removing them... PlotoRemoveAbortedJobs @ 14/06/2021 00:13:30 : Found aborted Jobs to be deleted: 821d19cf-1e86-49a7-9b47-6a4ea90fb038 PlotoRemoveAbortedJobs @ 14/06/2021 00:13:30 : Cleaning up... PlotoStopJob @ 14/06/2021 00:13:30 : Found the job to be aborted with JobId: 821d19cf-1e86-49a7-9b47-6a4ea90fb038 Get-ChildItem : Cannot find path 'C:\Users\scott\2' because it does not exist. At C:\users\scott.chia\mainnet\Ploto.psm1:1894 char:29
Ploto Version in use
Additional context Add any other context about the problem here.