Quote:
Originally Posted by DiapDealer
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.