cerebro
cerebro copied to clipboard
Can not start the app
- [x] I am on the latest Cerebro.app version
- [x] I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Linux Mint 18 - 64 bit
- Cerebro.app version: 0.3
- Relevant information from devtools (See above how to open it): N/A
Issue
I can't launch the application. Yesterday, it was fine. It just slowed down a bit but it's a known issue I think. I removed it and reinstalled from deb. It still gives the same error.
~ ❯ cerebro
/opt/Cerebro/resources/electron.asar/common/reset-search-paths.js:0
Error: Cannot find module '../dialog'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/opt/Cerebro/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.get [as dialog] (/opt/Cerebro/resources/electron.asar/browser/api/exports/electron.js:11:16)
at process.<anonymous> (/opt/Cerebro/resources/electron.asar/browser/init.js:54:31)
at emitOne (events.js:96:13)
at process.emit (events.js:188:7)
at process._fatalException (bootstrap_node.js:300:26)
@nejdetckenobi interesting, there is no code ../dialog
code in application. Can you try to install it from AppImage? Or install previous version?
I installed 0.2.7 before which gives me the same error. It was AppImage. When I encountered this error, I removed the AppImage (I simply deleted it) then installed a later version from deb.
Can I do anything to get you enough information to fix this issue? It could be an electron issue I think.
Ok I can reproduce the problem. When I login, cerebro starts. I tapped the shortcut several times. Dialog did not show up but when I check htop, I saw cerebro is running. So, when I try to launch more than one times, this error occurs. It masks the actual problem. I don't know why sometimes an error occurs at start. But I tested and got this error when I try to launch more than one.
Hello. I got the same problem when I set Cerebro to autostart on boot. It gives that error and fail to start. If I start it manually from applications menu it works fine.
I am also on Linux MInt 18.
I'm also getting this issue. Ubuntu 17.10
@raphaklaus @brpaz , seems like @KELiON is out for a vacation or something. Please use killall
to kill every single cerebro
instance and then try to launch again. It won't crash, even if it crashes, it won't be the same error I think.
Too bad it's not showing any error message to user unless you start from terminal. The program does not check if its instance is running or not. That's also too bad.
Same issue. Doesn't run on Ubuntu 17.10.
Problem solved guys.
Take a look at: https://github.com/KELiON/cerebro/issues/354
@wellcp That's not the issue. It is different.
This error still occurs two years later...
Running appimage, and I have a pretty standard debian install.
Running from the desktop gives me a totally different error message:
Uncaught Exception:
TypeError: visitor(...).screenview is not a function
at module.exports.exports.screenView.screenName (/tmp/.mount_O3G9hO/usr/bin/resources/app.asar/main.js:251:15)
at module.exports.exports.default (/tmp/.mount_O3G9hO/usr/bin/resources/app.asar/main.js:915:30)
at App.module.exports._electron.app.on (/tmp/.mount_O3G9hO/usr/bin/resources/app.asar/main.js:653:43)
at emitTwo (events.js:111:20)
at App.emit (events.js:191:7)
Electron really is a flimsy environment.
Any update on this issue? I'm having this problem as well. Mine's .deb
install.
To be honest, I don't use it anymore. Change to Ulauncher. Must admit that I am pretty happy with it.
- First Install JAVA as per the guide in graylog
- Set SELINUX to permissive to prevent it messing things [root@machinename ~]# setenforce permissive
- change to root directory [root@machinenamet ~]#cd /root
- Download the rpm wget https://github.com/lmenezes/cerebro/releases/download/v0.8.5/cerebro-0.8.5-1.noarch.rpm
- in the same directory run the install [root@machinenamet ~]# yum localinstall cerebro-0.8.5-1.noarch.rpm
- allow the program through firewall [root@machinenamet ~]# firewall-cmd --zone=public --add-port=9000/tcp --permanent
Notes: Current issue if it fails to start run this [root@machinenamet ~]# chown -R cerebro:cerebro /usr/share/cerebro to enable and start [root@machinenamet ~]# systemctl enable cerebro [root@machinenamet ~]# systemctl start cerebro
To be honest, I don't use it anymore. Change to Ulauncher. Must admit that I am pretty happy with it.
Thank you. Ulauncher is great
@nejdetckenobi still having this problem? i wish i could help
I replaced my launcher to albert. But you can see that people are still having this issue. You can help them
@nejdetckenobi yes, thanks
I'm closing this issue as outdated. Cerebro is currently in v0.9.0
.
Give it a try and, if the problem persists, feel free to open a new issue.