Windows application export failing in python mode

please format code with </> button * homework policy * asking questions

I am having an issue right now where I am attempting to export my sketch in python mode as a windows application, but processing is consistently giving me the same error, no matter what sketch I try to export. It does generate two folders, application.windows32 and application.windows64, which have java, lib, and source folders in them, but no exe or anything I can run besides the original pyde file I used to export, residing in the source folder.

This is the error: Launch4j seems to have failed.
at jycessing.mode.export.WindowsExport.runLaunch4j(Unknown Source)
at jycessing.mode.export.WindowsExport.export(Unknown Source)
at jycessing.mode.export.Exporter.export(Unknown Source)
at jycessing.mode.export.ExportDialog.go(Unknown Source)
at jycessing.mode.PyEditor.handleExportApplication(Unknown Source)
at jycessing.mode.PyEditor$3.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(
at javax.swing.AbstractButton$Handler.actionPerformed(
at javax.swing.DefaultButtonModel.fireActionPerformed(
at javax.swing.DefaultButtonModel.setPressed(
at javax.swing.AbstractButton.doClick(
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
at java.awt.Component.processMouseEvent(
at javax.swing.JComponent.processMouseEvent(
at java.awt.Component.processEvent(
at java.awt.Container.processEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.LightweightDispatcher.retargetMouseEvent(
at java.awt.LightweightDispatcher.processMouseEvent(
at java.awt.LightweightDispatcher.dispatchEvent(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$500(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

When I was trying to debug and look this up, I ended up looking in the modes folder in processing 3.5.4, and there was no python folder in it, it was just java. I don’t know if this has to do with it, but it might. I do have python mode installed however. I’m happy to provide any other information about the issue if it’s needed. Any help is appreciated, thanks!

1 Like