albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.26k stars 305 forks source link

Could not load any frontend #1173

Closed gupta-piyush19 closed 1 year ago

gupta-piyush19 commented 1 year ago

Description

Getting error which running albert in Manjaro(xfce) , Could not load any frontend

Expected behavior

It should work by opening a dialog box

Steps to reproduce

while running albert

Source

installed manually from the repository followed this (https://software.opensuse.org/download.html?project=home:manuelschneid3r&package=albert)

Debug output

``` Output of `albert -d` when run in a terminal Albert version: 0.18.13 Build date: Jan 14 2023 10:14:06 Qt version: 6.4.1 Build ABI: x86_64-little_endian-lp64 Arch (build/current): x86_64/x86_64 Kernel (type/version): linux/6.1.1-1-MANJARO OS: Manjaro Linux OS (type/version): manjaro/unknown $QT_QPA_PLATFORMTHEME: qt5ct Platform name: xcb Binary location: /usr/bin/albert $PWD: /home/piyush $SHELL: /usr/bin/fish $LANG: en_IN.utf8 Language: English Locale: en_IN $XDG_SESSION_TYPE: x11 $XDG_CURRENT_DESKTOP: XFCE $DESKTOP_SESSION: xfce $XDG_SESSION_DESKTOP: xfce Icon theme: Papirus-Maia 00:37:44 [warn:albert] Application has not been terminated graciously 00:37:44 [debg:albert] Checking for a running instance… 00:37:44 [debg:albert] Creating local socket /home/piyush/.cache/albert_socket 00:37:44 [debg:albert] Initializing database… 00:37:44 [debg:albert] UsageHistory::mruScores 51 µs 00:37:44 [debg:albert] Searching native plugins in /home/piyush/albert 00:37:44 [debg:albert] Not an albert plugin /home/piyush/albert/README.md 00:37:44 [debg:albert] Not an albert plugin /home/piyush/albert/metatool.py 00:37:44 [debg:albert] Not an albert plugin /home/piyush/albert/CHANGELOG.md 00:37:44 [debg:albert] Not an albert plugin /home/piyush/albert/CMakeLists.txt 00:37:44 [debg:albert] Searching native plugins in /usr/lib/albert 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libwidgetsboxmodel.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libwebsearch.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libhash.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libpython.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libssh.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libcalculator.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libsnippets.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libchromium.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libterminal.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/liburlhandler.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libfiles.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libsystem.so 00:37:44 [debg:albert] Found valid native plugin /usr/lib/albert/libapplications.so 00:37:44 [info:albert] Hotkey set to Ctrl+Space 00:37:44 [debg:albert] Loading frontend plugin… 00:37:44 [debg:albert] Cannot load library /usr/lib/albert/libwidgetsboxmodel.so: (libQt6StateMachine.so.6: cannot open shared object file: No such file or directory) 00:37:44 [warn:albert] Loading configured frontend failed. Try any other. 00:37:44 [debg:albert] Cannot load library /usr/lib/albert/libwidgetsboxmodel.so: (libQt6StateMachine.so.6: cannot open shared object file: No such file or directory) 00:37:44 [fatal:default] Could not load any frontend. -- [(null)] QHotkeyPrivate destroyed with registered shortcuts! fish: Job 1, 'albert -d' terminated by signal SIGSEGV (Address boundary error) ```
ManuelSchneid3r commented 1 year ago

Please post pacman - Qi albert

ManuelSchneid3r commented 1 year ago

Update, I changed the dependencies. Let me know if you have troubles

joserebelo commented 1 year ago

@ManuelSchneid3r I'm running into a similar (but slightly different) issue, not sure if related. Running albert -d:

❯ albert -d
        Albert version: 0.19.4
            Build date: Jan 24 2023 21:20:13
            Qt version: 6.5.0
             Build ABI: x86_64-little_endian-lp64
  Arch (build/current): x86_64/x86_64
 Kernel (type/version): linux/6.1.7-arch1-1
                    OS: Arch Linux
     OS (type/version): arch/unknown
 $QT_QPA_PLATFORMTHEME:
         Platform name: wayland-egl
       Binary location: /usr/bin/albert
                  $PWD: /home/jose/.cache/paru/clone
                $SHELL: /bin/zsh
                 $LANG: en_US.UTF-8
              Language: English
                Locale: en_US
     $XDG_SESSION_TYPE: wayland
  $XDG_CURRENT_DESKTOP: KDE
      $DESKTOP_SESSION:
  $XDG_SESSION_DESKTOP:
            Icon theme: Papirus
21:21:34 [crit:albert] Application has not been terminated graciously
21:21:34 [debg:albert] Checking for a running instance…
21:21:34 [debg:albert] Creating local socket /home/jose/.cache/albert_socket
21:21:34 [debg:albert] Initializing database…
21:21:34 [debg:albert] UsageHistory::mruScores     34 µs
21:21:34 [debg:albert] Searching native plugins in /home/jose/.cache/paru/clone/albert
21:21:34 [debg:albert] Not an albert plugin /home/jose/.cache/paru/clone/albert/PKGBUILD
21:21:34 [debg:albert] Not an albert plugin /home/jose/.cache/paru/clone/albert/albert-0.19.4-2-x86_64.pkg.tar.zst
21:21:34 [debg:albert] Searching native plugins in /usr/lib/albert
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libapplications.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libcalculator_muparser.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libcalculator_qalculate.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libchromium.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libdatetime.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libfiles.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libhash.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libpython.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libsnippets.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libssh.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libsystem.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libterminal.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/liburlhandler.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libwebsearch.so
21:21:34 [debg:albert] Found valid native plugin /usr/lib/albert/libwidgetsboxmodel.so
21:21:34 [debg:albert] Loading frontend plugin…
21:21:34 [debg:albert] Cannot load library /usr/lib/albert/libwidgetsboxmodel.so: (/usr/lib/libQt6StateMachine.so.6: undefined symbol: _ZN11QBasicMutex15destroyInternalEP13QMutexPrivate, version Qt_6_PRIVATE_API)
21:21:34 [warn:albert] Loading configured frontend failed. Try any other.
21:21:34 [debg:albert] Cannot load library /usr/lib/albert/libwidgetsboxmodel.so: (/usr/lib/libQt6StateMachine.so.6: undefined symbol: _ZN11QBasicMutex15destroyInternalEP13QMutexPrivate, version Qt_6_PRIVATE_API)
21:21:34 [fatal:default] Could not load any frontend.  --  [(null)]

Output of pacman -Qi albert:

Name            : albert
Version         : 0.19.4-2
Description     : A sophisticated standalone keyboard launcher
Architecture    : x86_64
URL             : https://github.com/albertlauncher
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : hicolor-icon-theme  qt6-scxml  qt6-svg
Optional Deps   : libqalculate: calculator plugin [installed]
                  muparser: another calculator plugin [installed]
                  python: python extension [installed]
                  python-urllib3: python web plugins [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.54 MiB
Packager        : Unknown Packager
Build Date      : Tue 24 Jan 2023 09:20:13 PM WET
Install Date    : Tue 24 Jan 2023 09:21:27 PM WET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Please let me know if you need any further information / I should open a new issue.

joserebelo commented 1 year ago

Actually, this might be an issue with qt6-base, since I'm on kde-unstable: https://bugs.archlinux.org/task/76913

ManuelSchneid3r commented 1 year ago

Cannot load library /usr/lib/albert/libwidgetsboxmodel.so: (/usr/lib/libQt6StateMachine.so.6: undefined symbol: _ZN11QBasicMutex15destroyInternalEP13QMutexPrivate, version Qt_6_PRIVATE_API).

Actually, this might be an issue with qt6-base, since I'm on kde-unstable: https://bugs.archlinux.org/task/76913

probably yes

joserebelo commented 1 year ago

Yup, that's my bad. I was too focused on searching on albert issues, and completely forgot that I was on the unstable repositories.

ManuelSchneid3r commented 1 year ago

Np

Am 24.01.2023 um 22:51 schrieb José Rebelo @.***>:

Yup, that's my bad. I was too focused on searching on albert issues, and completely forgot that I was on the unstable repositories.

— Reply to this email directly, view it on GitHub https://github.com/albertlauncher/albert/issues/1173#issuecomment-1402737804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY2AW5467BXAZVTWLIP7B3WUBFE3ANCNFSM6AAAAAAT4AYWSE. You are receiving this because you were mentioned.