Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2023, 10:09 AM   #1
JiangHuDao
Junior Member
JiangHuDao began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: none
Error:PyQt6.QtWebEngineCore

Calibre don't can opens epub files(maybe and other all).
_______
Arch linux
_______

I 'm use "sudo pacman calibre"to setup calibre,but when i import my book(.epub) and open read it. Nothing happened.
So i go to see the log:

Failed to import PyQt module: PyQt6.QtWebEngineCore with error: /usr/lib/libQt6WebChannel.so.6: undefined symbol: qt_resourceFeatureZstd, version Qt_6
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 21, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 215, in main
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/gui_launch.py", line 102, in wrapper
return func(*a, **kw)
^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/gui_launch.py", line 117, in ebook_viewer
from calibre.gui2.viewer.main import main
File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 15, in <module>
from calibre.gui2.viewer.ui import EbookViewer, is_float
File "/usr/lib/calibre/calibre/gui2/viewer/ui.py", line 29, in <module>
from calibre.gui2.viewer.annotations import (
File "/usr/lib/calibre/calibre/gui2/viewer/annotations.py", line 13, in <module>
from calibre.gui2.viewer.web_view import viewer_config_dir
File "/usr/lib/calibre/calibre/gui2/viewer/web_view.py", line 12, in <module>
from qt.webengine import (
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/usr/lib/calibre/qt/webengine.py)

It seem's that because the PyQt6.QtWebEngineCore
___________________________
some tip:
https://forum.artixlinux.org/index.p...next,next.html
There is the following paragraph:
The Calibre issues is because various pyqt6 packages were rebuilt against the new qt6 in staging but not in the world repos. I just corrected that so it should work again on the next update. I do not know about foliate however.

This link seems to indicate that this has already happened, but how it was resolved was not clear to me at the time.
Hope someone can help me, I can't wait to read already.Thanks.
JiangHuDao is offline   Reply With Quote
Old 07-19-2023, 10:32 AM   #2
JiangHuDao
Junior Member
JiangHuDao began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: none
Has been resolved

Thanks to friends in the Arch linux community.
It.s because i use pip when i write my python object(I don't use venv).
when i delete ~/.local/lib/python3.11,can run normally.
Have a good day!
JiangHuDao is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device elfed Devices 4 07-21-2017 05:33 AM
Aura ERROR: Error: Error communicating with device Calibrefan Kobo Reader 2 07-02-2015 02:14 PM
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ERROR: Error: Error communicating with device JWood Calibre 10 04-20-2010 07:28 PM


All times are GMT -4. The time now is 05:49 PM.


MobileRead.com is a privately owned, operated and funded community.