-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyControl crashes when load a working tasks after trying to load a task with bugs #125
Comments
This is what I pulled from the log file: |
Hi @guykoy123 , Apologies, I somehow missed this when first posted. Did you manage to resolve this issue? If not could you upload a minimal task example that reproduces the error? |
Hi @ThomasAkam, |
@guykoy123 one thing that may be worth trying is to update your board to the latest Micropython version. I've found that the error messages are much more informative in newer versions of Micropython, and they will usually give a filename and line number where the error is occurring. |
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
The text was updated successfully, but these errors were encountered: