02-21-2021, 05:09 PM | #1 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Upgrade 4.23 to 5.11 on Mint 18.3: Error
I did this on Mint 20.1 and it was fine
Code:
Run "calibre" to start calibre quoth@Morag ~ $ calibre 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, xcb. Aborted I took screen shots of plugin and copy/pasted serial numbers. I used that for the upgrade on the 20.1 system. Tested with some original Amazon downloads. Then copied my existing library, switched libraries and everything is OK. So something missing on Mint 18.3, or is it an actual plugin is the problem? |
02-21-2021, 05:16 PM | #2 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
First hit on search
https://forum.qt.io/topic/111434/cou...m-plugin-xcb/3 @arsaa There are a lot of hits if you Google for: Could not load the Qt platform plugin "xcb". Start from e.g. https://forum.qt.io/topic/93247/qt-q...h-it-was-found, or others if they are more akin to your situation. So I ran the debug flag (My understanding is it's only active till I logout) Code:
quoth@Morag ~ $ export QT_DEBUG_PLUGINS=1 quoth@Morag ~ $ calibre QFactoryLoader::QFactoryLoader() checking directory path "/opt/calibre/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/opt/calibre/plugins/platforms/libqeglfs.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqlinuxfb.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqminimal.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqminimalegl.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqoffscreen.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqvnc.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqwayland-egl.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqwayland-generic.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqwayland-xcomposite-egl.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqwayland-xcomposite-glx.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/plugins/platforms/libqxcb.so" Found metadata in lib /opt/calibre/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 "/opt/calibre/bin/platforms" ... Cannot load library /opt/calibre/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/opt/calibre/plugins/platforms/libqxcb.so" : "Cannot load library /opt/calibre/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: 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, xcb. Aborted Cannot load library /opt/calibre/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory) |
02-21-2021, 05:31 PM | #3 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
The file DOES exist with execute flag.
|
02-21-2021, 05:36 PM | #4 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I deleted the files in /opt/calibre/plugins/platforms
Reinstalled Code:
QFactoryLoader::QFactoryLoader() checking directory path "/opt/calibre/bin/platforms" ... Cannot load library /opt/calibre/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/opt/calibre/plugins/platforms/libqxcb.so" : "Cannot load library /opt/calibre/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)" libxcb-xinerama.so.0 But it's not on the working Mint 20.1 either. The file lists on both SEEM the same. |
02-21-2021, 06:16 PM | #5 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Now trying version 5.7.2
Still same error So re-installing 5.11 I have other applications using python3 and QT5 and webkit. Baffled. |
02-21-2021, 06:48 PM | #6 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I need to upgrade to 19.3 or 20.1 by April anyway, so started 18.3 to 19.0 in place upgrade
You do this, https://www.tecmint.com/upgrade-to-linux-mint-19/ then 19.0 -> 19.3 and 19.3 to 20.1 (may need 20.0 first). After the 1st upgrade to 19.0 it's GUI based. Everything is backed up and also I have an older inferior laptop already with 20.1, Calibre 5.11 and all my data files, about 300 G Byte |
02-21-2021, 07:05 PM | #7 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
It's staggering slower than a fresh install, which I normally did for Windows from 1991 to 2016. But it means all the applications don't need re-installing. Not for slow internet as it might need 6 Gbytes.
I'm sure Calibre 5.11 will work afterwards. |
02-21-2021, 10:19 PM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to install a missing dependency, newer versions of Qt need more XCB libraries thn older versions. Its mentioned on the calibre linux download page. search for xcb
|
02-22-2021, 04:21 AM | #9 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Yes, I already figured out that it's missing libxcb-xinerama0, but since support is ending for Mint 18.3 at the end of March or April and I couldn't figure out what I needed to fix it (seems a common problem on the QT forums for years) and my test laptop with Mint 20.1 is OK, I decided to upgrade to 19.3 or 20.1
perhaps it's as simple as sudo apt-get install libxcb-xinerama0 on older versions of Mint, but I've been putting off upgrading anyway. |
02-22-2021, 05:22 AM | #10 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Code:
sudo apt-get install libxcb-xinerama0 Obviously on Mint 20.1 something installed that library. Some cryptic messages in the terminal window on 1st run, but Calibre is working. So seems to be a QT issue rather than Calibre, Linux Mint 18.4 or even having various other QT4 and QT5 programs installed. Even having the current QT development framework installed doesn't fix it. |
02-22-2021, 08:00 AM | #11 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Now updated to 19.0 (which was slow and removed viber. Messed the theme a bit, but fixed).
Calibre still works. Re-installed Viber, but it didn't reappear. May be a different location due to flatpack, and menus sometimes don't update till you logout & login. Update via GUI to 19.3 (the last 32 bit but I'm on 64 bit). Looks like painless / faster. Both 19.3 & 20.1 are good current choices |
02-22-2021, 08:26 AM | #12 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
The 19.3 GUI upgrade was quick and Calibre 5.11 still works.
|
02-22-2021, 05:01 PM | #13 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Conclusion:
Calibre 5.11 is OK on Linux Mint 20.1 without doing Code:
sudo apt-get install libxcb-xinerama0 The 19.0 is not a good version of Mint. The 20.0 is not a good version of Mint. Mint 19.3 is good and fast and supported for a reasonable time, it's 32 bit and 64 bit versions. It may or may not need libxcb-xinerama0 installed. Mint 20.1 is good and 64 bit only. So Calibre 5.11 with Apprentice DeDRM 7.1.0 is fine on Linux Mint 18.3, 19.3 and 20.1 with the Mate Desktop. I don't recommend 19.0 or 20.0. Only Kindle books for PW3 via PC download tested. |
02-27-2021, 01:23 PM | #14 |
Addict
Posts: 295
Karma: 4504466
Join Date: Apr 2019
Device: Kobo Sage, Kobo Clara HD, Galaxy Tab S5e, Kindle 4th Gen
|
Have you thought about switching to the flatpak version? Might avoid this dependency hell problem you're in w/ Mint repos.
|
02-27-2021, 02:27 PM | #15 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
There is NO problem.*
Installing a distro version is madness. Flatpak more so. Only install Viber and Calibre from the main downloads, not Distro packages or Git. * Options were explained 1) Installing the extra bits. It's a QT problem, not a Calibre issue. That works. 2) Mint 18.3 support expires April 2021, ANYWAY. Mint 19.3 (32bit and 64 bit) or Mint 20.1 (64 bit only) are the better solutions. If there is the error on any particular Debian based Linux (inc Ubuntu and Mint), it will happen with other applications using QT. Apply Code:
sudo apt-get install libxcb-xinerama0 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Upgrade Error | cendrillon | Kindle Developer's Corner | 4 | 09-05-2019 11:59 AM |
Error After Upgrade | SchneeBaer | Calibre | 3 | 11-19-2012 09:49 AM |
Tablet Upgrade Error | Marmite | Kobo Tablets | 8 | 06-30-2012 04:27 AM |
Firmware Update upgrade to 3.1 got error: | fgcmaster | Amazon Kindle | 1 | 03-26-2012 09:54 AM |
bad database error in linux mint 10 after reinstall | gbowlds | Calibre | 2 | 10-14-2011 12:57 AM |