Ploto icon indicating copy to clipboard operation
Ploto copied to clipboard

[BUG] - WhenNoOutDrivesAvailable alert is not triggered

Open tekstaker opened this issue 4 years ago • 1 comments

Describe the bug When a plotter runs out of space on it's outdrives, no Discord message is sent, even though the parameters have been set.

To Reproduce Run the plotter, let the outdrive fill up. The script will terminate with an error, but no message is sent on Discord.

"SpawnerAlerts": [ { "DiscordWebhookURL": "https://discord.com/api/webhooks/99356657162297675677796/7_BZdVY0-lvhKhsb4EXw1E56bykHhDVu8FIJTPZVTTLdoBamLM6lBG_r3d_3pTauyttu", "WhenJobSpawned": "true", "WhenNoOutDrivesAvailable": "true", "WhenJobCouldNotBeSpawned": "true", "PeriodOfReportInHours": "24" } ]

Expected behavior When the PlotoFy runs out of space, send a message to Discord!

I think it would be better if PlotoFy stayed in a loop, and sending a HELP message to discord every hour or so. Then when space is freed up, it could just continue where it left off.

tekstaker avatar Jul 12 '21 15:07 tekstaker

I'm having similar problem too. I want to replot. But when there is no space in Outdrive, I get the following error.

Error: No outdrives found At C:\Program Files\WindowsPowerShell\Modules\ploto\ploto.psm1:674 char:9

  •     Throw "Error: No outdrives found"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Error: No outdrives found:String) [], RuntimeException
    • FullyQualifiedErrorId : Error: No outdrives found

Myconfig: "DiskConfig": [ { "TempDrives": "T:", "Temp2Drives": "", "OutDrives": "J:", "EnableT2": "false", "ReplotDrives": "J:" } ], "SpawnerConfig": [ { "ReplotForPool": "true", "ReplotPlotsOlderThan": "15.7.2021", "IntervallToCheckInMinutes": "1", "InputAmountToSpawn": "20", "WaitTimeBetweenPlotOnSeparateDisks": "1", "WaitTimeBetweenPlotOnSameDisk": "1", "MaxParallelJobsOnAllDisks": "1", "MaxParallelJobsOnSameDisk": "1", "MaxParallelJobsInPhase1OnAllDisks": "1", "StartEarly": "true", "StartEarlyPhase": "4" } ],

aliyucer avatar Jul 12 '21 22:07 aliyucer