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

Resizing GUI freezes the app #1030

Closed
cbrnr opened this issue Feb 7, 2022 · 7 comments
Closed

Resizing GUI freezes the app #1030

cbrnr opened this issue Feb 7, 2022 · 7 comments

Comments

@cbrnr
Copy link

cbrnr commented Feb 7, 2022

Problem

I cannot resize the window. Whenever I try, the program immediately freezes and I have to kill it.

Expected

I would like to resize the window, because the default size is way too small.

Operating System and Version

macOS 11.6.3

GUI Version

v5.0.9

Running standalone app

I'm running the standalone app.

Type of OpenBCI Board

Cyton

Are you using a WiFi Shield?

No

@retiutut
Copy link
Member

retiutut commented Feb 8, 2022

GUI 5.0.9 will likely be the last version to run on Processing 3.

I believe this may be fixed by moving to Processing 4, which is planned for GUI 5.1.0 and already committed to the development branch.

You are welcome to clone this repo, checkout the development branch, launch using Processing 4, and if it works fine use Processing IDE to export the application as a local copy for yourself.

https://docs.openbci.com/Software/OpenBCISoftware/GUIDocs/#running-the-openbci-gui-from-the-processing-ide

Can you please try this and report back if this resolves your issue on Mac OS 11?

Thanks,
RW

@cbrnr
Copy link
Author

cbrnr commented Feb 9, 2022

I tried, but I get an error related to libraries not found (the libraries that are normally in the home directory which I reported in #1029):

UnsatisfiedLinkError: Unable to load library 'libBoardController.dylib':
dlopen(libBoardController.dylib, 9): image not found
dlopen(libBoardController.dylib, 9): image not found
Native library (darwin/libBoardController.dylib) not found in resource path (/var/folders/6_/gnl5gd692xqbf4vd6pqvc_1c0000gn/T/OpenBCI_GUI12067625345381685595temp::/Users/clemens/Documents/Processing/OpenBCI_GUI/code/LSLLink.jar:/Applications/Processing.app/Contents/Java/core/library/jogl-all.jar:/Applications/Processing.app/Contents/Java/core/library/gluegen-rt.jar:/Applications/Processing.app/Contents/Java/core/library/core.jar:/Users/clemens/Documents/Processing/libraries/LSLLink/library/LSLLink.jar:/Users/clemens/Documents/Processing/libraries/LSLLink/library/jna.jar:/Users/clemens/Documents/Processing/libraries/LSLLink/library/jna-platform.jar:/Users/clemens/Documents/Processing/libraries/minim/library/tritonus_share.jar:/Users/clemens/Documents/Processing/libraries/minim/library/mp3spi1.9.5.jar:/Users/clemens/Documents/Processing/libraries/minim/library/jl1.0.1.jar:/Users/clemens/Documents/Processing/libraries/minim/library/minim.jar:/Users/clemens/Documents/Processing/libraries/minim/library/jsminim.jar:/Users/clemens/Documents/Processing/libraries/minim/library/tritonus_aos.jar:/Applications/Processing.app/Contents/Java/modes/java/libraries/serial/library/jssc.jar:/Applications/Processing.app/Contents/Java/modes/java/libraries/serial/library/serial.jar:/Applications/Processing.app/Contents/Java/modes/java/libraries/net/library/net.jar:/Users/clemens/Documents/Processing/libraries/grafica/library/grafica.jar:/Users/clemens/Documents/Processing/libraries/GifAnimation/library/GifAnimation.jar:/Users/clemens/Documents/Processing/libraries/oscP5/library/oscP5.jar:/Users/clemens/Documents/Processing/libraries/udp/library/udp.jar:/Users/clemens/Documents/Processing/libraries/jSerialComm/library/jSerialComm.jar:/Users/clemens/Documents/Processing/libraries/brainflow/library/brainflow.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/commons-logging-1.1.1.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/httpclient-4.1.2.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/httpcore-4.1.2.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/commons-codec-1.4.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/httpclient-cache-4.1.2.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/httprequests_processing.jar:/Users/clemens/Documents/Processing/libraries/httprequests_processing/library/httpmime-4.1.2.jar:/Users/clemens/Documents/Processing/libraries/controlP5/library/controlP5.jar:/Users/clemens/Documents/Processing/libraries/openbci_gui_helpers/library/openbci_gui_helpers.jar:/Users/clemens/Documents/Processing/libraries/ssdp_client/library/ssdp_client.jar)

@retiutut
Copy link
Member

retiutut commented Mar 7, 2022

@cbrnr Can you please share the full console log? Resizing the app should not be related to a BrainFlow dll file. More information is needed to resolve this. Also, there is a known issue supposedly with OpenGL and Apple Silicon. processing/processing4#370
processing/processing4#128

@retiutut
Copy link
Member

retiutut commented Mar 7, 2022

I would try the latest Processing 4 build, run the GUI from this in the development branch, and share the full console log.

This version was released 4 days ago: https://github.com/processing/processing4/releases/tag/processing-1282-4.0b7

@cbrnr
Copy link
Author

cbrnr commented Mar 10, 2022

I have an Intel Mac, so this is not related to an issue with Apple Silicon. As I've mentioned previously, starting the OpenBCI_GUI from the latest Processing build gives me an error because libBoardController.dylib cannot be found. Where can I get this library (and the other ones that are probably also missing)?

@retiutut
Copy link
Member

We will now be using Processing 3. This change applies to the current master branch and the development branch. Apple Silicon should be able to run the app as an Intel app. There were too many serious errors occurring in Processing 4 ahead of finally releasing 5.1.0.

@retiutut retiutut removed this from the 5.1.0 milestone Apr 28, 2022
@retiutut
Copy link
Member

Please try again using the master branch and Processing 3.5.3. This should resolve your issue. If you still get an error, share the console log here and we can reopen the issue. Thank you for making this issue.

@retiutut retiutut added this to the 5.1.0 milestone Apr 28, 2022
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