Skip to content

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

Closed
@processing-bot

Description

@processing-bot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions