py5coding / py5generator

Meta-programming project that creates the py5 library code.
https://py5coding.org/
GNU General Public License v3.0
52 stars 13 forks source link

[MacOS] Assertion failure in +[NSEvent with RecursionError #72

Closed evayann closed 2 years ago

evayann commented 2 years ago

When I create a simple sketch, I have a lot of Assertion failure who finish with RecursionError. You can find pdf who describe this bellow. simple_example.pdf

hx2A commented 2 years ago

Interesting. Can you tell me how you created your environment? Is your computer one of the new Apple Silicon machines?

evayann commented 2 years ago

For environment, I install Jupyter from brew (and pip to execute jupyter in vscode). Py5 was also install from pip. I use python@3.9 version. My MacBook is MacBook Air M1 (Apple Silicon) with first release on November 2020

hx2A commented 2 years ago

My MacBook is MacBook Air M1 (Apple Silicon)

Hmmm, I guess this answers my question about if py5 works on Apple Silicon. I'm surprised the default renderer doesn't work. I thought only P2D and P3D would cause problems.

I need some time to think and figure out next steps. Would you be willing to help me test new versions of py5 as I come up with ideas to address this?

hx2A commented 2 years ago

Today's release of py5 should fix most (or all) of the OSX problems. Please read the rewritten Special Notes for OSX Users page and create a new issue if you see something that doesn't work. I'm curious if there are any problems on Apple Silicon machines. Thank you for your interest in this project!