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

Version:0.1.11 : runtime error: index out of range #99

Closed
dodalovic opened this issue Mar 1, 2019 · 1 comment
Closed

Version:0.1.11 : runtime error: index out of range #99

dodalovic opened this issue Mar 1, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@dodalovic
Copy link

Latest MacOS, latest k9s. Just tried to view pod logs, and got:

➜ k9s
runtime error: index out of range
goroutine 1 [running]:
runtime/debug.Stack(0x22, 0x0, 0x0)
	/usr/local/Cellar/go/1.12/libexec/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
	/usr/local/Cellar/go/1.12/libexec/src/runtime/debug/stack.go:16 +0x22
github.com/derailed/k9s/internal/cmd.run.func1(0xc000156ab0)
	/Users/fernand/go_wk/derailed/src/github.com/derailed/k9s/internal/cmd/root.go:140 +0xbd
panic(0x206e9a0, 0x310aa50)
	/usr/local/Cellar/go/1.12/libexec/src/runtime/panic.go:522 +0x1b5
github.com/derailed/tview.(*Application).Run.func1(0xc0002fc500)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/application.go:149 +0x82
panic(0x206e9a0, 0x310aa50)
	/usr/local/Cellar/go/1.12/libexec/src/runtime/panic.go:522 +0x1b5
github.com/derailed/tview.(*TextView).Draw(0xc0001ac0e0, 0x24895c0, 0xc00013b040)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/textview.go:847 +0xa42
github.com/derailed/tview.(*Pages).Draw(0xc00043cc60, 0x24895c0, 0xc00013b040)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/pages.go:267 +0xf1
github.com/derailed/tview.(*Pages).Draw(0xc00043cae0, 0x24895c0, 0xc00013b040)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/pages.go:267 +0xf1
github.com/derailed/tview.(*Pages).Draw(0xc0001aa9f0, 0x24895c0, 0xc00013b040)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/pages.go:267 +0xf1
github.com/derailed/tview.(*Flex).Draw(0xc00043c810, 0x24895c0, 0xc00013b040)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/flex.go:173 +0x342
github.com/derailed/tview.(*Pages).Draw(0xc0001d7b00, 0x24895c0, 0xc00013b040)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/pages.go:267 +0xf1
github.com/derailed/tview.(*Application).draw(0xc0002fc500, 0x0)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/application.go:363 +0xd8
github.com/derailed/tview.(*Application).Draw.func1()
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/application.go:316 +0x2a
github.com/derailed/tview.(*Application).Run(0xc0002fc500, 0x0, 0x0)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/derailed/[email protected]/application.go:253 +0x4dd
github.com/derailed/k9s/internal/views.(*appView).Run(0xc000156ab0)
	/Users/fernand/go_wk/derailed/src/github.com/derailed/k9s/internal/views/app.go:124 +0x66
github.com/derailed/k9s/internal/cmd.run(0x3114c80, 0x3140c18, 0x0, 0x0)
	/Users/fernand/go_wk/derailed/src/github.com/derailed/k9s/internal/cmd/root.go:143 +0xd7
github.com/spf13/cobra.(*Command).execute(0x3114c80, 0xc0000c4000, 0x0, 0x0, 0x3114c80, 0xc0000c4000)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/spf13/[email protected]/command.go:766 +0x2ae
github.com/spf13/cobra.(*Command).ExecuteC(0x3114c80, 0xc000541f88, 0x10056ef, 0xc00009c058)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2c0
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/fernand/go_wk/derailed/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/derailed/k9s/internal/cmd.Execute()
	/Users/fernand/go_wk/derailed/src/github.com/derailed/k9s/internal/cmd/root.go:119 +0x32
main.main()
	/Users/fernand/go_wk/derailed/src/github.com/derailed/k9s/main.go:25 +0x20
(mls-dev-cloud:mip-playground)

Thanks for great tool

@derailed derailed added the bug Something isn't working label Mar 1, 2019
@derailed
Copy link
Owner

derailed commented Mar 1, 2019

Fixed 0.2.0!

@derailed derailed closed this as completed Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants