I get this error when I installed the latest version (3.2) for Ubuntu Budgie. Happens when I open the app from my app menu. Also occurred when I pressed Ctrl + Space for the first time, howver was unable to reproduce afterwards.
Uncaught Exception:
TypeError: Cannot read property 'webContents' of undefined
at EventEmitter.module.exports._electron.ipcMain.on (/opt/Cerebro/resources/app.asar/main.js:687:47)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:191:7)
at WebContents.<anonymous> (/opt/Cerebro/resources/electron.asar/browser/api/web-contents.js:247:37)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
I have a similar problem on opening Cerebro.app
Error shown on a default wondow:
` A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: visitor(...).screenview is not a function
at module.exports.exports.screenView.screenName (/Applications/Cerebro.app/Contents/Resources/app.asar/webpack:/app/lib/trackEvent.js:31:15)
at module.exports.exports.default (/Applications/Cerebro.app/Contents/Resources/app.asar/webpack:/app/main/createWindow.js:166:3)
at App.module.exports._electron.app.on (/Applications/Cerebro.app/Contents/Resources/app.asar/webpack:/app/main.development.js:38:16)
at emitTwo (events.js:111:20)
at App.emit (events.js:191:7) `
Same issue as @elvilio:
Same error as @elvilio and @Anti-Antidote:
Same error:
I'm facing the same o MacOS 10.14.4 with Cerebro 0.3.2
Same
Same
Ubuntu 16.04
Cerebro 0.3.2
````
Uncaught Exception:
TypeError: visitor(...).screenview is not a function
at module.exports.exports.screenView.screenName (/opt/Cerebro/resources/app.asar/main.js:251:15)
at module.exports.exports.default (/opt/Cerebro/resources/app.asar/main.js:915:30)
at App.module.exports._electron.app.on (/opt/Cerebro/resources/app.asar/main.js:653:43)
at emitTwo (events.js:111:20)
at App.emit (events.js:191:7)
`````
Setting trackingEnabled to false fixed it for me in ~/.config/Cerebro/config.json
Doing what @RoobieBoobieee suggested worked for me!
Also, I tried cloning the repo and running it locally, and then it works, even without setting trackingEnabled to false. Not sure what is causing the problem, I may take a look into it later, but it seems that this project, unfortunately, is pretty much abandoned, judging by the lack of response and the opened bugs :/
trackingEnabled worked for me too!!
Same error:
Windows 10 Home Single Language (18362)
Cerebro 0.3.2
Where is the config file located on windows anyone?
Windows: %APPDATA%/Cerebro/config.json
It's in https://github.com/KELiON/cerebro/blob/master/README.md on line 68
Thanks I was able to fix it.
Had the same problem. Changing trackingEnabled flag works. However, the last release was 2 years, ago and the last commit was a year ago. Does anyone know if it is still being maintained?
@MycroftHolmes1989 The repo owner has been working on some Cerebro plugins this last month, so maybe eventually he'll get back around to it
Install missing packages.
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
Change trackingEnable to false in config ~/.config/Cerebro/config.json
Also kill all cerebro process to run normal.
It works for me
@anshuman73 thanks for this issue
I suppose it is duplicated #470
I will close and move on to the other issue
thanks guys for the help
Does this mean there is new activity/development on Cerebro?
@CelsoSantos sure 馃槃
Most helpful comment
Setting
trackingEnabledtofalsefixed it for me in~/.config/Cerebro/config.json