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

References not present in Processsing 4.2 for Linux #746

Open
shyimon opened this issue Jun 15, 2023 · 3 comments · May be fixed by #763
Open

References not present in Processsing 4.2 for Linux #746

shyimon opened this issue Jun 15, 2023 · 3 comments · May be fixed by #763

Comments

@shyimon
Copy link

shyimon commented Jun 15, 2023

Description

When trying to open the Environment Help entry nothing happens and the console prints out the following:
java.io.IOException: Failed to show URI:file:/home/shyimon/Documents/processing-4.2/modes/java/reference/../environment/index.html at java.desktop/sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:124) at java.desktop/sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:108) at java.desktop/java.awt.Desktop.browse(Desktop.java:533) at processing.awt.ShimAWT.openLink(ShimAWT.java:943) at processing.app.platform.DefaultPlatform.openURL(DefaultPlatform.java:238) at processing.app.platform.LinuxPlatform.openURL(LinuxPlatform.java:126) at processing.app.Platform.openURL(Platform.java:159) at processing.mode.android.AndroidEditor.showReference(AndroidEditor.java:373) at processing.mode.java.JavaEditor.lambda$buildHelpMenu$7(JavaEditor.java:285) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1028) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1072) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389) at java.desktop/java.awt.Component.processEvent(Component.java:6391) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Steps to Reproduce

  1. Open Processing
  2. Help > Environment
  3. See console for the error log

Your Environment

Running Processing 4.2 on EndeavourOS

  • Processing version: 4.2
  • Operating System and OS version: EndeavourOS, arch 6.3.8
@SableRaf
Copy link

Hi @shyimon and thanks for reporting this issue. It sounds like you might not have downloaded the reference, which is now a separate download due to its size. We are working on reducing the reference size so that it can be included again with the main download in the future.

In the meantime, you can download the reference by navigating to Help > Download Offline Reference in the Processing software. Once you've downloaded the reference, please try accessing the Environment Help again and let us know if you're still experiencing issues.

@shyimon
Copy link
Author

shyimon commented Jun 23, 2023

Thanks, was not aware that the reference was downloadable separately!

@shyimon shyimon closed this as completed Jun 23, 2023
@benfry
Copy link
Contributor

benfry commented Jul 17, 2023

Oh… this is a bug in Android Mode, which needs to use the new reference setup. When using Java Mode, it will open the online reference if the offline reference hasn't yet been downloaded.

Moving to the Android Mode repository so it can get fixed.

@benfry benfry reopened this Jul 17, 2023
@benfry benfry transferred this issue from benfry/processing4 Jul 17, 2023
@codeanticode codeanticode added this to the 4.6 bugfixes milestone Oct 30, 2023
@codeanticode codeanticode removed this from the 4.6 bugfixes milestone Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants