Vorta hangs indefinitely after trying to select source files or folder to backup #884
-
Describe the bug To Reproduce
Environment 1:
Environment 2 (exact same issue on another environement):
Additional context Edit export QT_DEBUG_PLUGINS=1
borg-env/bin/vorta QFactoryLoader::QFactoryLoader() checking directory path "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"webgl"
]
},
"archreq": 0,
"className": "QWebGLIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so"
Found metadata in lib /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/username/borg-env/bin/platforms" ...
Cannot load library /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/username/borg-env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
zsh: abort borg-env/bin/vorta |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
If Flatpak doesn't work and doesn't get support, it would be better to remove it for now. What do you think, @Hofer-Julian ? Better than having those bad reviews. |
Beta Was this translation helpful? Give feedback.
-
Hello @m3nu, note that I have had issues running Vorta directly when installed via pip as well (see my edit). |
Beta Was this translation helpful? Give feedback.
-
Your bug report is about Gnome. The comments both mention KDE. I have Debian Unstable and Kubuntu 20.04 here as VMs using KDE and Fedora using Gnome. I don't get the mentioned issue on any of those VMs. (Pip install) So what do you suggest as next steps to reproduce and address the issue? I'm a bit at a loss here. |
Beta Was this translation helpful? Give feedback.
-
I do not know. As explained, I first installed Vorta via flatpak, I had the freeze issue (both on Debian and Ubuntu in the versions mentioned above). I removed this flatpak version and tried to install it via pip, it ended up throwing the errors above and never started. It might be related to my python illiteracy and/or the quite obscure installation instructions for a non-pythonist. I have tried (re)installing the missing/related libs but it din't help: apt-get install python3 python3-dev python3-pip python-virtualenv libssl-dev openssl libacl1-dev libacl1 build-essential libfuse-dev fuse pkg-config
apt-get install --reinstall libxcb-xinerama0
apt-get install --reinstall libxcb-util0
apt-get install --reinstall libqxcb
apt-get install --reinstall xcb cd
virtualenv --python=python3 borg-env
source borg-env/bin/activate
pip install -U pip setuptools wheel
pip install borgbackup
pip install vorta I am happy to help you debug this, just let me know how. |
Beta Was this translation helpful? Give feedback.
-
Issue with Qt packaging? Long discussion here: https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/68 Usually you don't even need Qt installed. Just installing the |
Beta Was this translation helpful? Give feedback.
-
This could also point to an issue with the desktop env. |
Beta Was this translation helpful? Give feedback.
-
After further digging, this is the related ticket on QT's bug tracker. Even though the flatpak package does have (possibly unrelated) issues itself, it looks like there is an independent issue preventing Vorta from working on Debian even when installed from pip (you didn't have the issue because you used unstable that does have the missing library). This workaround did the trick for me on Debian buster (but it may have undesired side effects as it creates a symlink from one version to another):
|
Beta Was this translation helpful? Give feedback.
-
Nice find. That Qt bug does sound like the issue you are describing. I'm testing on Kubuntu 20.04, Fedora 33 and Debian unstable right now. I'll move this issue to "Discussions" for now, since it's more of a packaging issue. @Hofer-Julian, any way to test for the potential Flatpak file selection issue? Or related to the Qt issue? |
Beta Was this translation helpful? Give feedback.
After further digging, this is the related ticket on QT's bug tracker.
Even though the flatpak package does have (possibly unrelated) issues itself, it looks like there is an independent issue preventing Vorta from working on Debian even when installed from pip (you didn't have the issue because you used unstable that does have the missing library).
This workaround did the trick for me on Debian buster (but it may have undesired side effects as it creates a symlink from one version to another):