Processing.py-Bugs
Processing.py-Bugs copied to clipboard
No feedback for simple errors in Python for Processing 4
There is no feedback on errors in Python for Processing 4.
Two examples.
-
Lack of cast. In the code in this screenshot, I am forgetting to cast a numeric variable (diam) to a str before concatenating it with a string variable. The sketch hangs and there is no feedback on the source of the error:
-
Mistyped variable name. In the code in this screenshot, I fixed the error above, but introduced a typo in the variable name (capitalized 'D' in diam). Again, the sketch hangs and there is no feedback in the Processing window about where and what the error is.
Confirming no runtime error messages for simple mistakes such as misspelled variables. program simply hangs
Same issue here on macOS 12.6.1. I actually installed 3.5.4 as well as I've heard other say it worked, but I'm having the same issue there as well.
Same here, windows 11.
I confirm, it is very confusing for students who are learning programming because they get stuck without knowing why.
Dear @gsingh93, @btingle and @friedelleprof, please bear in mind that at this point Processing Python mode needs a new maintainer: https://discourse.processing.org/t/python-mode-needs-a-new-project-owner/36399/1
You might want to explore other options for teaching: https://github.com/villares/Resources-for-teaching-programming/blob/main/README.md#processing--python-tools-table