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

Python Mode won't run sketches in 4.0b6 #409

Closed
processing-bot opened this issue Feb 14, 2022 · 8 comments
Closed

Python Mode won't run sketches in 4.0b6 #409

processing-bot opened this issue Feb 14, 2022 · 8 comments

Comments

@processing-bot
Copy link
Collaborator

Created by: tabreturn

Description

Python Mode worked in 4.0b5, but won't run sketches in 4.0b6

Expected Behavior

Python Mode Sketches won't run. Instead I get this error in the console (truncated here) --

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'java.lang.String processing.app.Sketch.getMainProgram()'
	at jycessing.mode.run.PdeSketch.<init>(PdeSketch.java:55)
	at jycessing.mode.PyEditor.runSketch(PyEditor.java:348)
	at jycessing.mode.PyEditor.handleRun(PyEditor.java:369)
	at jycessing.mode.PyToolbar.handleRun(PyToolbar.java:22)
	at processing.app.ui.EditorToolbar$1.actionPerformed(EditorToolbar.java:135)
	...
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Steps to Reproduce

  1. Install Python Mode in 4.0b6
  2. Attempt to run a sketch

Your Environment

  • Processing version: 4.0b6
  • Operating System and OS version: Linux Mint 20.3 Cinnamon

Possible Causes / Solutions

Note sure of the cause. For now, Processing Python Mode users could use 4.0b5 or 3.5.4

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Nuts; ok… that's due to detaching sketch name and the name of the first tab. Didn't realize Python Mode was using that method.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Added a fix for beta 7; in the meantime you can also just build from the source.

@processing-bot
Copy link
Collaborator Author

Created by: Rauschii

Added a fix for beta 7; in the meantime you can also just build from the source.

Hi, i know it is unusual to ask here but I cannot contact you otherwise.
I don' t want to stress but I am using Processing for my university course and our semester starts today. Could you let me know when Version 7 is coming? Thank you very much for any hint in advance.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

I'd like to get something out as soon as possible (today? this week?) but it's just a matter of when I can get some spare time to make it happen. Beta 5 should also work fine (still on the GitHub releases page) in case that's an option for you.

@processing-bot
Copy link
Collaborator Author

@processing-bot
Copy link
Collaborator Author

Created by: Rauschii

Thank you both!!! @benfry and @tabreturn

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Beta 7, which has the fixes, has been up for 3 weeks: https://github.com/processing/processing4/releases

If there are problems with beta 7, I've not seen any reports yet.

@processing-bot
Copy link
Collaborator Author

Created by: github-actions[bot]

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant