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

circlePI example problems #4

Open
DazWilkin opened this issue Oct 4, 2019 · 6 comments
Open

circlePI example problems #4

DazWilkin opened this issue Oct 4, 2019 · 6 comments

Comments

@DazWilkin
Copy link

I'm attempting to use bigmachine with your circlePI example, but:

go run main.go
2019/10/04 10:07:44 waiting for machines to come online
2019/10/04 10:07:44 resetting http client https://localhost:46237/ while calling to Supervisor.Ping: temporary network error
2019/10/04 10:07:45 https://localhost:46237/ Supervisor.Ping: succeeded after 1 retries
2019/10/04 10:07:45 https://localhost:46237/: zip: not a valid zip file
2019/10/04 10:07:45 machine https://localhost:46237/ STOPPED
2019/10/04 10:07:45 zip: not a valid zip file

Will try digging into this myself but it's discouraging :-)

I was unable to find this example published in the repo. It would be useful as I could then determine more quickly whether this is my error.

Perhaps "Getting Started..."?

@mariusae
Copy link
Collaborator

mariusae commented Oct 4, 2019

ah, interesting. this is probably due to using go run. can you try with go build && ./bigpi?

@mariusae
Copy link
Collaborator

mariusae commented Oct 4, 2019

Btw, the example is in the repo: https://github.com/grailbio/bigmachine/tree/master/cmd/bigpi

@mariusae
Copy link
Collaborator

mariusae commented Oct 4, 2019

I take it back re: go run; that works here for local execution.

What is your GOOS/GOARCH?

@DazWilkin
Copy link
Author

Thanks for the reply!

go build && ./bigpi
2019/10/04 11:25:17 waiting for machines to come online
2019/10/04 11:25:17 resetting http client https://localhost:33321/ while calling to Supervisor.Ping: temporary network error
2019/10/04 11:25:18 https://localhost:33321/ Supervisor.Ping: succeeded after 1 retries
2019/10/04 11:25:20 https://localhost:33321/ Supervisor.Ping: succeeded after 1 retries

and

go version
go version go1.13 linux/amd64

Thanks for the definitive source, I'll try that.

@mariusae
Copy link
Collaborator

mariusae commented Oct 4, 2019

interesting; thanks. I'll check it out on linux/amd64

@DazWilkin
Copy link
Author

If I run bigpi.go within the module, it works.

If I run it -- as I had -- by referencing bigmachine from a separate repo containing bigpi.go, it fails.

Unsure why but probably not something that's worth any of your time. Thanks though!

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

2 participants