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

panic: runtime error: index out of range [4] with length 4 #18

Closed
roperi opened this issue Jan 11, 2023 · 3 comments
Closed

panic: runtime error: index out of range [4] with length 4 #18

roperi opened this issue Jan 11, 2023 · 3 comments

Comments

@roperi
Copy link

roperi commented Jan 11, 2023

Can't receive data from runpod (docker image with no scp support)

$ runpodctl receive 1208-goat-boat-screen

panic: runtime error: index out of range [4] with length 4

goroutine 1 [running]:
cli/cmd/croc.glob..func1(0xc4c9e0, {0xc0000f1620, 0x1, 0x1})
	/home/runner/work/runpodctl/runpodctl/cmd/croc/receive.go:47 +0x3d3
github.com/spf13/cobra.(*Command).execute(0xc4c9e0, {0xc0000f1600, 0x1, 0x1})
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0xc4bae0)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
cli/cmd.Execute({0x9571a4, 0xc0000001a0})
	/home/runner/work/runpodctl/runpodctl/cmd/root.go:26 +0x4a
main.main()
	/home/runner/work/runpodctl/runpodctl/main.go:8 +0x27
root@bed533d5304a:/workspace/stable-diffusion-webui# ls -l
total 680
@zhl146
Copy link
Contributor

zhl146 commented Jan 11, 2023

Can you run runpodctl version? I think you're probably on 1.6.1

Upgrade the binary to the latest 1.8.0 and it should solve this issue. Let me know!

@roperi
Copy link
Author

roperi commented Jan 12, 2023

@zhl146

That was it! I was using 1.6.1. I upgraded it and not it works!

@zhl146
Copy link
Contributor

zhl146 commented Jan 12, 2023

Cool, glad that solved the issue!

@zhl146 zhl146 closed this as completed Jan 12, 2023
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

2 participants