cerebro icon indicating copy to clipboard operation
cerebro copied to clipboard

App search is not working [Lubuntu 16.04]

Open vadimstrukov opened this issue 8 years ago • 9 comments

Just installed latest version through AppImage, but cerebro is not searching my applications image

vadimstrukov avatar Feb 21 '17 20:02 vadimstrukov

Same on Ubuntu 16.10. Installed Cerebro via deb.

kion avatar Feb 22 '17 05:02 kion

same on ubuntu 16.10. Installed Cerebro via .AppImage

rafa-acioly avatar Feb 22 '17 13:02 rafa-acioly

I am running it on Ubuntu Gnome 16.04 (running using npm run package; didn't figure out how to install) and things are working including app search.

elmerehbi avatar Feb 22 '17 17:02 elmerehbi

Can you please do the following:

  1. Open settings
  2. Turn on developer mode, show icon in tray
  3. From tray icon choose development -> DevTools (background)
  4. From tray icon choose development -> reload
  5. And after that send me output of console tab of devtools?

/cc @vadimstrukov @kion @rafa-acioly

KELiON avatar Feb 23 '17 11:02 KELiON

image

Interesting.. After i deleted .desktop entry of Fallout2 with bad encoding, everything seems to be working fine and without any errors in console.

image

vadimstrukov avatar Feb 23 '17 11:02 vadimstrukov

Confirmed. I had same exact issue caused by .desktop file name encoding. Removing .desktop file fixed the issue for me, but, obviously, it's just a workaround and issue needs a fix.

kion avatar Mar 01 '17 05:03 kion

@vadimstrukov @kion can you paste the real name of broken file (with correct encoding)?

KELiON avatar Mar 13 '17 10:03 KELiON

Similar situation, slightly different reason - permissions issue:

Uncaught (in promise) Error: EACCES: permission denied, open '/usr/share/applications/jetbrains-idea.desktop'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.readFileSync (fs.js:508:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:506:29)
    at parseDesktopFile (file:///opt/Cerebro/resources/app.asar/dist/background.bundle.js:14415:33)

Thinking this sort of thing should be caught, logged to console, and then the application should just be ignored, so as to not break anything else?

markmandel avatar Mar 16 '17 16:03 markmandel

@KELiON .desktop entry has russian word 'Запуск' or something like that, but with bad wine encoding. I am agree actually with @markmandel, that kind of errors shouldn't break the whole application

vadimstrukov avatar Mar 16 '17 19:03 vadimstrukov