Windows OpenBCI GUI freezes [resolved]

l001l001 Vilnius
edited October 2020 in Cyton

Hello everyone, I'm kind new here.
I had problem before which was described in https://openbci.com/forum/index.php?p=/discussion/2223/is-my-cyton-broken-non-responsive-after-attempted-firmware-upgrade topic.
I did all steps which was mentioned there as solving options and from first sight it should work well.
My dongle sees cyton well, does the connection and starts the session, but as soon as I try to press start streaming data it just completely freezes.
At the begging I thought that maybe it's because of GUI but after I tried several versions of it nothing changes.
Any suggestions what it could be?

Comments

  • retiututretiutut Louisiana, USA

    Please share the GUI Console Log here on this thread. This will show what is happening in the background with the GUI side of things.


  • l001l001 Vilnius
    edited October 2020

    @retiutut Thank you for response .
    If I understood right GUI is making directory and files by itself, so I tried to ''reinstall'' but still have same error.
    By reinstall I meant to delete all folders with files in it which belongs to GUI.
    So this is result of console log.

    Error! Failed to open C:\\Documents\OpenBCI_GUI\Console_Data\Console_2020-10-14_20-23-11.txt for write.
    java.lang.RuntimeException: Couldn't create a writer for C:\\Documents\OpenBCI_GUI\Console_Data\Console_2020-10-14_20-23-11.txt
    Console Log Started at Local Time: 2020-10-14_20-23-12
    Screen Resolution: 1536 X 864
    Welcome to the Processing-based OpenBCI GUI!
    For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
    OpenBCI_GUI::Setup: Copying sample data to Documents/OpenBCI_GUI/Sample_Data
    OpenBCI_GUI::Setup: Error trying to copy Sample Data to Documents directory.
    TopNav: Internet Connection Successful
    Local Version: v5.0.1, Latest Version: v5.0.1
    GUI is up to date!
    ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
    The file "C:\\Documents\OpenBCI_GUI\Settings\UserPlaybackHistory.json" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
    OpenBCI_GUI::Control Panel: Playback history file not found or other error.
    null
    OpenBCI_GUI::Setup: Setup is complete!
    ConsoleLog: Console closed!
    sourceList: click! 
    Channel count set to 8
    ControlPanel: Found Cyton Dongle on COM port: COM14
    ControlPanel: Attempting to Auto-Connect to Cyton
    ControlPanel: Found Cyton Dongle on COM port: COM14
    Cyton AutoConnect Button: get_channel
    [DEFAULT]: Attempting to open Serial/COM port: COM14
    Radios_Config: connect_to_portName: Attempting to open serial port: COM14
    Radios_Config: connect_to_portName: Port is open!
    Radios_Config: Success: Host and Device on Channel numb
    [SUCCESS]: Successfully connected to Cyton using COM14
    [DEFAULT]: Attempting to Start Session...
    initButtonPressed: Calling initSystem() after next draw()
    OpenBCI_GUI: Start session. Calling initSystem().
    
    
    =================================================
    ||             INITIALIZING SYSTEM             ||
    =================================================
    
    brainflow.BrainFlowError: Error in set_log_file:GENERAL_ERROR
        at brainflow.BoardShim.set_log_file(BoardShim.java:172)
        at OpenBCI_GUI$BoardBrainFlow.initializeInternal(OpenBCI_GUI.java:2217)
        at OpenBCI_GUI$BoardCyton.initializeInternal(OpenBCI_GUI.java:2742)
        at OpenBCI_GUI$Board.initialize(OpenBCI_GUI.java:1769)
        at OpenBCI_GUI.initSystem(OpenBCI_GUI.java:622)
        at OpenBCI_GUI.systemInitSession(OpenBCI_GUI.java:937)
        at OpenBCI_GUI.draw(OpenBCI_GUI.java:502)
        at processing.core.PApplet.handleDraw(PApplet.java:2475)
        at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:866)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
        at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
        at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
        at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
        at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
        at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
    Channel count set to 8
    InitSettings: Saving Default Settings to file!
    SessionSettings: 3 active widgets saved!
    [SUCCESS]: Session started!
    
    
  • retiututretiutut Louisiana, USA
    edited October 2020

    I see errors showing that your computer is not allowing the GUI to write to file. Please run as Administrator to allow the GUI and BrainFlow to function properly. Most apps require such permission to save/load any kind of information to/from the hard drive.

  • l001l001 Vilnius

    Sorry that I didn't mention it before, I have tried to run as Administrator many times, but still have same error.
    Otherwise I would not ask for help here

  • l001l001 Vilnius

    I have solved the problem, by deactivating antivirus program.
    But still thank you @retiutut for your help

Sign In or Register to comment.