introlab / odas_web

A desktop visualization GUI for the ODAS library
MIT License
137 stars 53 forks source link

Odas Studio unresponsive #82

Open Lexkosty opened 2 years ago

Lexkosty commented 2 years ago

Hi, I have recently installed odas and odas studio on my raspberry pi 4 model B. I had issues with cmake in the odas directory, then i used sudo apt install libgrpc6 which solved the problems at the time. I then tried installing odas studio using npm install, but i had an error, unfortunately i do not have pictures of the error. I solved the above error by running npm install -g npm and npm upgrade. I ran npm start to launch odas studio, but it said it was frequently crashing. I changed the contents in the package.json file to this: { "name": "odas_studio", "version": "0.3.0", "description": "A desktop GUI for the ODAS library", "main": "main.js", "scripts": { "start": "electron .", "postinstall": "./node_modules/.bin/electron-rebuild" }, "author": "Cedric Godin", "license": "MIT", "devDependencies": { "electron": "^15.3.0", "electron-rebuild": "^3.2.3" }, "dependencies": { "@google-cloud/speech": "^4.9.0", "grpc": "^1.24.2", "ip": "^1.1.5", "mathjs": "^9.5.1", "node-localstorage": "^1.3.1", "systeminformation": "^5.9.8", "wav": "^1.0.2", "wav-file-info": "0.0.8" }, "repository": { "type": "git", "url": "https://github.com/introlab/odas_web.git" } } I got the above code from this link. Credits to User zholondz. However, despite being able to launch odas studio, none of the buttons work on the interface. I cannot select the core or config file and the launch button does not work. The Local System Monitor only displays the value 0 for each category. I followed the instructions on this link. I believe my core and config are not in the exact same directory as what it says in the instructions, but even if I changed their locations, it still does not work. Any help and additional questions are welcome.

Chen-HQ commented 2 years ago

I have met your problem before, and I have solved it. I think your electronic version does not match your nodejs version.My nodejs version is12.22.12."electron": "^5.0.3". You can uninstall electron and install elecreon@5.0.3.npm uninstall electronnpm config set electron_mirror https://cdn.npm.taobao.org/dist/electron/(Use or not use) npm install electron@5.0.3

Lexkosty commented 1 year ago

Thank you @Chen-HQ for your input. I found the error and it turned out that I also had firewalls that were not taken down on my laptop and pi. After taking both down, everything was okay. Once again, thank you for your insight!!