Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: open /root/.bitcoincash/bitcoincash.yml, get GOPATH failed #195

Closed
whunmr opened this issue Nov 28, 2018 · 0 comments
Closed

panic: open /root/.bitcoincash/bitcoincash.yml, get GOPATH failed #195

whunmr opened this issue Nov 28, 2018 · 0 comments

Comments

@whunmr
Copy link
Contributor

whunmr commented Nov 28, 2018

Describe the bug

root@iZm5eakzlq9sm4ycm9lw0wZ:/home/whunmr/copernicus# cat nohup.out
get GOPATH failed, please check if gopath is configured.
panic: open /root/.bitcoincash/bitcoincash.yml: no such file or directory

goroutine 1 [running]:
github.com/copernet/copernicus/conf.must(0xd71900, 0x0, 0xe1efe0, 0xc4201ff4a0, 0x0, 0x0)
	/home/j/.go/src/github.com/copernet/copernicus/conf/conf.go:344 +0x9a
github.com/copernet/copernicus/conf.InitConfig(0xc42001e1e0, 0x1, 0x1, 0x0)
	/home/j/.go/src/github.com/copernet/copernicus/conf/conf.go:254 +0xdc2
main.appInitMain(0xc42001e1e0, 0x1, 0x1)
	/home/j/.go/src/github.com/copernet/copernicus/initmain.go:27 +0x5d
main.bchMain(0xe23d00, 0xc4200200b8, 0xc42001e1e0, 0x1, 0x1, 0x0, 0x0)
	/home/j/.go/src/github.com/copernet/copernicus/main.go:38 +0x68
main.main()
	/home/j/.go/src/github.com/copernet/copernicus/main.go:107 +0x1ef

To Reproduce
run copernicus on server without gopath configured.

Expected behavior
run normally, without depends on gopath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant