jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

Python error in the latest version #341

Open dibyendu1 opened 2 years ago

dibyendu1 commented 2 years ago

While running any code in Python, the following error is encountered:

java.lang.NullPointerException at jycessing.Runner.runSketchBlocking(Unknown Source) at jycessing.mode.run.SketchRunner.lambda$startSketch$3(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:833)

Software info:

Processing 4.0b3 OS: Ubuntu 20.04

Chagomass commented 2 years ago

I have the same error on a different setup :

Processing 4.0b3 MacOS Big Sur (11.6)

I first had to authorise libjniosx.dylib manually, and then the same error message that OP sees appears in console.

Thanks ahead

tabreturn commented 2 years ago

At the moment, Python Mode isn't supported in Processing 4, but the developers are working on a solution. Use Processing 3.5.4 for now.

dibyendu1 commented 2 years ago

At the moment, Python Mode isn't supported in Processing 4, but the developers are working on a solution. Use Processing 3.5.4 for now.

Thank you for the suggestion. I will be using Processing 3.5.4 for now. Hope it get fixed soon.