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

Odas Studio unresponsive #82

Open
Lexkosty opened this issue Jul 9, 2022 · 2 comments
Open

Odas Studio unresponsive #82

Lexkosty opened this issue Jul 9, 2022 · 2 comments

Comments

@Lexkosty
Copy link

Lexkosty commented Jul 9, 2022

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
Copy link

Chen-HQ commented Aug 10, 2022

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 [email protected].npm uninstall electron
npm config set electron_mirror https://cdn.npm.taobao.org/dist/electron/(Use or not use)
npm install [email protected]

@Lexkosty
Copy link
Author

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!!

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

No branches or pull requests

2 participants