gizak / termui

Golang terminal dashboard
MIT License
13.23k stars 786 forks source link

go get error #177

Closed practice closed 6 years ago

practice commented 6 years ago
$ go get -u github.com/gizak/termui
# github.com/gizak/termui
../../../github.com/gizak/termui/render.go:107:30: not enough arguments in call to stack.ParseDump
        have (*bytes.Reader, *os.File)
        want (io.Reader, io.Writer, bool)
../../../github.com/gizak/termui/render.go:112:10: undefined: stack.Palette
../../../github.com/gizak/termui/render.go:113:15: undefined: stack.SortBuckets
../../../github.com/gizak/termui/render.go:113:33: undefined: stack.Bucketize
../../../github.com/gizak/termui/render.go:114:22: undefined: stack.CalcLengths

maruel/panicparse API has changed 3 days ago.

jinyeom commented 6 years ago

Having the same problem!

robertely commented 6 years ago

I'm seeing this on Travis builds as well. This Repo appears abandoned but @gizak is there any way you can come back to vendor some dependencies ?

svenfinke commented 6 years ago

Yeah... the last commit was on Jan 2. Damn.... I guess I'll fork this in the afternoon and check if I can fix this :D

raydac commented 6 years ago

also detected the error in my set of examples for maven golang plugin, the incompatibility for new version of https://github.com/maruel/panicparse , termui is compatible with tagged v1.0.2 so that if you use terui you should load panicparse v1.0.2 in the case all works well the error shows fragility of golang project build process with dependencies :(

nemith commented 6 years ago

Do fancy stack traces really needed or can this dependency just be removed?

purplesmoke05 commented 6 years ago

If you want to use fixed ver, use this master branch https://github.com/airking05/termui.

cjbassi commented 6 years ago

Just changed some dependency management things and I'm not getting this issue anymore. Could someone confirm it's working for them too?

sspaink commented 6 years ago

@cjbassi I ran "go get -u github.com/gizak/termui" today and didn't have this issue.

cjbassi commented 6 years ago

Great, closing this then.