ecsoya / fabric-demo

Spring Fabric Demo
20 stars 10 forks source link

/var/hyperledger/production/chaincodes/mycc.1.0: no such file or directory #4

Open billhuanglofi opened 4 years ago

billhuanglofi commented 4 years ago

org.hyperledger.fabric.gateway.ContractException: cannot retrieve package for chaincode mycc/1.0, error open /var/hyperledger/production/chaincodes/mycc.1.0: no such file or directory

请问大佬,这个是什么原因导致的,我看过peer节点里面是有这个文件的呢,通用的chaincode应该是安装成功的了

ecsoya commented 4 years ago

你部署Fabric网络的时候有没有报错?

是安按照我的fabric-demo中的方法部署的吗?

如果修改了路径,在配置文件中也要相应的修改的。

On Mar 16, 2020, at 16:43, billhuanglofi notifications@github.com wrote:

org.hyperledger.fabric.gateway.ContractException: cannot retrieve package for chaincode mycc/1.0, error open /var/hyperledger/production/chaincodes/mycc.1.0: no such file or directory

请问大佬,这个是什么原因导致的,我看过peer节点里面是有这个文件的呢,通用的chaincode应该是安装成功的了

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ecsoya/fabric-demo/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4DNQTIGDNQH3FQ3AR5HVDRHXRBTANCNFSM4LL57VDA.

billhuanglofi commented 4 years ago

你好,我是按照你给出的方式来部署的呢。或者说,您有没有一个教程可以给我再部署一次试试,我自己先确认一遍,谢谢

Sent from my iPhone

On Mar 16, 2020, at 18:44, AngryRED notifications@github.com wrote:



你部署Fabric网络的时候有没有报错?

是安按照我的fabric-demo中的方法部署的吗?

如果修改了路径,在配置文件中也要相应的修改的。

On Mar 16, 2020, at 16:43, billhuanglofi notifications@github.com wrote:

org.hyperledger.fabric.gateway.ContractException: cannot retrieve package for chaincode mycc/1.0, error open /var/hyperledger/production/chaincodes/mycc.1.0: no such file or directory

请问大佬,这个是什么原因导致的,我看过peer节点里面是有这个文件的呢,通用的chaincode应该是安装成功的了

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ecsoya/fabric-demo/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4DNQTIGDNQH3FQ3AR5HVDRHXRBTANCNFSM4LL57VDA.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ecsoya/fabric-demo/issues/4#issuecomment-599466460, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHYZ7BH4YW4MW6L2EUZQM3RHX7J7ANCNFSM4LL57VDA.

ecsoya commented 4 years ago

https://ecsoya.github.io/fabric/pages/demo.html https://ecsoya.github.io/fabric/pages/demo.html

https://github.com/ecsoya/fabric-demo https://github.com/ecsoya/fabric-demo

https://ecsoya.github.io/fabric/ https://ecsoya.github.io/fabric/

http://106.13.229.136/ http://106.13.229.136/ 在线示例

On Mar 16, 2020, at 19:47, billhuanglofi notifications@github.com wrote:

你好,我是按照你给出的方式来部署的呢。或者说,您有没有一个教程可以给我再部署一次试试,我自己先确认一遍,谢谢

Sent from my iPhone

On Mar 16, 2020, at 18:44, AngryRED notifications@github.com wrote:



你部署Fabric网络的时候有没有报错?

是安按照我的fabric-demo中的方法部署的吗?

如果修改了路径,在配置文件中也要相应的修改的。

On Mar 16, 2020, at 16:43, billhuanglofi notifications@github.com wrote:

org.hyperledger.fabric.gateway.ContractException: cannot retrieve package for chaincode mycc/1.0, error open /var/hyperledger/production/chaincodes/mycc.1.0: no such file or directory

请问大佬,这个是什么原因导致的,我看过peer节点里面是有这个文件的呢,通用的chaincode应该是安装成功的了

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ecsoya/fabric-demo/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4DNQTIGDNQH3FQ3AR5HVDRHXRBTANCNFSM4LL57VDA.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ecsoya/fabric-demo/issues/4#issuecomment-599466460, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHYZ7BH4YW4MW6L2EUZQM3RHX7J7ANCNFSM4LL57VDA. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ecsoya/fabric-demo/issues/4#issuecomment-599492547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4DNQQLGHNNI4H7AIFZRH3RHYGVJANCNFSM4LL57VDA.

anyanqi commented 4 years ago

大佬 我将demo git clone到本地后,按照文档执行直接报错which: no cryptogen in (/d/ecsoya/fabric-demo/first-network/../bin:/d/ecsoya/fabric-demo/first-network:/.......) 这是什么原因导致的,谢谢解答

ecsoya commented 4 years ago

你没有在本地安装Hyperledger Fabric

发自我的iPhone

在 2020年3月19日,23:04,anyanqi notifications@github.com 写道:

 大佬 我将demo git clone到本地后,按照文档执行直接报错which: no cryptogen in (/d/ecsoya/fabric-demo/first-network/../bin:/d/ecsoya/fabric-demo/first-network:/.......) 这是什么原因导致的,谢谢解答

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

sahooch commented 3 years ago

Hi team,

What could be the root cause for below error

"/var/hyperledger/production/chaincodes/mycc.1.0: no such file or directory"