Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2022, 02:36 PM   #1
TornSoul
Junior Member
TornSoul began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2022
Device: none
Viewer (suddenly) not working with epub

Calibre no longer opens epub files.
Double-clicking file in calibre and nothing happens (no error message or anything)

pdf works fine (opens in browser so..)

---
Win 10
Nvidia 1070ti
---
Updated to latest nvidia drivers (516.94)
To be sure I've manually associated ebook-viewer.exe with .epub
Updated to latest calibre 6.2.1 (64 bit)
---

calibre-debug -w gives me the following


Failed to import PyQt module: PyQt6.QtWebEngineCore with error: DLL load failed while importing QtWebEngineCore: The specified module could not be found.
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 231, in main
File "calibre\gui_launch.py", line 80, in ebook_viewer
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\main.py", line 15, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\ui.py", line 29, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\annotations.py", line 13, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\web_view.py", line 14, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\webengine.pyc)

Last edited by TornSoul; 08-11-2022 at 02:41 PM.
TornSoul is offline   Reply With Quote
Old 08-11-2022, 04:00 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 21,558
Karma: 101741604
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I would suggest uninstalling calibre and deleting the calibre2 directory from C:\Program Files and then re-installing calibre. This should not affect your installation since the preferences and library/libraries are stored elsewhere.

That error suggests your installation is damaged hence the suggestion.
DNSB is offline   Reply With Quote
Advert
Old 08-11-2022, 04:13 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 67,820
Karma: 110058283
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
I would suggest uninstalling calibre and deleting the calibre2 directory from C:\Program Files and then re-installing calibre. This should not affect your installation since the preferences and library/libraries are stored elsewhere.

That error suggests your installation is damaged hence the suggestion.
Before going the route of deleting and then installing, I suggest trying an install again. That brings up the option for a repair install. Try that.
JSWolf is offline   Reply With Quote
Old 08-13-2022, 01:09 PM   #4
TornSoul
Junior Member
TornSoul began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2022
Device: none
Tried a repair install - No change, epub still doesn't work

--
Uninstalled (through windows - which deleted the Calibre2 folder completely)
(re)Installed (all books still there)

No change, epub still doesn't work

Still getting the exact same error with calibre-debug -w

Failed to import PyQt module: PyQt6.QtWebEngineCore with error: DLL load failed while importing QtWebEngineCore: The specified module could not be found.
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 231, in main
File "calibre\gui_launch.py", line 80, in ebook_viewer
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\main.py", line 15, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\ui.py", line 29, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\annotations.py", line 13, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\web_view.py", line 14, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\webengine.pyc)
TornSoul is offline   Reply With Quote
Old 08-13-2022, 01:41 PM   #5
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: 1,950
Karma: 8500000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Windows does a poor job of graphs driver housekeeping, you need to do this just too make sure it is not a bad driver install.

How to perform a CLEAN install of your video card drivers.

Quote:
A major issue on many systems is the presence of multiple graphics card drivers or drivers that have been incompletely uninstalled followed by the installation of newer drivers that can result in rogue registry entries and other issues. Many users upgrading from older cards or integrated graphics that use older driver versions by the same OEM, meaning Nvidia or AMD based, often assume it will be a bang, bang process. Sometimes it is if they've kept up with keeping the drivers current but more often it is not.
bernie

Quote:
Originally Posted by TornSoul View Post
Tried a repair install - No change, epub still doesn't work

--
Uninstalled (through windows - which deleted the Calibre2 folder completely)
(re)Installed (all books still there)

No change, epub still doesn't work

Still getting the exact same error with calibre-debug -w

Failed to import PyQt module: PyQt6.QtWebEngineCore with error: DLL load failed while importing QtWebEngineCore: The specified module could not be found.
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 231, in main
File "calibre\gui_launch.py", line 80, in ebook_viewer
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\main.py", line 15, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\ui.py", line 29, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\annotations.py", line 13, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\web_view.py", line 14, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\webengine.pyc)
gbm is offline   Reply With Quote
Advert
Old 08-14-2022, 12:26 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 41,487
Karma: 18507556
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates either a corrupted installation or a missing dll. Try excluding the calibre installation folder from your antivirus then run a repair of the installation.
kovidgoyal is offline   Reply With Quote
Old 08-14-2022, 12:02 PM   #7
TornSoul
Junior Member
TornSoul began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2022
Device: none
Added c:\Program Files\Calibre2\ to Exclusion in Windows defender

Downloaded Calibre 6.3.0 (new version)
Did the install - Still no epub functionality

Did a repair install (just because...) - Still no epub functionality

Unchanged error message with calibre-debug -w:

Failed to import PyQt module: PyQt6.QtWebEngineCore with error: DLL load failed while importing QtWebEngineCore: The specified module could not be found.
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 231, in main
File "calibre\gui_launch.py", line 80, in ebook_viewer
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\main.py", line 15, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\ui.py", line 29, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\annotations.py", line 13, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre\gui2\viewer\web_view.py", line 14, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\webengine.pyc)
TornSoul is offline   Reply With Quote
Old 08-14-2022, 12:09 PM   #8
TornSoul
Junior Member
TornSoul began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2022
Device: none


Correct files seems to be present
TornSoul is offline   Reply With Quote
Old 08-14-2022, 07:12 PM   #9
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 18,493
Karma: 20606859
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Long shot - what is the .epub default program in Windows Settings

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-08-15 090945.jpg
Views:	319
Size:	120.4 KB
ID:	195861  
BetterRed is offline   Reply With Quote
Old 08-14-2022, 09:52 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 41,487
Karma: 18507556
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run this and post the output

calibre-debug -c "from PyQt6.QtWebEngineCore import QWebEnginePage; print(QWebEnginePage)"
kovidgoyal is offline   Reply With Quote
Old 08-15-2022, 03:17 AM   #11
Metsis
Junior Member
Metsis began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2022
Device: Calibre
Hello!

I have this issue too already since the previous version of Calibre (currently 6.3.0 on MS Windows 10 Enterprise N, 64-bit with all updates). Double clicking a publication in the list opens the publication only if it a PDF, not if an ePub.

The debug command returns the following:
Quote:
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 234, in main
File "<string>", line 1, in <module>
ImportError: DLL load failed while importing QtWebEngineCore: The specified module could not be found.
What am I missing?
Metsis is offline   Reply With Quote
Old 08-15-2022, 05:09 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 41,487
Karma: 18507556
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Some dll needed by qt webengine is missing. You can try using tools like dependency walker to look for missing dlls in the dependencies of Qt6WebEngineCore.dll which you will find in the app/bin sub folder inside the calibre isntallation folder.
kovidgoyal is offline   Reply With Quote
Old 08-15-2022, 08:52 AM   #13
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,026
Karma: 71684510
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I wonder if this might be related to the N version of Windows 10 Enterprise?

Quote:
The N editions don't include Windows Media Player, Skype, or certain preinstalled media apps (Music, Video, Voice Recorder).
Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 08-15-2022, 12:52 PM   #14
TornSoul
Junior Member
TornSoul began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2022
Device: none
calibre-debug -c "from PyQt6.QtWebEngineCore import QWebEnginePage; print(QWebEnginePage)"
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 234, in main
File "<string>", line 1, in <module>
ImportError: DLL load failed while importing QtWebEngineCore: The specified module could not be found.

----------

I'm also on the N version (Windows 10 Pro N) - So might be related?

Weird though that Calibre used to work just fine. A month ago I had no problems.
TornSoul is offline   Reply With Quote
Old 08-15-2022, 01:12 PM   #15
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,026
Karma: 71684510
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by TornSoul View Post
calibre-debug -c "from PyQt6.QtWebEngineCore import QWebEnginePage; print(QWebEnginePage)"
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 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\debug.py", line 234, in main
File "<string>", line 1, in <module>
ImportError: DLL load failed while importing QtWebEngineCore: The specified module could not be found.

----------

I'm also on the N version (Windows 10 Pro N) - So might be related?

Weird though that Calibre used to work just fine. A month ago I had no problems.
A month ago, were you on calibrd 6 OR calibre 5?

If you can it would be interesting to install the "Media Feature Pack for Windows N editions". See https://support.microsoft.com/en-gb/...9-a4bb980a700a and see if that changes things.
PeterT is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 Home button suddenly not working goldencore Sony Reader 0 11-25-2014 06:57 PM
.net recipe suddenly not working right Camper65 Recipes 0 04-21-2013 01:16 PM
Suddenly stopped working Mr. mister Calibre 8 07-10-2011 09:47 PM
ADE suddenly stopped working? suecsi PDF 2 10-26-2010 02:45 PM
Kindle 1 suddenly not working! curiositykt Amazon Kindle 6 03-11-2010 09:15 AM


All times are GMT -4. The time now is 09:01 AM.


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