Not able to open anki after re-install

Hello everybody,

I hope someone can help me!

to get the newest version of anki I removed anki and installed it again (how described in the anki manual) on linux ubuntu

When I push the anki symbol to open the programm: nothing happens

When I try to start the programm in the terminal, the follow text appears:

morphopos@GOLEMXIV:~$ anki
Anki starting…
Initial setup…
Preparing to run…
Wayland support is disabled by default due to bugs:

You can force it on with an env var: ANKI_WAYLAND=1
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Qt info: Could not load the Qt platform plugin “xcb” in “” even though it was found.
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimalegl, linuxfb, eglfs, minimal, vkkhrdisplay, wayland-egl, offscreen, wayland, xcb, vnc.

Abgebrochen (Speicherabzug geschrieben)

P.S.: when I try to reinstall and install again, the problem is still there. I’m not able to open Anki anymore

Does this answer your question? Missing Libraries - Anki Manual . If not, you should look at the rest of the Linux Platform Notes section.

Unfortunately no. I have tried it out to use the suggested terminal textes, but nothing helps. When I use QT_DEBUG_PLUGINS=1 anki

this appears:

QT_DEBUG_PLUGINS=1 anki
Anki starting…
Initial setup…
Preparing to run…
Wayland support is disabled by default due to bugs:

You can force it on with an env var: ANKI_WAYLAND=1
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Qt debug: checking directory path “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms” …
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimalegl.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimalegl.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“minimalegl”
]
},
“archlevel”: 1,
“className”: “QMinimalEglIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“minimalegl”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“linuxfb”
]
},
“archlevel”: 1,
“className”: “QLinuxFbIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“linuxfb”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqeglfs.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqeglfs.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“eglfs”
]
},
“archlevel”: 1,
“className”: “QEglFSIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“eglfs”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimal.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimal.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“minimal”
]
},
“archlevel”: 1,
“className”: “QMinimalIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“minimal”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“vkkhrdisplay”
]
},
“archlevel”: 1,
“className”: “QVkKhrDisplayIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“vkkhrdisplay”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“wayland-egl”
]
},
“archlevel”: 1,
“className”: “QWaylandEglPlatformIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“wayland-egl”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqoffscreen.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqoffscreen.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“offscreen”
]
},
“archlevel”: 1,
“className”: “QOffscreenIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“offscreen”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“wayland”
]
},
“archlevel”: 1,
“className”: “QWaylandIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“wayland”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“xcb”
]
},
“archlevel”: 1,
“className”: “QXcbIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“xcb”)
Qt debug: looking at “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvnc.so”
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvnc.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“vnc”
]
},
“archlevel”: 1,
“className”: “QVncIntegrationPlugin”,
“debug”: false,
“version”: 394752
}

Qt debug: Got keys from plugin meta data QList(“vnc”)
Qt debug: checking directory path “/usr/local/share/anki/platforms” …
Qt debug: “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so” cannot load: Cannot load library /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)
Qt debug: QLibraryPrivate::loadPlugin failed on “/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so” : “Cannot load library /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)”
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Qt info: Could not load the Qt platform plugin “xcb” in “” even though it was found.
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimalegl, linuxfb, eglfs, minimal, vkkhrdisplay, wayland-egl, offscreen, wayland, xcb, vnc.

Abgebrochen (Speicherabzug geschrieben)

Can nobody help me? :cry:

Ok, I was able to solve the problem with installing libxcb-cursor0 with the following commands:

sudo apt-get update
sudo apt-get -y install libxcb-cursor0
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.