Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
337 stars 107 forks source link

ERROR F ailed to open file /xxxxx.plot,Traceback (most recent call last): File “/home/chia/chia-blockchain/chia/plotting/manager.py”, line 290, in process_file prover = DiskProver(str(file_path)) ValueError: Invalid file /home/chia/plot/disk5/xxxxxx.plot #120

Closed peterMa2009 closed 3 years ago

peterMa2009 commented 3 years ago

Dear guys, i used the bladebit chia plot tools from Step 29,i have got about 500 plots ,but when i start the harvester,i got the error log as below

2021-10-05T05:47:35.783 harvester chia.plotting.manager : ERROR F ailed to open file /home/chia/plot/disk5/plot-k32-2021-10-05-05-31-b 49a3bb12074d8ebfd65a7ea3a5e46e81aeb4e18fa3f1b1511d1c7463cf60 605.plot. Invalid file /home/chia/plot/disk5/plot-k32-2021-10-05-05-31 -b49a3bb12074d8ebfd65a7ea3a5e46e81aeb4e18fa3f1b1511d1c7463cf 60605.plot Traceback (most recent call last): File “/home/chia/chia-blockchain/chia/plotting/manager.py”, line 290, in process_file prover = DiskProver(str(file_path)) ValueError: Invalid file /home/chia/plot/disk5/plot-k32-2021-10-05-05- 31-b49a3bb12074d8ebfd65a7ea3a5e46e81aeb4e18fa3f1b1511d1c7463 cf60605.plot

below is the scrip i used to plot

./bladebit -p ${pool_key} -f ${farmer_key} -t 64 -n $plot_count_1 /mnt/hdd1/ >> /mnt/chialogs/chia_plot_1.log &

I am sure the pool_key and farmer_key is right.

Thanks,if you have any idea,pls discuss with me,Thank you again!

harold-b commented 3 years ago

This error happens when the prover code cannot fails to open your file. Try checking the permissions to ensure that the file is readable and/or belongs to the same user/group that is running the chia daemon.

peterMa2009 commented 3 years ago

This error happens when the prover code cannot fails to open your file. Try checking the permissions to ensure that the file is readable and/or belongs to the same user/group that is running the chia daemon.

yes,when i change the file permissions,this issue fixed.