AdobeCollect icon indicating copy to clipboard operation
AdobeCollect copied to clipboard

Panic: runtime error

Open fhangel opened this issue 3 years ago • 0 comments

Hi and thanks for this idea.

I really need this to work, so I'd appreciate if you can help.

I'm trying to run the application as instructed, but I get the following error.

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

goroutine 1 [running]:
main.main()
	/home/ali/Desktop/d/Go/AdobeCollect/main.go:146 +0x11a5

Line 146 seems to be accessing position 0 of the array of cameras, f := cameras[0] but my recordings don't have any cameras. Could that be the issue? Could the code be validated to process recordings without camera?

Thanks

fhangel avatar Jan 06 '23 03:01 fhangel