Cerebro: Error on opening cerebro

Created on 21 Feb 2019  路  20Comments  路  Source: cerebroapp/cerebro

  • [ 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: Ubuntu Budgie 18.04
  • Cerebro.app version: 3.2
  • Relevant information from devtools _(See above how to open it)_:

Issue

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)
duplicate

Most helpful comment

Setting trackingEnabled to false fixed it for me in ~/.config/Cerebro/config.json

All 20 comments

I have a similar problem on opening Cerebro.app

  • OS version and name: macOS Mojave 10.14.3
  • Cerebro.app version: 3.2

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:

  • Ubuntu 18.04 LTS
  • GNOME
  • Latest version as of 3/26/2019

Same error as @elvilio and @Anti-Antidote:

  • Ubuntu 18.10
  • GNOME 3.30.1
  • Cerebro 0.3.2

Same error:

  • Windows 10 Pro (1809)
  • Cerebro 0.3.2

I'm facing the same o MacOS 10.14.4 with Cerebro 0.3.2

Same

  • Ubuntu 18.04.2
  • Cerebro 0.3.2

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 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dominicbartl picture dominicbartl  路  4Comments

wonzbak picture wonzbak  路  6Comments

yunionlassalle picture yunionlassalle  路  6Comments

helmutgranda picture helmutgranda  路  4Comments

andylima picture andylima  路  6Comments