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

[BUG] - WhenNoOutDrivesAvailable alert is not triggered #108

Open
tekstaker opened this issue Jul 12, 2021 · 1 comment
Open

[BUG] - WhenNoOutDrivesAvailable alert is not triggered #108

tekstaker opened this issue Jul 12, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@tekstaker
Copy link

tekstaker commented Jul 12, 2021

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 tekstaker added the bug Something isn't working label Jul 12, 2021
@aliyucer
Copy link

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"
}
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants