cerebro icon indicating copy to clipboard operation
cerebro copied to clipboard

Error when start app

Open pedroresende opened this issue 6 years ago • 19 comments

I am on the latest Cerebro.app version I have searched the issues of this repo and believe that this is not a duplicate Debian 9: 0.3.2: Can't change settings

I still can get access to Cerebro by a shortkey but there are no icon in tray menu so i cant open devtool If i try enable Developer mode by typing cerebro Settings i receive another error http://ipic.su/img/img7/fs/kiss_29kb.1520249230.png

If i can somehow help then let me know

pedroresende avatar Jun 29 '18 13:06 pedroresende

Same error for me, on Fedora 28.

paulomanrique avatar Jul 01 '18 09:07 paulomanrique

I'm getting two different startup exceptions. I installed cerebro_0.3.2_amd64.deb on Ubuntu 18.04.

Cerebro fails to launch on my system.

Exception 1

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)

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

Don't know if this helps, but other Electron apps such as Slack and Tusk are working fine for me.

nonbeing avatar Jul 01 '18 17:07 nonbeing

I start cerebro-0.3.2-x86_64.AppImage only one time success in Ubuntu 18.04 LTS, when I reboot the system I can't start it anymore. System: Ubuntu 18.04 LTS Cerebro version: cerebro-0.3.2-x86_64.AppImage Exception message :

A JavaScript error occurred in the main process

Uncaught Exception:
TypeError: visitor(...).screenview is not a function
    at module.exports.exports.screenView.screenName (/tmp/.mount_SFD6Xr/usr/bin/resources/app.asar/main.js:251:15)
    at module.exports.exports.default (/tmp/.mount_SFD6Xr/usr/bin/resources/app.asar/main.js:915:30)
    at App.module.exports._electron.app.on (/tmp/.mount_SFD6Xr/usr/bin/resources/app.asar/main.js:653:43)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:191:7)

neederhow avatar Jul 14 '18 17:07 neederhow

0.2.8 ver works great on my Ubuntu 18.04 while 0.3.2 don't

artyshko avatar Jul 16 '18 21:07 artyshko

I've had a similar error. I used 0.3.1 and recently deleted it (and stuff from .config/Cerebro before running the 0.3.2 Appimage. The trace goes like:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/home/priyansh/.config/Cerebro/config.json'
    at Object.fs.openSync (fs.js:558:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.writeFileSync (fs.js:1233:33)
    at Object.get (/tmp/.mount_XRVB5t/usr/bin/resources/app.asar/main.js:162:18)
    at Object.module.exports.Object.defineProperty.value (/tmp/.mount_XRVB5t/usr/bin/resources/app.asar/main.js:642:24)
    at __webpack_require__ (/tmp/.mount_XRVB5t/usr/bin/resources/app.asar/main.js:21:30)
    at /tmp/.mount_XRVB5t/usr/bin/resources/app.asar/main.js:64:18
    at Object.<anonymous> (/tmp/.mount_XRVB5t/usr/bin/resources/app.asar/main.js:67:10)
    at Object.<anonymous> (/tmp/.mount_XRVB5t/usr/bin/resources/app.asar/main.js:3738:3)
    at Module._compile (module.js:571:32)

I use Elementary OS 0.4 Loki.


Edit: I shifted to Manjaro today, running Deepin desktop. In this installation, I haven't used 0.3.1 before, and directly tried running the latest version. I still can't get it working and encounter the same error.

geraltofrivia avatar Jul 19 '18 23:07 geraltofrivia

Hi, I can start the cerebro 0.3.2 after making the corrections below in my Manjaro Linux.

~/.config/Cerebro/config.json

Change the line “trackingEnabled”: true,

for “trackingEnabled”: false,

~/.config/Cerebro/config.json

Change the line

“positions”: {
      “1657191935228674”: [
          355,
          136
     ]
}

for

“positions”: {}

tioguda avatar Jul 20 '18 17:07 tioguda

@tioguda thanks! This worked for me.

geraltofrivia avatar Jul 20 '18 23:07 geraltofrivia

In my Linux Mint, I have a similar error. by deb package installed Cerebro. I used the method provided by @tioguda, It's worked for me.

zbin avatar Sep 15 '18 05:09 zbin

Not sure if related but getting this on cerebro startup (macOS Mojave)

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)

Indyandie avatar Oct 08 '18 16:10 Indyandie

I have some error on mac 0.3.2

image

alabotski avatar Oct 09 '18 07:10 alabotski

Why you using 0.3.2 (dec 17) when there is already 0.3.3 (may 18)?

I've just installed Cerebro via brew cask install cerebro and there are no 0.3.3, btw

qfox avatar Oct 13 '18 14:10 qfox

@zxqfox Official size - https://cerebroapp.com/ Mac version - https://github.com/KELiON/cerebro/releases/download/v0.3.1/cerebro-0.3.1.dmg

GitHub release https://github.com/KELiON/cerebro/releases Version 0.3.2

Where I can download 0.3.3?

alabotski avatar Oct 14 '18 16:10 alabotski

Is the project alive or dead?

alabotski avatar Oct 20 '18 06:10 alabotski

I have the same error. Linux Distro: Ubuntu 18.04 Cerebro Version: 3.2 After "installing" the AppImage, I opened the app, and I got this error:

Uncaught Exception:
TypeError: visitor(...).screenview is not a function
    at module.exports.exports.screenView.screenName (/tmp/.mount_aZRaiX/usr/bin/resources/app.asar/main.js:251:15)
    at module.exports.exports.default (/tmp/.mount_aZRaiX/usr/bin/resources/app.asar/main.js:915:30)
    at App.module.exports._electron.app.on (/tmp/.mount_aZRaiX/usr/bin/resources/app.asar/main.js:653:43)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:191:7)

I pressed OK on the error and the window closed and was replaced by another error:

Uncaught Exception:
TypeError: Cannot read property 'webContents' of undefined
    at EventEmitter.module.exports._electron.ipcMain.on (/tmp/.mount_aZRaiX/usr/bin/resources/app.asar/main.js:687:47)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:191:7)
    at WebContents.<anonymous> (/tmp/.mount_aZRaiX/usr/bin/resources/electron.asar/browser/api/web-contents.js:247:37)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)

I followed the instructions of @tioguda (albeit without the positions array, because I didn't have one) and was able to open the app, and went to the settings. I changed the theme to dark and then was faced with this error:

Uncaught Exception:
TypeError: Cannot read property 'settingsChanges' of undefined
    at EventEmitter.module.exports._electron.ipcMain.on (/tmp/.mount_KIlRaS/usr/bin/resources/app.asar/main.js:692:13)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)
    at WebContents.<anonymous> (/tmp/.mount_KIlRaS/usr/bin/resources/electron.asar/browser/api/web-contents.js:247:37)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)

I uninstalled the AppImage, deleted .config/Cerebro, and installed the same version as a .deb (in my GUI), where I was able to open the app but encountered the same issues.

nogarcia avatar Jan 05 '19 01:01 nogarcia

Same errors... Cerebro Version: 3.2 System: Win10

Conquistador avatar Aug 03 '19 10:08 Conquistador

Cerebro Version: 3.2 System: Win10

sajaddp avatar Aug 09 '19 18:08 sajaddp

I think Cerebro is no longer developing.

Found for myself a new program on Mint https://albertlauncher.github.io/docs/installing/

alabotski avatar Aug 14 '19 07:08 alabotski

Hi, I can start the cerebro 0.3.2 after making the corrections below in my Manjaro Linux.

~/.config/Cerebro/config.json

Change the line “trackingEnabled”: true,

for “trackingEnabled”: false,

~/.config/Cerebro/config.json

Change the line

“positions”: {
      “1657191935228674”: [
          355,
          136
     ]
}

for

“positions”: {}

thanks, this worked for me.

hitallow avatar Mar 27 '20 14:03 hitallow

Hi

I will try to help you with that

Is the project alive or dead?

@alabotski is alive 😄

another issue was created with some solutions, you already tried to do that:

https://github.com/cerebroapp/cerebro/issues/486#issuecomment-542516312

https://github.com/cerebroapp/cerebro/issues/486#issuecomment-492564242

https://github.com/cerebroapp/cerebro/issues/467#issue-329289836

#467 #486

ogustavo-pereira avatar Feb 18 '21 10:02 ogustavo-pereira

This is an error related to tracking functionality. It was removed in v0.7.0 so we are closing this.

dubisdev avatar Sep 15 '22 21:09 dubisdev