Skip to content

"Controls" produces a board disconnection #161

@ngarcia-font

Description

@ngarcia-font

Problem:

In the PyControl GUI, when a task is loaded and you immediately clicks on "Controls", this error appears:

_Error: uncaught exception of type: <class 'AttributeError'>

Disconnected from board._

Steps:

  1. Open the GUI, go to "Run task" and connect to the board
  2. Select a task. It can be any task from the 'example' folder that has variables (e.g. button_named_imports).
  3. Upload the task.
  4. Click on "Controls".
  5. A new window with the variables appears and this message is displayed:

Error: uncaught exception of type: <class 'AttributeError'>
Disconnected from board.

Comments:

This error only occurs if the steps are followed as indicated above. If one task is uploaded and run and "Controls" is selected during or after finishing the running, the error does not occur and the controls window opens.

Information:

PyControl board:
-Micropython version: 1.261
-Framework version: 2.0.2
GUI: pyControl v2.0.2
OS: macOS sequoia version 15.7.1 (also observed in Windows).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions