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

WARNING when switching to python mode and code doesnt run. #325

Open stencilarchitect opened 2 years ago

stencilarchitect commented 2 years ago

Hello, I decide to install processing again after a year or so, and I am surprised to see this Python mode and give it a try. But when I switch to python mode this warning appears in the console:

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper (file:/C:/Users/Benja/Documents/Processing/modes/PythonMode/mode/jython.jar) to method sun.nio.ch.SelChImpl.getFD() WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

after this I try to run a simple "line(15, 25, 70, 90)", but nothing happens, no errors, no windows, nothing.

I am Using windows 10 and processing version 4.0b1 tried download latest Java, Python, deleting previous versions, restarting, nothing seems to work.

Any insights?

tabreturn commented 2 years ago

Best to use Processing 3.5.4.

https://discourse.processing.org/t/no-python-in-processing-4/31979