Open devturi opened 3 years ago
Please add the binary path in bashrc file
Heartfelt Regards,
Pavan Adhav Blockchain Developer, Infinichains phone: 8390114357 email: pavan@infinichains.com https://www.linkedin.com/in/pavan-adhav/------ Please excuse my brevity.
On Thu, Jan 28, 2021 at 9:34 AM devturi notifications@github.com wrote:
Kindly update it. I am unable to create crypto material, channel or network etc
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adhavpavan/BasicNetwork_1.4.4/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRGGEPUJ3AGZXUQB5J6U23S4DO4HANCNFSM4WWMEJHQ .
Thanks, btw there are some other issues as well. The DeployChaincode.sh fails again and again. Can you please tell me why it is happening? I did everything as mentioned in your tutorial.
Error?
On Fri, Jan 29, 2021, 3:06 PM devturi notifications@github.com wrote:
Thanks, btw there are some other issues as well. The DeployChaincode.sh fails again and again. Can you please tell me why it is happening? I did everything as mentioned in your tutorial.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adhavpavan/BasicNetwork_1.4.4/issues/1#issuecomment-769693150, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRGGENSJSUKCWNL7PUPTUTS4J6SHANCNFSM4WWMEJHQ .
The actual error log is way too long. Here are the first few lines. Shall I post the complete log?
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "/chaincode/input/src/github.com/fabcar/go/vendor/github.com/hyperledger/fabric/common/flogging/legacy.go:15:2: cannot find package "github.com/op/go-logging" in any of: /chaincode/input/src/github.com/fabcar/go/vendor/github.com/op/go-logging (vendor tree) /usr/local/go/src/github.com/op/go-logging (from $GOROOT) /chaincode/input/src/github.com/op/go-logging (from $GOPATH) /go/src/github.com/op/go-logging /chaincode/input/src/github.com/fabcar/go/vendor/github.com/hyperledger/fabric/common/flogging/loggerlevels.go:16:2: cannot find package "github.com/pkg/errors" in any of: /chaincode/input/src/github.com/fabcar/go/vendor/github.com/pkg/errors (vendor tree) /usr/local/go/src/github.com/pkg/errors (from $GOROOT) /chaincode/input/src/github.com/
Also, this is the error I get when I don't add cid to the src//path
Error: error getting chaincode code fabcar: error getting chaincode package bytes: Error obtaining dependencies for github.com/hyperledger/fabric-chaincode-go/pkg/cid: command <go list -f {{ join .Deps "\n"}} github.com/hyperledger/fabric-chaincode-go/pkg/cid>: failed with error: "exit status 1" can't load package: package github.com/hyperledger/fabric-chaincode-go/pkg/cid: cannot find package "github.com/hyperledger/fabric-chaincode-go/pkg/cid" in any of: /opt/go/src/github.com/hyperledger/fabric-chaincode-go/pkg/cid (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric-chaincode-go/pkg/cid (from $GOPATH)
It's go installation issue, please uninstall previous and install 1.14 version
On Fri, Jan 29, 2021, 3:42 PM devturi notifications@github.com wrote:
Also, this is the error I get when I don't add cid to the src//path
Error: error getting chaincode code fabcar: error getting chaincode package bytes: Error obtaining dependencies for github.com/hyperledger/fabric-chaincode-go/pkg/cid: command <go list -f {{ join .Deps "\n"}} github.com/hyperledger/fabric-chaincode-go/pkg/cid>: failed with error: "exit status 1" can't load package: package github.com/hyperledger/fabric-chaincode-go/pkg/cid: cannot find package " github.com/hyperledger/fabric-chaincode-go/pkg/cid" in any of: /opt/go/src/github.com/hyperledger/fabric-chaincode-go/pkg/cid (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric-chaincode-go/pkg/cid (from $GOPATH)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adhavpavan/BasicNetwork_1.4.4/issues/1#issuecomment-769712258, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRGGEM5BH32RERWY22HWC3S4KCYFANCNFSM4WWMEJHQ .
The issue still persists. I have updated the go version. Please help.
Kindly update it. I am unable to create crypto material, channel or network etc