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

0 AppKit error on Ventura with Processing 3.5.3 and 3.5.4 #1177

Closed
khofstadter opened this issue Aug 8, 2023 · 2 comments
Closed

0 AppKit error on Ventura with Processing 3.5.3 and 3.5.4 #1177

khofstadter opened this issue Aug 8, 2023 · 2 comments

Comments

@khofstadter
Copy link

khofstadter commented Aug 8, 2023

Hello,

On Ventura 13.5, MBP2018 Intel i7 with Processing 3.5.3 and 3.5.4 I get this error message in the Processing log:

0   AppKit                              0x00007ff81debce9d -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 338
	1   AppKit                              0x00007ff81dea9394 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1227
	2   AppKit                              0x00007ff81dea8ec2 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
	3   libnativewindow_macosx.jnilib       0x0000000120a403fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
	4   ???                                 0x000000010215aa88 0x0 + 4329941640
)

I get the same error message when running one of the basic Processing examples using P2D or P3D (e.g. Examples/Camera/Moving Eye) so, I think something is wrong with my setup that doesn't like the P2D library.

  size(win_w, win_h, P2D);

My JAVA should be up to date, but I am not really sure whether this is related:

~ % java -version
java version "1.8.0_381"
Java(TM) SE Runtime Environment (build 1.8.0_381-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode)

Interestingly, when using Processing 4, I don't get the above Appkit error message, but others, while the OpenBCI_GUI v5.2.1 window pops up.

Screenshot 2023-08-08 at 10 46 13

Any recommendations on how to proceed?

Thanks, k

P.S.1. The OpenBCI_GUI 5.2.1 standalone (from the .dmg file) works.

P.S.2. The README.md file in this repository clearly states that Processing 4 shouldn't be used, so the docs page on the main website could probably be updated as it still says: "First, go to processing.org and download the latest version of Processing."

@retiutut
Copy link
Member

#1088

@retiutut
Copy link
Member

retiutut commented Aug 15, 2023

We are currently updating the GUI to run using Processing 4. You can try using the Intel-based Processing 4 and the development branch.

We're also seeing an issue accessing BrainFlow libraries using Processing 4 #1175.

If you'd like to run from source right now:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants