Skip to content

TypeError: 'Controls' object is not subscriptable #17

@kalashnikov2

Description

@kalashnikov2

hi

im configuring the GugusseRoller software on a rpi4 b and using the old_board_v2 repo, and board v2.2

following the tutorial os_and_software_install_2.2.pdf

on raspberry pi os legacy 64 - debian bookworm 2025-11-24

I followed all the steps in the tutorial, and when I try to launch the program, I get this error.

`

Traceback (most recent call last):
File "/home/pi/Downloads/GugusseRoller/GugusseGUI.py", line 259, in
window = MainWindow()
^^^^^^^^^^^^
File "/home/pi/Downloads/GugusseRoller/GugusseGUI.py", line 47, in init
self.ExposureDual=CameraSettings.ExposureDualWidget(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/Downloads/GugusseRoller/CameraSettings.py", line 123, in init
self.changeMode()
File "/home/pi/Downloads/GugusseRoller/CameraSettings.py", line 129, in changeMode
min=self.win.picam2.video_configuration.controls['FrameDurationLimits'][0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'Controls' object is not subscriptable
`

all log https://pastebin.com/SQPHFuM6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions