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

trace.Parse error in go1.8.1 #16

Open
MannyKayy opened this issue Jul 28, 2017 · 3 comments
Open

trace.Parse error in go1.8.1 #16

MannyKayy opened this issue Jul 28, 2017 · 3 comments

Comments

@MannyKayy
Copy link

I followed the advice given in this issue

But get the following error when trying to install the package:
./events.go:50: too many arguments in call to trace.Parse have (io.Reader, string) want (io.Reader)

When i attempt to do the same within the docker image provided in this repo,I also get the same error.

Any advice would be greatly appreciated,
Thanks

@dnutiu
Copy link

dnutiu commented Aug 15, 2017

I get

panic: not a trace file

goroutine 1 [running]:
main.main()
	/Users/denis/go/src/github.com/divan/gotrace/main.go:39 +0x1f7

go version go1.8 darwin/amd64

@0Animal0
Copy link

0Animal0 commented Aug 23, 2017

not a trace file , me too!

@divan
Copy link
Owner

divan commented Aug 23, 2017

I think I've created a confusion with premature update of docker container.

docker container with gotrace creates trace in Go 1.8 format, but master branch of gotrace is expecting Go 1.6 trace format, hence this error.

You may try to use go18 branch of gotrace, but I have to fix this for sure.

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

4 participants