hyperledger-labs / minifabric

Do fabric network the right and easy way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

PreethiVuchuru27916 opened this issue · 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

HI @PreethiVuchuru27916 try cleaning up the network ,

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

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

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