View Single Post
Old 07-17-2022, 05:49 PM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,191
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
See if calibre will start with plugins disabled, in a terminal type:

Code:
calibre --ignore-plugins
If it starts them go to preferences-plugins
then click Show only user installed plugin then disable DeDRM and Goodreads More Tags plugin's.

Then try to start calibre
bernie
Quote:
Originally Posted by lewisdale View Post
I attempted an install of calibre 6 on a raspberry pi 4 2GB of ram. If failed. I ran a debu and it seems to not like many of my plugins that were installed with the previous 5.12.0 version through apt. The output of the debug script is below.
Spoiler:

calibre-debug -g
calibre 6.1 embedded-python: True
Linux-5.15.32-v8+-aarch64-with-glibc2.31 Linux ('64bit', 'ELF')
('Linux', '5.15.32-v8+', '#1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022')
Python 3.10.1
Interface language: None
Failed to import PyQt module: PyQt6.QtWidgets with error: libOpenGL.so.0: cannot open shared object file: No such file or directory
Failed to initialize plugin: '/home/pi/.config/calibre/plugins/DeDRM.zip'
Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugins
File "calibre/customize/ui.py", line 64, in load_plugin
File "calibre/customize/zipplugin.py", line 304, in load
File "importlib/__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "calibre/customize/zipplugin.py", line 203, in exec_module
File "calibre_plugins.dedrm.__init__", line 103, in <module>
from calibre.gui2 import is_ok_to_use_qt
File "bypy-importer.py", line 279, in exec_module
File "calibre/gui2/__init__.py", line 13, in <module>
ImportError: cannot import name 'QApplication' from 'qt.core' (/usr/lib/calibre/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)
Failed to initialize plugin: '/home/pi/.config/calibre/plugins/Goodreads More Tags.zip'
Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugins
File "calibre/customize/ui.py", line 64, in load_plugin
File "calibre/customize/zipplugin.py", line 304, in load
File "importlib/__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "calibre/customize/zipplugin.py", line 203, in exec_module
File "calibre_plugins.goodreads_more_tags.__init__" , line 12, in <module>
from .config import plugin_prefs, KEY_INTEGRATION_ENABLED, KEY_INTEGRATION_TIMEOUT
File "calibre/customize/zipplugin.py", line 203, in exec_module
File "calibre_plugins.goodreads_more_tags.config", line 7, in <module>
from calibre.gui2 import get_current_db, question_dialog
File "bypy-importer.py", line 279, in exec_module
File "calibre/gui2/__init__.py", line 13, in <module>
ImportError: cannot import name 'QApplication' from 'qt.core' (/usr/lib/calibre/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)
Successfully initialized third party plugins: Calibre Power Search Plugin (2, 1, 2) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 45, in <module>
File "site.py", line 41, in main
File "calibre/debug.py", line 226, in main
File "calibre/gui_launch.py", line 72, in calibre
File "bypy-importer.py", line 279, in exec_module
File "calibre/gui2/__init__.py", line 13, in <module>
ImportError: cannot import name 'QApplication' from 'qt.core' (/usr/lib/calibre/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)


Any ideas what is going wrong here? I have checked the items shown on the Linux install page of the Calibre website and I seem to meet all requirements.
gbm is offline   Reply With Quote