You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the chaincode.py file, lifecycle_calculatepackageid functions has a line: res = subprocess.Popen("{} lifecycle chaincode calculatepackageid {} ".format(self.peer, cc_path), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
It used the calculatepackageid flag which is not available in the current Fabric version in the docker, which caused the package_id to have invalid contents, and the chaincode can not be uploaded due to this reason.
The text was updated successfully, but these errors were encountered:
In the
chaincode.py
file,lifecycle_calculatepackageid
functions has a line:res = subprocess.Popen("{} lifecycle chaincode calculatepackageid {} ".format(self.peer, cc_path), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
It used the
calculatepackageid
flag which is not available in the current Fabric version in the docker, which caused thepackage_id
to have invalid contents, and the chaincode can not be uploaded due to this reason.The text was updated successfully, but these errors were encountered: