Comments (4)
opening channel config file failed: open /src/education/fixtures/channel-artifacts/channel.tx: no such file or directory
在main.go等文件里(不止一个)找到对应的语句,改成你的绝对路径,例: OrgAnchorFile: "/root/go/src/education/fixtures/channel-artifacts/Org1MSPanchors.tx"
from education.
再次尝试, 调试主机语言环境以便看到中文输出:
root@ubuntu-s-1vcpu-2gb-sgp1-01:~/go/src/education# ./clean_docker.sh
...
Creating network "fixtures_test" with the default driver
Creating volume "fixtures_orderer.example.com" with default driver
Creating volume "fixtures_peer0.org1.example.com" with default driver
Creating volume "fixtures_peer1.org1.example.com" with default driver
Creating couchdb0 ... done
Creating orderer.example.com ... done
Creating ca.org1.example.com ... done
Creating couchdb1 ... done
Creating peer1.org1.example.com ... done
Creating peer0.org1.example.com ... done
>> 开始创建通道......
[fabsdk/client] 2021/12/07 07:41:41 UTC - resmgmt.loggedClose -> WARN closing resource failed: invalid argument
>> Create channel and join error: Create channel error: error should be nil for SaveChannel of orgchannel: opening channel config file failed: open /src/education/fixtures/channel-artifacts/channel.tx: no such file or directory
和直接启动作者的 sdk 类似...
from education.
@JonathanKin 多谢, 的确是基本的路径问题,
os.Getenv("GOPATH") 并没获得环境配置,
所以, 一直无法加载对应 key
多谢
from education.
fixed
from education.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from education.