minifabric icon indicating copy to clipboard operation
minifabric copied to clipboard

Issue while committing chaincode when two organizations are added to the same channel

Open PreethiVuchuru27916 opened this issue 2 years ago • 3 comments

  1. Followed the tutorial -> https://dilumbandara.medium.com/custom-hyperledger-fabric-network-with-minifabric-fd362ee34343

  2. Issue arrises when committing the chain code on organization 1 after joining organization 1 and 2 to the same channel.

  3. Error Message is as follows The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'Layouts'

The error appears to be in '/home/playbooks/common/peerselection.yaml': line 25, column 5, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Select a random endorser group
  ^ here

PreethiVuchuru27916 avatar May 15 '22 17:05 PreethiVuchuru27916

HI @PreethiVuchuru27916 try cleaning up the network ,

  1. minifab down
  2. minifab cleanup
  3. minifab up -e true -s couchdb

rupam150 avatar May 17 '22 09:05 rupam150

Just try to use the spec file in the docs , exapand your network and try so !!!!!! it worked for me with that spec.yaml file change

rupam150 avatar Jun 02 '22 10:06 rupam150

I'm having the same problem, is there a way to fix it?

siswasandi avatar Nov 16 '22 13:11 siswasandi