Fw: First Network on Windows


ontrares@...
 



----- Forwarded Message -----

From: Ont Rares <ontrares@...>
To: hyperledger-fabric@... <hyperledger-fabric@...>
Sent: Sunday, January 12, 2020, 05:40:45 PM GMT+2
Subject: First Network on Windows

      Hi, I encountered a problem on the samples repository.
  
      On the first-network project if I run ./byfn.sh -m generate, ./byfn.sh generate or ./byfn.sh up I always get:*

      Is there a way to just download these certificates or generate them in another way or bypass them? I must use the Windows system.


*
Generating certs and genesis block for channel 'mychannel' with CLI timeout of '10' seconds and CLI delay of '3' seconds
Continue? [Y/n] y
proceeding ...
/c/Users/bc/bin/cryptogen

##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
+ cryptogen generate --config=./crypto-config.yaml
org1.example.com
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ee984]

goroutine 1 [running]:
github.com/hyperledger/fabric/common/tools/cryptogen/msp.GenerateVerifyingMSP(0xc00001a5c0, 0x34, 0x0, 0x0, 0xc00001ca01, 0x16, 0x0)
        /w/workspace/fabric-release-jobs-x86_64/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/msp/generator.go:186 +0x2d4
main.generatePeerOrg(0x95319f, 0xd, 0xc00001e270, 0x4, 0xc00001e290, 0x10, 0x1, 0x0,
0x9501fd, 0x2, ...)
        /w/workspace/fabric-release-jobs-x86_64/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/main.go:537 +0x762
main.generate()
        /w/workspace/fabric-release-jobs-x86_64/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/main.go:395 +0x2a8
main.main()
        /w/workspace/fabric-release-jobs-x86_64/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/main.go:223 +0x2af
+ res=2
+ set +x
Failed to generate certificates...




Join fabric@lists.hyperledger.org to automatically receive all group messages.