Following the lead of the error I found the stated function in /Api/Fees.hs, see Cardano.Api.Fees. Reading the function I cannot see how I can do anything about it failing? Sould I rebuild the software with cabal?
Seems like it never even tried to execute your script as the required input was missing.
Without being able to see more my first guess would be your relative path to AlwaysSucceeds.plutus was not local to the working directory caradno-cli command was executing from …
Maybe try an absolute path as a quick sanity check?
Thnx for the reply, yeah that was my first instinct. I even recompiled the plutus code with cabal, still the same Never seen this error before and I am still debugging it. If the path would be the problem the error would give
Command failed: transaction build Error: AlwaysSucceeds.plutus: AlwaysSucceeds.plutus: openBinaryFile: does not exist (No such file or directory)
Tnx for the great source, I did not come across that one yet. I followed up on that bug. Even with permuting the tx-in parameters I get the same error. Ill try some other things with other UTXO as input.
I do think that the bug in that is of a different nature than the one I am experiencing. The error message is different. But it perhaps gives insight in the origin of it.
For this error, it means the plutus file is not found where you said it should be: in the same folder where you’re running the command. Either point to the path relative to where you are running or drop the file into that folder where you are running the command. You can use a full path also as so: --tx-in-script-file /home/yourname/node/AlwaysSucceeds.plutus \
Thanks for the help but I eventually solved the problem. The script was there, I tried it with the absolute path. I found the problem in my bash script that tried to consume an old utxo while looping through a list of them.