View Single Post
Old 03-13-2026, 01:24 PM   #33
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,068
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by DiapDealer View Post
OK, that's my bad. I forgot that PyQt6 requires full enums. the line in question should actually read:

descargas = QStandardPaths.writableLocation(QStandardPaths.Sta ndardLocation.DownloadLocation)

But something is still wrong. Once you click the OK button, Calibre closes and immediately complains that the installer is not valid. The calibre-setup.msi file HAS been created in Downloads, but it's only 3Kb in size. I think the "https://download.calibre-ebook.com/64bit" url is being redirected to an actual filename that urllib.request is not following. The urls for the other platforms actually end in file names.
If I'm checking, that's exactly what's happening on Mac, for example. The plugin downloads a renamed file, e.g., calibre-update.dmg, when in reality, from the website, it downloads calibre-9.5.0.dmg.
dunhill is offline   Reply With Quote