Skip to content
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

Problems running and opening new windows #386

Open
moncapiten opened this issue Mar 28, 2024 · 3 comments
Open

Problems running and opening new windows #386

moncapiten opened this issue Mar 28, 2024 · 3 comments

Comments

@moncapiten
Copy link

I've been programming a small project using processing in python mode and it appears to be unable to run any code in the draw loop, neither my code nor various examples( that have been tested have been moveEye and mixtureGrid which didn't work, while list2D example did).
In addition, after closing and reopening the IDE and rebooting the system, i tried once again to open processing and it not only refuses to run any draw code without even giving error, but the whole IDE crashes as soon as I try to open any program using the "Open" menu, giving the attached error message and crashing completely.
immagine_2024-03-28_152035822

@moncapiten
Copy link
Author

I am running on win11 22h2 with python 3.10.4 already installed, if it's of any help

@moncapiten
Copy link
Author

Tried removing and reinstalling python mode from the processing interface, now it doesn't hard crash anymore but still not draw loop is ever executed, neither in mine code nor in the examples, except for static ones( e.g. list2D) but if i try to loop them by removing the noLoop() command, it once again doesn't run, open the canvas and computes nothing, not even something like a print in the first line of the draw function

@villares
Copy link

Hi @moncapiten , Processing Python mode is not working on the Processing 4 IDE, people still use it on the Processing 3.5.4 IDE, but it is unfortunately an unmaintained tool at this time.

You mentioned Python 3.10, beware that Processing Python mode uses its own special Python interpreter: Jython 2.7.

If you want to try newer Python 3 + Processing integrations you might want to check out these 2 projects:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants