Closed cospotato closed 6 years ago
I'm having the same issues! 2.2.0
works fine but 2.3.0
throws the error you have above. I can confirm that it's an error that only occurs when using go modules as with a project that's in my gopath it works fine.
go get -u github.com/gizak/termui@master
should fix it. There's some breaking changes in master fyi.
Similar issue to #177. The issue there is that we needed to use the master branch of https://github.com/maruel/panicparse, so we specified that with dep which fixed that issue. However, it doesn't seem like go modules respects gopkg.lock and defaults to using the latest tag of panicparse. However, we've since dropped panicparse from our master branch, so specifying that branch with go get
solves the problem. Dependency management with go can be quite fun :D
I am curious how this would need to be fixed if we hadn't dropped panicparse tho. Adding go module support should fix it, but I'm curious if vendoring our dependencies would fix this too.
Dependency management kinda sucks in Go I feel your pain!
Cheers for the fix though, it seems to all be working mostly as expected when using the master branch although for some reason my line graph, previously working fine in v2.2.0
, is now right-aligning the data points within the axes, so there's basically whitespace between the Y axis and the first data point.
Probably not worth me raising in a separate issue as I guess the master branch is still "beta" but I'll see if I can figure out what's causing it myself
go get -u github.com/gizak/termui@master
should fix it. There's some breaking changes in master fyi.Similar issue to #177. The issue there is that we needed to use the master branch of https://github.com/maruel/panicparse, so we specified that with dep which fixed that issue. However, it doesn't seem like go modules respects gopkg.lock and defaults to using the latest tag of panicparse. However, we've since dropped panicparse from our master branch, so specifying that branch with
go get
solves the problem. Dependency management with go can be quite fun :DI am curious how this would need to be fixed if we hadn't dropped panicparse tho. Adding go module support should fix it, but I'm curious if vendoring our dependencies would fix this too.
Appreciate for your solution! Fixed!
Maybe you could bump the version to 2.3.1 so the fix will be permanent? As in the suggested command from the readme will get the latest version.
This issue should be still open, it still happens!
Just wanted to come back to this and say that the readme has been updated so that the recommended installation method is to install from master and using the latest release is unsupported, so people should (hopefully) not run into this issue anymore. Also, I'm currently reworking a lot of stuff and haven't created a new release because of the constant breaking changes.
I also bumped into this error and it took time to figure out that it's something with termui, and not my setup. +1 for bumping up version to 2.3.1
go version
go env
What have I done
What I Got