Skip to content

pyControl crashes when load a working tasks after trying to load a task with bugs #125

Closed
@guykoy123

Description

@guykoy123

I've just migrated to v2.0.2.
I'm working on a new task. specificaly for a custom controls gui, when I tried to load the task onto the board I received the following exception:
Transferring state machine WIP\T1_wheel_moving to pyboard. OK
Error: uncaught exception of type: <class 'AttributeError'>
Disconnected from board.

Which may just be an error i made in my code.
However, when I try to load and run a task that wasn't touched and had previously worked just fine I now get an error when I try to load it:
Transferring state machine Experiments\E1_behavioral_experiment to pyboard. OK
Error: uncaught exception of type: <class 'TypeError'>
Disconnected from board.
I have been able to reproduce the issue with different working tasks.

After I reopen the pyControl GUI window all the tasks work just fine until I try to load the broken task
I also managed to reproduce the bug with a different exception, not just AttributeError
Connecting to board COM3
Micropython version: 1.16
Framework version: 2.0.2
Transferring state machine Experiments\E1_behavioral_experiment to pyboard. OK

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