cerebro icon indicating copy to clipboard operation
cerebro copied to clipboard

Cerebro crashes after update to 0.3.2.

Open scmanjarrez opened this issue 7 years ago • 31 comments

  • [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 16.04
  • Cerebro.app version: 0.3.2
  • Relevant information from devtools

I have cerebro in start up applications, so these box came up after log in.

screenshot from 2017-12-08 03-44-48

screenshot from 2017-12-08 03-45-37

Starting from command line throws this error:

/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. (/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)

Issue

Cerebro crashes on start. I have reinstalled 2 times without success.

scmanjarrez avatar Dec 08 '17 02:12 scmanjarrez

Hello, the current release version is broken for some. See https://github.com/KELiON/cerebro/issues/423. It was fixed here, but somehow managed to get into the release.

In other words, if you're feeling adventurous you should be able to compile from source. If not, please install an older version (and don't update until this is fixed) or wait until the next (re)release. I'm guessing that shouldn't take too long. 1.3.1 should work fine. See https://github.com/KELiON/cerebro/releases for older versions

From what I've gathered so far, the binary release of 1.3.2 only works for OSX.

lawgsy avatar Dec 09 '17 08:12 lawgsy

The "easy fix" for me was to disable tracking in the config.json file (trackingEnabled: false) and remove the contents of the "positions" property (on MacOS to find here: ~/Library/Application Support/Cerebro). And nope ... im on OSX (sw_vers -productVersion = 10.11.6) and have the exact same Problem.

This error occured on my machine the first time as i booted my Macbook without my external Monitor plugged in. I think this line is the Problem (var screenName) since it looks like that in this positions property in the config JSON the screenNames are saved and not "retrieveable" anymore once a user unplugs a monitor. (didnt look deep into the code - this is just a suspicion)

https://github.com/KELiON/cerebro/blob/16c40246a1f950f0d549d98aa5c81c90e4944343/app/lib/trackEvent.js#L31

FreaKzero avatar Dec 10 '17 21:12 FreaKzero

Freakzero //

Can I know where that file(trackEvent.js) is? on Ubuntu 16.04

I'm noobie.

yusunglee2074 avatar Dec 14 '17 05:12 yusunglee2074

same for me donwgraded for previous version win10

evrohachik avatar Dec 14 '17 07:12 evrohachik

@yusunglee2074 The config on linux should be there (as described in the README of Cerebro) $XDG_CONFIG_HOME/Cerebro/config.json or ~/.config/Cerebro/config.json

And there set trackingEnabled to false and remove every in the positions property (like this:positions: {})

or downgrade until this bug is fixed

FreaKzero avatar Dec 18 '17 14:12 FreaKzero

@FreaKzero thank you very much. Now I'm in Cerebro. It awesome.

yusunglee2074 avatar Dec 19 '17 06:12 yusunglee2074

Just for completion, on Windows the path would be %appdata%\Cerebro\config.json

lawgsy avatar Dec 21 '17 14:12 lawgsy

Same Issue.

s0kil avatar Jan 03 '18 17:01 s0kil

@KELiON Currently your master branch is broken for at least one month. This extends to stable builds from your website, I get the same exceptions out of the box. You gonna fix this? https://github.com/KELiON/cerebro/issues/423 https://github.com/KELiON/cerebro/issues/434

Haarolean avatar Jan 04 '18 15:01 Haarolean

Similar issue, but now it doesn't even display that error and crashes.

clankur avatar Jan 05 '18 22:01 clankur

Same issue on Gnome Manjaro Linux going back to previous.

pocheche avatar Mar 23 '18 16:03 pocheche

Same issue on Ubuntu 17.10. Workaround with disable tracking works

raice avatar Apr 03 '18 08:04 raice

Same issue on MacOS

luisdavim avatar Apr 04 '18 08:04 luisdavim

As @FreaKzero mentioned setting trackingEnabled to false and emptying the positions object clears the issue.

luisdavim avatar Apr 04 '18 08:04 luisdavim

I can confirm that disabling the trackingEnabled and deleting the Cache and GPUCache fixes the issue.

petrkotas avatar Apr 07 '18 18:04 petrkotas

I can confirm that setting trackingEnabled: false in ~/.config/Cerebro/config.json fixes the issue in Ubuntu 18.04.

First impression of Cerebro is amazing ! Thank you @KELiON

ajithkumar-natarajan avatar Apr 28 '18 06:04 ajithkumar-natarajan

Confirming the trackingEnabled: false and positions: {} fix for OSX 10.13.4. Any word on a timeline? Looks like the code hasn't been touched since February. If it's a matter of manpower I'd be willing to help out, it's a nice app.

mybluevan avatar May 03 '18 07:05 mybluevan

Still experiencing this (windows 10). Cerebro is a great concept and I really want this to succeed, but it won't if it takes more than 6 months to fix a bug that prevents every single new user from using the latest version!

rogusdev avatar May 17 '18 10:05 rogusdev

Same here. I tried to compile (master and tags/v0.3.0), no luck. I even downgraded to 0.3.0 official build and it still throwing errors to me. Running in Ubuntu 18.04.

http403 avatar May 18 '18 14:05 http403

Successfully build an AppImage version from master branch and confirmed it run flawlessly. Cerebro v0.3.3+56c5ccb AppImage Download

EDIT: Download link won't work as the file expired.

http403 avatar May 18 '18 18:05 http403

@http403 AppImage is not available in the link you have provided.

ajithkumar-natarajan avatar Jun 03 '18 06:06 ajithkumar-natarajan

On macOS 10.14.1

Editing in ~/Library/Application\ Support/Cerebro/config.json value trackingEnabled: false fixed the issues.

karolis-sh avatar Dec 10 '18 10:12 karolis-sh

I'm using google translator.

Here I had this error in my Linux Mint 19.1, solve this problem by removing version 0.3.2, after removing version 0.3.2 I removed the brain folder that is in the home / .config. Then I installed version 0.3.0


Original text

Aqui tive esse erro no meu Linux Mint 19.1, resolve esse problema removendo a versão 0.3.2, depois de remover a versão 0.3.2 eu removi a pasta cerebro que fica na home/.config. Depois instalei a versão 0.3.

FabioAleluia avatar Jan 06 '19 14:01 FabioAleluia

I can confirm that setting trackingEnabled: false in ~/.config/Cerebro/config.json fixes the issue in SO Deepin 15.9

I love Cerebro is amazing ! Thank you @KELiON

alxrodriguez avatar Jan 24 '19 17:01 alxrodriguez

On Windows, the path for config.json was C:\Users\USERNAME\AppData\Roaming\Cerebro\config.json

phanirithvij avatar Jun 18 '19 05:06 phanirithvij

On macOS 10.14.1

Editing in ~/Library/Application\ Support/Cerebro/config.json value trackingEnabled: false fixed the issues.

it works

weijing24 avatar Aug 15 '19 06:08 weijing24

Editing ~/.config/Cerebero/config.json fixed in on Ubuntu 18.04. Note that it sometimes doesn't show the menu bar icon, so try to press ctrl+space to check it out.

moeabdol avatar Nov 26 '19 12:11 moeabdol

Works like charm in Ubuntu 19.10 just set trackingEnabled: false in ~/.config/Cerebro/config.json.

Kudos.

PankajPrakashh avatar Feb 29 '20 16:02 PankajPrakashh

Works like charm in Ubuntu 19.10 just set trackingEnabled: false in ~/.config/Cerebro/config.json.

Kudos.

I am using it on Ubuntu 19.10 too. What was the need for you to set that parameter? Also, none of the plugins I install are being recognized. Any solutions?

ajithkumar-natarajan avatar Mar 01 '20 16:03 ajithkumar-natarajan

Works like charm in Ubuntu 19.10 just set trackingEnabled: false in ~/.config/Cerebro/config.json. Kudos.

I am using it on Ubuntu 19.10 too. What was the need for you to set that parameter? Also, none of the plugins I install are being recognized. Any solutions?

On every login it was throwing errors.

PankajPrakashh avatar Mar 15 '20 11:03 PankajPrakashh