PiDog V2 with RPI4 Camera errors - Not connectors

I have a PiDog I am trying to program for a coworker (he builds, I code). Here is the most recent error from trying to run the 12_App_Control in /pidog/examples below:

momminator@PiDog513:~/pidog/examples $ sudo python3 12_app_control.py

vilib 0.3.18 launching …

picamera2 0.3.34

Traceback (most recent call last):

File “/home/momminator/pidog/examples/12_app_control.py”, line 5, in

from vilib import Vilib

File “/usr/local/lib/python3.13/dist-packages/vilib/_init_.py”, line 2, in

from .vilib import Vilib

File “/usr/local/lib/python3.13/dist-packages/vilib/vilib.py”, line 182, in

class Vilib(object):

...<635 lines>...

        return img

File “/usr/local/lib/python3.13/dist-packages/vilib/vilib.py”, line 184, in Vilib

picam2 = Picamera2()

File “/usr/lib/python3/dist-packages/picamera2/picamera2.py”, line 341, in _init_

camera_num = self.global_camera_info()\[camera_num\]\['Num'\]

             \~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^

IndexError: list index out of range

It’s a new camera because the other one apparently was not installed properly (or fell off). I’ve reinstalled the software on new SD cards multiple times and it’s just not working. PiDog can do everything else except anything that requires the camera. Any other suggestions?

Its a hardware not software issue. Often the camera cable is misconnected or rotated on one side or the other, or sometimes connected to the dsi not csi port. Ive already asked sunfounder to add a camera trial build into their instructions, which they agreed to do, as it happens so often. Its such a tricky cable to get right.

Yes, @SPF650 is absolutely right. I suggest checking the connection of the camera cable.

If you’re unsure, you can take photos of both ends of the cable and show them to us.

After confirming the connection, use the following command to check if the Raspberry Pi detects the camera:
rpicam-hello --list-cameras

I tried this with changing the strip all ways and no camera is available