madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 662 forks source link

Invalid pool key #78

Open edamame43 opened 3 years ago

edamame43 commented 3 years ago

Chia plot command showing “ Invalid : 00 (needs to be 48 bytes)” error. I triple checked the keys are not wrong. What’s going on here?

grayfallstown commented 3 years ago

Please post the command line you use to call chia_plot

madMAx43v3r commented 3 years ago

I had that once on a particular commit, are you on latest master?

edamame43 commented 3 years ago

Yes latest version. Although I used a pre compiled executable, might be the reason?

madMAx43v3r commented 3 years ago

could be, could also be a mistake on the command line, can you post the line?

grayfallstown commented 3 years ago

Yes latest version. Although I used a pre compiled executable, might be the reason?

Precompiled? Are you using the windows binaries? They don't support -p and so on, the windows version is still using the old positional parameters: https://github.com/stotiks/chia-plotter/tree/v0.0.1-alpha#usage Had the same error with them.

edamame43 commented 3 years ago

Don’t know if it’s compiled on win. Will try to compile again later

madMAx43v3r commented 3 years ago

-f /home/sandy/disk1/new

=> that should be -d

edamame43 commented 3 years ago

For me it’s Invalid : 00 (needs to be 48 bytes)

hhdllhflower commented 3 years ago

-f /home/sandy/disk1/new

=> that should be -d

thanks

madMAx43v3r commented 3 years ago

@edamame43 can you post the line?

madMAx43v3r commented 3 years ago

@hhdllhflower also paths need a trailing slash

viponedream commented 3 years ago

chia_plot -p 80d769219b03f1f392327340c1a2b879d46852932764aa1d20d08110422908fa6a874d7fe9baf4ea668c18a852c15905 -f b7fb3f03444796ee4689a188b7beba727a34e831dcde182fa273f014870c08646687456aee7efde5e637c81273e15a3c -t G:/tmp -d F:/FARM-2

Invalid : 00 (needs to be 48 bytes)

madMAx43v3r commented 3 years ago
./build/chia_plot -p 80d769219b03f1f392327340c1a2b879d46852932764aa1d20d08110422908fa6a874d7fe9baf4ea668c18a852c15905 -f b7fb3f03444796ee4689a188b7beba727a34e831dcde182fa273f014870c08646687456aee7efde5e637c81273e15a3c -t G:/tmp/ -d F:/FARM-2/
Failed to write to <tmpdir> directory: 'G:/tmp/'

Works on my machine... of course I don't have those drives.

edamame43 commented 3 years ago

Didn’t save it. Was testing from my pen drive. Could be the trailing slash... it’s being so specific about pool key I might overlook syntax

vasya37 commented 3 years ago

image

vasya37 commented 3 years ago

image I have the second option starts working and immediately stops.

madMAx43v3r commented 3 years ago

must be some windows issue... i've add some more output to debug in 99783dfe23ab5f50ef7318a28d348f0da27c562a

madMAx43v3r commented 3 years ago

ah you have the old command line, no idea why it just exits right away..

vasya37 commented 3 years ago

How do I edit the. exe file?

vasya37 commented 3 years ago

I downloaded the exe from here and run it, am I doing something wrong? https://github.com/stotiks/chia-plotter/releases/tag/v0.0.1-alpha

vasya37 commented 3 years ago

image

vasya37 commented 3 years ago

Strangely, it stops immediately.

armycats commented 3 years ago

Dude, why are you asking the original author for something somebody else compiled for Windows? :D

Works in PowerShell, by the way.

vasya37 commented 3 years ago

At some point I thought that the author did it for windows.

geoffwalmsley commented 3 years ago

sorry to jump on this issue - but I am getting the invalid pool key error even when I don't specify it

./chia_plot -n 1 -r 32 -t /mnt/ssd/ -d /mnt/hdd/

Invalid : 00 (needs to be 48 bytes)

stotiks commented 3 years ago

specify it

On Thu, 10 Jun 2021, 00:58 Geoff Walmsley, @.***> wrote:

sorry to jump on this issue - but I am getting the invalid pool key error even when I don't specify it

./chia_plot -n 1 -r 32 -t /mnt/ssd/ -d /mnt/hdd/

Invalid : 00 (needs to be 48 bytes)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/madMAx43v3r/chia-plotter/issues/78#issuecomment-858129687, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALGV2WAH6ASH3DM44PZFDKLTR7PZZANCNFSM46MKOA2A .

geoffwalmsley commented 3 years ago

specify it

haha, sorry - I should have said I also get the error when specifying it

It was working well until I tried updating - i just did git fetch and sh make_devel.sh. Is there anything else?

canpo41 commented 3 years ago

I received below erro please help ? Set-Location : A positional parameter cannot be found that accepts argument 'poyraz\Desktop\madMAx'. At line:1 char:1

SebMoore commented 3 years ago

I received below erro please help ? Set-Location : A positional parameter cannot be found that accepts argument 'poyraz\Desktop\madMAx'. At line:1 char:1

  • cd C:\Users\can poyraz\Desktop\madMAx
  • + CategoryInfo          : InvalidArgument: (:) [Set-Location], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

Firstly, this is a Windows problem, not a Madmax problem, but the solution is that you need to put the path in quotes because there is a space between "can" and "poyraz". Therefore, the command would be: cd "C:\Users\can poyraz\Desktop\madMAx"