Skip to content

[BUG] Ploto is enumerating folders that it should not #113

@tekstaker

Description

@tekstaker

Describe the bug
In the config, I'm clearly stating what folders are to be used for plotting. However, I notice that Ploto is enumerating additional directories that it has no business looking into.

To Reproduce
Run Ploto as a user that only has access to the temp1, temp2 and outdrive directories. When you try to run it, you will see it break as it tries to look into other directories.

{
"PlotterName": "Beastly Plottorama",
"PlotterUsed": "Stotik",
"PathToUnofficialPlotter": "O:\tmp\ChiaStuff\madMAx43v3r_chia-plotter_win_v0.1.1\chia_plot.exe",
"EnableAlerts": "true",
"EnablePlotoFyOnStart": "true",
"ChiaWindowStyle": "hidden",
"PathToPloto": "C:\_Projects\Ploto\Ploto.psm1",
"EnableMover": "false",
"PathsToMovePlotsTo": "F:\chia_nft_plots,G:\chia_nft_plots,H:\chia_nft_plots,I:\chia_nft_plots,J:\chia_nft_plots,O:\chia_nft_plots,P:\chia_nft_plots",
"DiskConfig": [
{
"TempDrives": "D:\chiaTmp\",
"Temp2Drives": "",
"OutDrives": "D:\chiaPlots\",
"EnableT2": "false",
"ReplotDrives": ""
}
],
"SpawnerConfig": [
{
"ReplotForPool": "false",
"ReplotPlotsOlderThan": "18.6.2021",
"IntervallToCheckInMinutes": "1",
"InputAmountToSpawn": "9999",
"WaitTimeBetweenPlotOnSeparateDisks": "1",
"WaitTimeBetweenPlotOnSameDisk": "10",
"MaxParallelJobsOnAllDisks": "2",
"MaxParallelJobsOnSameDisk": "1",
"MaxParallelJobsInPhase1OnAllDisks": "1",
"StartEarly": "true",
"StartEarlyPhase": "4"
}
],
"JobConfig": [
{
"KSizeToPlot": "32",
"BufferSize": "",
"Thread": "3",
"Buckets": "256",
"Bitfield": "false",
"FarmerKey": "87b3b3455ed3a3d34ec9cdf96da04e4db0e38462ddf51bc67e55277bba9c69867141a54b655e25db2da7ee87b8fd016e",
"PoolKey": "",
"P2SingletonAdress": "xch1wrfc3crmqtdsef0vgzqhzk8hykl8pp7tr0td6vl29taynfjy8unq3jgq76"
}
],
"SpawnerAlerts": [
{
"DiscordWebhookURL": "https://discord.com/api/webhooks/84716456547229767456645444796/7_BZdVY0-lvhKhsb4EXw1E56bykHhDVu8FIJTPZVTTLdoBamLM6lBG_r3d_3pTauyttu",
"WhenJobSpawned": "true",
"WhenNoOutDrivesAvailable": "true",
"WhenJobCouldNotBeSpawned": "true",
"PeriodOfReportInHours": "24"
}
]
}

Expected behavior
Ploto should contain itself to the directories that are explicitly mentioned in the config.

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions