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 [1] with length 1 #12

Open
gafar-code opened this issue May 23, 2024 · 1 comment
Open

panic: runtime error: index out of range [1] with length 1 #12

gafar-code opened this issue May 23, 2024 · 1 comment

Comments

@gafar-code
Copy link

I got the err for running example


goroutine 1 [running]:
github.com/richinsley/comfy2go/graphapi.NewPropertyFromInput({0x5d8fd0, 0x1}, 0x0, 0x1?, 0x2)
        C:/Users/Administrator/go/pkg/mod/github.com/richinsley/[email protected]/graphapi/properties.go:807 +0x619
github.com/richinsley/comfy2go/graphapi.(*NodeObjects).PopulateInputProperties(0xc00005a040)
        C:/Users/Administrator/go/pkg/mod/github.com/richinsley/[email protected]/graphapi/nodeobjects.go:153 +0x225
github.com/richinsley/comfy2go/client.(*ComfyClient).GetObjectInfos(0xc00009eaf0?)
        C:/Users/Administrator/go/pkg/mod/github.com/richinsley/[email protected]/client/comfyclientrequests.go:258 +0x105
github.com/richinsley/comfy2go/client.(*ComfyClient).Init(0xc00007e780)
        C:/Users/Administrator/go/pkg/mod/github.com/richinsley/[email protected]/client/comfyclient.go:146 +0x3d
main.main()
        C:/Users/Administrator/Rnd/comfyui/simple_api.go:60 +0x1f7
exit status 2```
@dreamfast
Copy link
Contributor

@gafar-code Please check the PR #14 it has a fix for this issue that had worked okay for me here.

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