bigmachine icon indicating copy to clipboard operation
bigmachine copied to clipboard

circlePI example problems

Open DazWilkin opened this issue 4 years ago • 6 comments

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..."?

DazWilkin avatar Oct 04 '19 17:10 DazWilkin

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

mariusae avatar Oct 04 '19 17:10 mariusae

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

mariusae avatar Oct 04 '19 17:10 mariusae

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

What is your GOOS/GOARCH?

mariusae avatar Oct 04 '19 17:10 mariusae

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.

DazWilkin avatar Oct 04 '19 18:10 DazWilkin

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

mariusae avatar Oct 04 '19 22:10 mariusae

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!

DazWilkin avatar Oct 05 '19 19:10 DazWilkin