question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG-MINOR] plots marked as "Invalid plot header magic" are not included in summary by `chia plots check`

See original GitHub issue

The fact that chia seems to be randomly taking some plots with “Invalid plot header magic” aside, it is also not reporting these plots as invalid in the chia plots check summary:

(venv) speedster@cohen:~$ chia plots check -n 100 -g /farm/acre26/plots/chachacha-plot-k32-2021-04-24-02-28-00211f7b93d4e342a7af6bb4dd3f2bacce5c4e161c90c2ab38a69704b8e69e1b.plot
2021-04-26T10:07:48.324  chia.plotting.check_plots        : INFO     Loading plots in config.yaml using plot_tools loading code

2021-04-26T10:07:52.439  chia.plotting.plot_tools         : INFO     Searching directories ['/farm/acre12/plots', '/farm/acre14/plots', '/farm/acre15/plots', '/farm/acre16/plots', '/farm/acre17/plots', '/farm/acre18/plots', '/farm/acre19/plots', '/farm/acre20/plots', '/farm/acre21/plots', '/farm/acre22/plots', '/farm/acre23/plots', '/farm/acre24/plots', '/farm/acre5/plots', '/farm/acre6/plots', '/farm/acre7/plots', '/farm/acre8/plots', '/farm/acre2/plots', '/farm/acre4/plots', '/farm/acre3/plots', '/farm/acre25/plots', '/farm/acre28/plots', '/mnt/transfer/plots', '/farm/acre26/plots']
2021-04-26T10:07:52.508  chia.plotting.plot_tools         : INFO     Only loading plots that contain "/farm/acre26/plots/chachacha-plot-k32-2021-04-24-02-28-00211f7b93d4e342a7af6bb4dd3f2bacce5c4e161c90c2ab38a69704b8e69e1b.plot" in the file or directory name
2021-04-26T10:07:52.699  chia.plotting.plot_tools         : ERROR    Failed to open file /farm/acre26/plots/chachacha-plot-k32-2021-04-24-02-28-00211f7b93d4e342a7af6bb4dd3f2bacce5c4e161c90c2ab38a69704b8e69e1b.plot. Invalid plot header magic Traceback (most recent call last):
  File "/home/speedster/dev/chia-blockchain/chia/plotting/plot_tools.py", line 183, in process_file
    prover = DiskProver(str(filename))
ValueError: Invalid plot header magic

2021-04-26T10:07:52.700  chia.plotting.plot_tools         : INFO     Loaded a total of 0 plots of size 0.0 TiB, in 0.3909459114074707 seconds
2021-04-26T10:07:52.701  chia.plotting.check_plots        : INFO     
2021-04-26T10:07:52.702  chia.plotting.check_plots        : INFO     
2021-04-26T10:07:52.702  chia.plotting.check_plots        : INFO     Summary
2021-04-26T10:07:52.702  chia.plotting.check_plots        : INFO     Found 0 valid plots, total size 0.00000 TiB
2021-04-26T10:07:52.702  chia.plotting.check_plots        : WARNING  1 invalid plots found:
(venv) speedster@cohen:~$ 
  1. All “invalid” plots should be reported in the chia plots check summary
  2. I am crossing my fingers that when looking for this bug you uncover whatever bug which has started to randomly tag plots that passed muster previously as “Invalid plot header magic”

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fiveanglecommented, Jul 10, 2021

chia dev team would need to update if they fixed

0reactions
fiveanglecommented, Jul 26, 2021

closing as, like chia devs, i no longer care

Read more comments on GitHub >

github_iconTop Results From Across the Web

Obscure hardware issue, Invalid plot header magic - Support
Hi, tl:dr getting “Invalid plot header magic” on 8 of my 14 plots, server hardware, ECC RAM, datacentre NVMe…Ubuntu 20.04…no ECC errors and ......
Read more >
Invalid plots frustration : r/chia
Invalid plot header magic Traceback (most recent call last): File ... that plot i mark read-only immediately after plotting are fine, the others...
Read more >
How to check your Chia plots are valid on Mac - YouTube
In this video I explain how to check your Chia plots to make sure that they're valid on macOS using terminalAdd the line...
Read more >
How To - Fix HPOOL INVALID PLOTS Error in Linux and ...
Here is a quick fix to " INVALID PLOTS " errors that the HPOOL client can put out. Link to scripts: https://www.reddit.com/r/ ChiaMiningRi....
Read more >
mozilla-central: pushlog
8b8883e3b8b875dbf5cc9314ac343b596b293c3e, Mark Banner — Bug 1032469 ... graphs should draw the background separately from the plotted data, r=pbrosset.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found