HyperledgerHandsOn / trade-finance-logistics

Trade Finance and Logistics based on Letter of Credit and Proof of Shipment
Apache License 2.0
174 stars 1.49k forks source link

./startFabric.sh Failed to generate orderer genesis block... #73

Closed zhengfengyi closed 4 years ago

zhengfengyi commented 4 years ago

$ ../bin/configtxgen -version configtxgen: Version: 2.0.0 Commit SHA: 0432c3e80 Go version: go1.13.4 OS/Arch: windows/amd64

byfn.sh not change why the ./startFabric.sh the conmands not have -profile args

$ ./startFabric.sh

Starting for channel 'mychannel' with CLI timeout of '10' seconds and CLI delay of '3' seconds and using database 'couchdb' proceeding ... LOCAL_VERSION=2.0.0 DOCKER_IMAGE_VERSION=2.0.0 /d/fabric/fabric-samples/bin/cryptogen

##########################################################

Generate certificates using cryptogen tool

##########################################################

Generate CCP files for Org1 and Org2 /d/fabric/fabric-samples/bin/configtxgen ########################################################## ######### Generating Orderer Genesis block ############## ########################################################## 2020-04-28 18:43:08.035 CST [common.tools.configtxgen] main -> INFO 001 Loading configuration 2020-04-28 18:43:08.054 CST [common.tools.configtxgen.localconfig] Load -> PANI 002 Error reading configuration: Unsupported Config Type "" 2020-04-28 18:43:08.054 CST [common.tools.configtxgen] func1 -> PANI 003 Error reading configuration: Unsupported Config Type "" panic: Error reading configuration: Unsupported Config Type "" [recovered] panic: Error reading configuration: Unsupported Config Type ""

goroutine 1 [running]: github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore.(CheckedEntry).Write(0xc0000b1e40, 0x0, 0x0, 0x0) /__w/1/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore/entry.go:229 +0x54d github.com/hyperledger/fabric/vendor/go.uber.org/zap.(SugaredLogger).log(0xc0001a8188, 0x4, 0xc00002d280, 0x38, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /w/1/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:234 +0x107 github.com/hyperledger/fabric/vendor/go.uber.org/zap.(*SugaredLogger).Panicf(...) /w/1/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:159 github.com/hyperledger/fabric/common/flogging.(FabricLogger).Panic(0xc0001a8190, 0xc0003638e8, 0x1, 0x1) /w/1/go/src/github.com/hyperledger/fabric/common/flogging/zap.go:73 +0xa0 main.main.func1() /w/1/go/src/github.com/hyperledger/fabric/cmd/configtxgen/main.go:253 +0x17d panic(0xa04cc0, 0xc000352e40) /usr/local/go/src/runtime/panic.go:679 +0x1c0 github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore.(CheckedEntry).Write(0xc0000b1e40, 0x0, 0x0, 0x0) /w/1/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore/entry.go:229 +0x54d github.com/hyperledger/fabric/vendor/go.uber.org/zap.(*SugaredLogger).log(0xc0001a8168, 0x4, 0xc00002d180, 0x38, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /w/1/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:234 +0x107 github.com/hyperledger/fabric/vendor/go.uber.org/zap.(SugaredLogger).Panicf(...) /__w/1/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:159 github.com/hyperledger/fabric/common/flogging.(FabricLogger).Panic(0xc0001a8170, 0xc000363cd8, 0x2, 0x2) /w/1/go/src/github.com/hyperledger/fabric/common/flogging/zap.go:73 +0xa0 github.com/hyperledger/fabric/internal/configtxgen/genesisconfig.Load(0xc000030520, 0x17, 0x0, 0x0, 0x0, 0x0) /w/1/go/src/github.com/hyperledger/fabric/internal/configtxgen/genesisconfig/config.go:253 +0x22f main.main() /__w/1/go/src/github.com/hyperledger/fabric/cmd/configtxgen/main.go:268 +0xf4c Failed to generate orderer genesis block...

VRamakrishna commented 4 years ago

Wrong repo. For BYFN questions, please use the Hyperledger Fabric mailing list (or rocket chat).