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

hyper jupyter stop not working #3

Open
bbriggs opened this issue Apr 4, 2022 · 0 comments
Open

hyper jupyter stop not working #3

bbriggs opened this issue Apr 4, 2022 · 0 comments

Comments

@bbriggs
Copy link
Contributor

bbriggs commented Apr 4, 2022

Description

hyper jupyter stop panics and fails to stop the notebook container

Steps to Reproduce

➜  hyper git:(stable) ✗ hyper jupyter
Jupyter Lab Now Running via Docker Container a7418ff255 on port 49154
➜  hyper git:(stable) ✗ hyper jupyter stop
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/gohypergiant/hyperdrive/hyper/services/notebook.LocalNotebookService.Stop({{0x7c3b50?, 0xc0000d3600?}}, {0x0, 0x0})
        /home/fraq/go/pkg/mod/github.com/gohypergiant/hyperdrive/[email protected]/services/notebook/local.go:165 +0x23d
github.com/gohypergiant/hyperdrive/hyper/cmd.glob..func8(0xe5d5e0?, {0xa1010d?, 0x0?, 0x0?})
        /home/fraq/go/pkg/mod/github.com/gohypergiant/hyperdrive/[email protected]/cmd/jupyter.go:54 +0x4f
github.com/spf13/cobra.(*Command).execute(0xe5d5e0, {0xe99d40, 0x0, 0x0})
        /home/fraq/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0xe5d860)
        /home/fraq/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
        /home/fraq/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/gohypergiant/hyperdrive/hyper/cmd.Execute()
        /home/fraq/go/pkg/mod/github.com/gohypergiant/hyperdrive/[email protected]/cmd/root.go:41 +0x25
main.main()
        /home/fraq/go/pkg/mod/github.com/gohypergiant/hyperdrive/[email protected]/main.go:21 +0x17
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

1 participant