xor2003 / calibre_djvu_covers

Automatically converts the first page of newly added .djvu books to png and adds it as a cover
2 stars 0 forks source link

does not work on Mac #2

Open dichter opened 1 year ago

dichter commented 1 year ago

Trying to install the plugin on a mac results in the error message:

calibre, version 6.11.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin at /Volumes/Library/Software/Calibre Plugins/calibre_djvu_covers.zip cannot be used on osx

calibre 6.11 embedded-python: True macOS-10.15.6-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '19.6.0', 'Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64') Python 3.10.1 OSX: ('10.15.6', ('', '', ''), 'x86_64')

I would love to try this plug in as I have about 500 old books on chess as djvu that I'd love to import into calibre properly

xor2003 commented 1 year ago

try to modify __init__.py the line: supported_platforms = ["linux"] should be come something like supported_platforms = ["linux", "macosx"] But I'm not sure about exact name. Let me know the result and I will update the source