cerebro icon indicating copy to clipboard operation
cerebro copied to clipboard

Ubuntu 22.04 LTS error

Open shangweikun opened this issue 2 years ago • 14 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
  • Ubuntu 22.04 LTS:
  • 0.5.0:
  • I do not know how to find it (See above how to open it):

Issue

I can not open the soft, and when I open it will be crashed

shangweikun avatar Jul 22 '22 01:07 shangweikun

Hi @shangweikun

Yesterday we published v0.6.0. Although we haven't released the executables yet, you can try it out by following the installation instructions.

Let us know if the error persists in this new version.

Thank you 🙌

dubisdev avatar Jul 22 '22 10:07 dubisdev

Error persists, building on ubuntu 22.04 cerebro does not show anything... this also applies to ubuntu latest based distros (mint is one of them), This happens due to ubuntu shipping with wayland from now, is this error happening on electron side or on cerebro side? This is the question. Read more: https://www.phoronix.com/news/Ubuntu-2021-Success

glmagicworks avatar Aug 17 '22 22:08 glmagicworks

Thanks for your response.

Wayland should be supported by electron > 12

Cerebro v0.6.0 is using electron 19 so wayland shouldn't be a problem. Could you provide us any logs, like what does the console print when running yarn dev?

Edited: Just checked #573 and Cerebro seems to be working in Ubuntu 22, so this might not be related to wayland.

dubisdev avatar Aug 17 '22 22:08 dubisdev

image Node.js v16.17.0, Npm 8.15.0 The long log of yarn dev https://asciinema.org/a/rXvvLw9UdTtyi747AmSjYefBR It's kinda weird since on yarn dev there is no errors, and it shows the cerebro glitched state, but when built it just dont show anything...

glmagicworks avatar Aug 17 '22 22:08 glmagicworks

Yes it's weird. Does the application icon appear in the notification area when you execute the command?

dubisdev avatar Aug 17 '22 23:08 dubisdev

Yes it's weird. Does the application icon appear in the notification area when you execute the command?

yees!

glmagicworks avatar Aug 17 '22 23:08 glmagicworks

I will try to debug here too...

glmagicworks avatar Aug 17 '22 23:08 glmagicworks

Try to open the dev tools by clicking the icon and selecting development > open development tools (main and background)

Just to see if there are any logs.

BTW, ctrl + space does not show nothing?

dubisdev avatar Aug 17 '22 23:08 dubisdev

Soooooooo problem solved... And here how reproduce our sincere exception...

  1. First clone the repo
  2. Then Install packages yarn will do the trick
  3. Run yarn dev lmao
  4. didn't like what u saw? stop the command, run yarn build and voilá! the ui is back...

I've also built an package .deb and installed from it, hope the people with bugs love it, as it's not bug anymore for me... :smile: :star: :turtle: :rocket: :star2: I can upload to the repo the .deb and Image sir, jus give me perm :smile:

glmagicworks avatar Aug 17 '22 23:08 glmagicworks

just one more question, no matter what word I write, there is no debounce? is it intentionally? I mean he computes every word I type and not sentences or groups of words like "be" "me" "there" without an delay, maybe it can be an performance leak, don't you agree?

glmagicworks avatar Aug 17 '22 23:08 glmagicworks

Cerebro failing to load the theme is a known issue. The error comes from the config file storing an old reference when switching between development and production. But this usually affects only to developers when testing, as end users normally download and install the package.

We are working on the CI so we can automatically publish the packages for different platforms.

For now, we would recommend users to build it's own package, as getting one from other source could be dangerous. Don't get me wrong, I could also upload the executable for Windows directly here, but it's much safer to generate your own until we configure the automatic releases.

dubisdev avatar Aug 17 '22 23:08 dubisdev

And yes! For now Cerebro is not using any debounce. Some plugins individually implement it, but not the core app.

dubisdev avatar Aug 17 '22 23:08 dubisdev

Glad to see the app works!

@shangweikun does all this solve your problem?

Thank you 🙌

dubisdev avatar Aug 17 '22 23:08 dubisdev

So I have created a fork with builds for linux, .deb and AppImage, I've also added md5, if anyone need to check the files integrity, hope it helps! @dubisdev can u also share it with everyone in the another issues or in the readme? Thanks! https://github.com/gabriellacerda/cerebro-linux/releases/tag/v0.6.0

glmagicworks avatar Aug 18 '22 00:08 glmagicworks

Thanks.

shangweikun avatar Dec 14 '22 05:12 shangweikun