Skip to content

Python Mode console won't display anything #350

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

Open
processing-bot opened this issue Jan 16, 2022 · 9 comments
Open

Python Mode console won't display anything #350

processing-bot opened this issue Jan 16, 2022 · 9 comments
Labels
has attachment Attachment was not transfered from GitLab

Comments

@processing-bot
Copy link
Collaborator

processing-bot commented Jan 16, 2022

Created by: tabreturn

Description

I'm logging this issue here in response to @benfry's request: https://github.com/jdf/processing.py/issues/390#issuecomment-1013791048

The Processing 4 PDE isn't displaying any errors/warnings/print lines in the console using Python Mode --

Image

Expected Behavior / Current Behavior

Errors/warnings/print lines should display in the console in Python Mode, but they don't.

Steps to Reproduce / Your Environment

I'm using a version of Processing.py that I built for 4.0a4: https://github.com/tabreturn/processing.py-for-processing-4

I cannot build with the 4.0b3 source, but possibly because I've forgotten how to do it properly. Perhaps somebody could provide advice on how to build Python Mode for 4.0b3; then, I can update the build instructions in the Processing.py repo?

System Info

  • Processing version: 4.0a4
  • Operating System and OS version: not-applicable I think (affects Win and Linux)
@processing-bot
Copy link
Collaborator Author

Created by: ChaoticBlack

Facing the same issue, has the solution for this problem been found?

@processing-bot
Copy link
Collaborator Author

Created by: tabreturn

Facing the same issue, has the solution for this problem been found?

For now, use Processing 3.5.4

@processing-bot
Copy link
Collaborator Author

Created by: LarryLegend33

Having this same issue -- no errors are making it to the Console, and sketches run while silently failing.

@processing-bot
Copy link
Collaborator Author

Created by: WireFr33

Same issue on 4.3

@processing-bot
Copy link
Collaborator Author

Created by: mehmetkukrek

same issue on 4.3

@derDere
Copy link

derDere commented Mar 21, 2025

same issue on 4.3.4

@raelum
Copy link

raelum commented Apr 11, 2025

Still experiencing this issue today. It's really hard to pinpoint what broke in my code when developing something.

@SableRaf
Copy link
Collaborator

SableRaf commented Apr 11, 2025

Hi @derDere, @raelum, and others,

Unfortunately, Processing.py was never fully ported to Processing 4, and the Python Mode doesn't have an active maintainer.

Processing.py relies on Jython, which only supports Python 2 and seems no longer actively developed. Because of this, there's no straightforward path to supporting Python 3, and we don't expect Python Mode to work reliably in Processing 4.

As it stands, options are as follows:

  • Use Processing 3.5.4 with Python Mode for Processing 3
  • Switch to py5, which supports Python 3 and is actively developed (outside the PDE for now)

@hx2A
Copy link
Collaborator

hx2A commented Apr 11, 2025

Switch to py5, which supports Python 3 and is actively developed (outside the PDE for now)

And we aspire to get it working in the PDE, perhaps later this year. Currently there is a nice plugin for Thonny, which can provide a PDE-like experience.

https://abav.lugaralgum.com/como-instalar-py5/index-EN.html

There are lots of resources available to assist you getting started with py5. Also you can ask questions on GitHub discussions or in the py5 category of the Processing Discourse forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has attachment Attachment was not transfered from GitLab
Projects
None yet
Development

No branches or pull requests

5 participants