Unable link OpenBCI-Hub Kubuntu 19.04 (OpenBCI GUI as a "Standalone" Application)

Can't get Cyton to run under Kubuntu 19.04. The FTTDI driver should be included in the kernel and the permissions for the serial port I also considered. I get the message Unable link OpenBCI-Hub. Even if you copy the individual hub application to the Data folder, there is no success.

Comments

  • retiututretiutut Louisiana, USA

    In such a case, the Hub is not even running. You need to find a way to make it run. Try using sudo.

  • openoli73openoli73 germany
    edited September 2019

    Sudo doesn't work either. I tried npm now but got a lot of bugs. I need to take another look at this in peace.

  • retiututretiutut Louisiana, USA
    edited September 2019

    @openoli73 I don't the GUI has been tested on 19.04.

    https://github.com/OpenBCI/OpenBCI_Hub/releases/tag/v2.1.0
    Try to run that. Just by itself.

  • ./OpenBCIHub
    ./OpenBCIHub: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
    
  • is working, many thanks

  • retiututretiutut Louisiana, USA

    @openoli The GUI is supposed launch the Hub automatically:

    /**
      * Starts the node hub working, tested on mac and windows.
      */
    void hubStart() {
        println("Launching application from local data dir");
        try {
            // https://forum.processing.org/two/discussion/13053/use-launch-for-applications-kept-in-data-folder
            if (isWindows()) {
                println("OpenBCI_GUI: hubStart: OS Detected: Windows");
                nodeHubby = launch(dataPath("/OpenBCIHub/OpenBCIHub.exe"));
            } else if (isLinux()) {
                println("OpenBCI_GUI: hubStart: OS Detected: Linux");
                nodeHubby = exec(dataPath("./OpenBCIHub/OpenBCIHub"));
            } else {
                println("OpenBCI_GUI: hubStart: OS Detected: Mac");
                nodeHubby = launch(dataPath("OpenBCIHub.app"));
            }
            // hubRunning = true;
        }
        catch (Exception e) {
            println("hubStart: " + e);
        }
    }
    

    Is the GUI able to start the Hub? Or do you have to do it manually? Have you tried replacing the Hub in the data folder with the one you got to run?

    Just curious because you are running Kubuntu 19.04. Thanks!

  • I didn't replace the folder and after installing the package, I started the GUI. So the hub was started automatically. Everything runs fine.

Sign In or Register to comment.