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

make test_unit fails - glide not found #152

Open
skippa opened this issue Jul 9, 2021 · 2 comments
Open

make test_unit fails - glide not found #152

skippa opened this issue Jul 9, 2021 · 2 comments

Comments

@skippa
Copy link

skippa commented Jul 9, 2021

I recently had my systems hacked and had my mnemonic stolen from google drive (yes, I know, that was dumb putting it there). Anyway, whilst waiting for the hacker to steal my funds from unstaking, I desperately tried to spin up a node so I could smash using the CLI interface to beat the hacker to the withdrawal tx.

Funds are well and truly stolen now. But I want to understand why I couldn't get the node up and running. I'm on Ubuntu 20.04.2 LTS and go 1.14.2

Seems to compile ok, but then i get this from make test_unit

go test -timeout 45s `glide novendor` -tags=unit
/bin/sh: 1: glide: not found
can't load package: package .: no Go files in /home/cmskipsey/go/src/github.com/thetatoken/theta
make: *** [Makefile:36: test_unit] Error 1

Any ideas?

@skippa
Copy link
Author

skippa commented Jul 9, 2021

Nope - mostly scammers in the Telegram channel (and the discord for that matter). Github repos are supposed to be where issues are dealt with so others can solve the same problems - Telegram doesn't help with that.

Update - I installed golang-glide ran make test_unit again and got this:

go test -timeout 45s `glide novendor` -tags=unit
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/russross/blackfriday v2.0.0+incompatible
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: directory common is outside main module
go: directory common/clist is outside main module
go: directory common/hexutil is outside main module
go: directory common/math is outside main module
go: directory common/metrics is outside main module
go: directory common/metrics/exp is outside main module
go: directory common/metrics/librato is outside main module
go: directory common/pqueue is outside main module
go: directory common/result is outside main module
go: directory common/timer is outside main module
go: directory common/util is outside main module
make: *** [Makefile:36: test_unit] Error 1

@jieyilong
Copy link
Member

For CLI, another option is to try the binary we compiled. Hope this helps:

https://docs.thetatoken.org/docs/running-a-guardian-node-through-command-line

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

3 participants
@skippa @jieyilong and others