Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-19-2025, 01:27 PM   #1
bengalih
Member
bengalih began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2023
Device: smartphone
Compatible versions based on Windows version - or install problems

I tried to upgrade from 6.29 to 8.4.0 yesterday.

After upgrade, Calibre would not run. It provided no warning/errors during install/upgrade, nor did it provide any errors at startup.

I run calibre-server.exe separately as a service, and in trying to launch that I got the following error:

Code:
C:\Users\htpc-user>"D:\Program Files\Calibre2\calibre-server.exe" --port=8585 --enable-auth --auth-mode=basic --ban-after=3 --ban-for=180 --log="F:\data\reference\books\Calibre Libraries\calibre-settings\logs\server.log"
Failed to import PyQt module: PyQt6.QtGui with error: DLL load failed while importing QtGui: The specified procedure could not be found.
Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\srv\standalone.py", line 224, in main
  File "calibre\srv\standalone.py", line 66, in __init__
  File "calibre\srv\handler.py", line 207, in __init__
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "bypy-importer.py", line 279, in exec_module
  File "calibre\srv\ajax.py", line 15, in <module>
  File "bypy-importer.py", line 279, in exec_module
  File "calibre\srv\content.py", line 21, in <module>
  File "bypy-importer.py", line 279, in exec_module
  File "calibre\ebooks\covers.py", line 16, in <module>
ImportError: cannot import name 'QBrush' from 'qt.core' (D:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\core.pyc)
My research led me to this thread, which indicates that the version may not be compatible with the version of Windows I'm on:
https://www.mobileread.com/forums/sh...d.php?t=353584


I don't know if this is the correct answer - I don't think it can be the whole picture. The download link here:
https://calibre-ebook.com/download_windows

States no incompatibilities pre Windows 8. I'm actually running this on Windows Server 2016, which is built on Windows 10 1607.

Also, have been successful running 6.29 on it for a couple of years.

I don't know why python library dependencies (as the error message seems to show) should be an issue between version of Windows 10 (or even 11 for that matter). If there is a problem with these versions, why is there no documentation on this on the download page and why does the installer continue without checking?

FWIW, I did fully uninstall Calibre and then do a new reinstall with 8.4.0 and had the same issue.

Is this a Windows incompatability? If so, what is the latest compatible version? If not, how do I fix this?

thanks
bengalih is offline   Reply With Quote
Old 05-19-2025, 01:46 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
On a Windows-Server (edition)? I suspect Graphics drivers as QT is mostly about the UI.

It runs on W10pro 22h2 with 8.4 (Although I do have another older cpu W10pro that the Viewer just spins if I load past 7.16. Others have reported)
theducks is offline   Reply With Quote
Advert
Old 05-19-2025, 02:41 PM   #3
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a Qt DLL failing to load. I'm afraid I dont keep track of windows server versions. My adive would be to stay at 7.16 or lower on that machine.
kovidgoyal is offline   Reply With Quote
Old 05-19-2025, 05:47 PM   #4
bengalih
Member
bengalih began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2023
Device: smartphone
Quote:
Originally Posted by kovidgoyal View Post
That's a Qt DLL failing to load. I'm afraid I dont keep track of windows server versions. My adive would be to stay at 7.16 or lower on that machine.
Thanks, are we sure it is the Windows version that is the likely cause of this?
I understand you aren't validating each version and update, but just validating that this is a known issue with older versions of Windows?

Is there an issue if I have two different versions of Calibre accessing the same library? For instance if I upgrade this machine to 7.16 and it accesses a library stored on a NAS, can another machine running a newer (or older) version also access this same library?
bengalih is offline   Reply With Quote
Old 05-19-2025, 05:51 PM   #5
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: 46,251
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by bengalih View Post
Is there an issue if I have two different versions of Calibre accessing the same library? For instance if I upgrade this machine to 7.16 and it accesses a library stored on a NAS, can another machine running a newer (or older) version also access this same library?
The problems with using a NAS to store your library are bad enough with a single computer. Using multiple computers is asking for a corrupt library.


See the Calibre FAQ item: I am getting errors with my calibre library on a networked drive/NAS?

and from the SQLite site: SQLite Over a Network, Caveats and Considerations.
DNSB is online now   Reply With Quote
Advert
Old 05-19-2025, 05:55 PM   #6
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: 79,762
Karma: 145864619
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 bengalih View Post
Thanks, are we sure it is the Windows version that is the likely cause of this?
I understand you aren't validating each version and update, but just validating that this is a known issue with older versions of Windows?

Is there an issue if I have two different versions of Calibre accessing the same library? For instance if I upgrade this machine to 7.16 and it accesses a library stored on a NAS, can another machine running a newer (or older) version also access this same library?
Is your Windows updated? Is it the current version?
JSWolf is online now   Reply With Quote
Old 05-19-2025, 06:30 PM   #7
BetterRed
null operator (he/him)
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: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

Moved out of Development subforum, see ==>> PLEASE READ BEFORE POSTING HERE - Purpose of Development subforum

BR
BetterRed is offline   Reply With Quote
Old 05-19-2025, 10:40 PM   #8
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You should not have different versions of calibre using the library, though you might get away with it depending on what you actually do. Definitely dont put the library on a NAS, sync it instead.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install Version: 2.35.0 on Windows 10 64bit nqk Calibre 4 08-21-2015 03:12 AM


All times are GMT -4. The time now is 03:38 PM.


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