View Single Post
Old 03-04-2020, 01:10 PM   #986
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: 47,076
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by RotAnal View Post
I did exactly this but after security risk warning, the loading has been stopped by this exception:

InvalidPlugin: The plugin in u'C:\\Users\\Maurizio\\AppData\\Roaming\\calibre\\ plugins\\Quality Check.zip' is invalid. It does not contain a top-level __init__.py file

Where am I wrong?
I've attached an image of the directory of the QualityCheck.zip file from my calibre plugin directory. It shows a __init__.py file present. Does this match your zip file's directory?

Edit: I looked in the .zip file and changed the >=1000 in lines 239 and 240 to >=3000 in check_metadata.py and saved the zip file. I removed the plugin, re-added it using the modified file and didn't see any immediate errors though I don't have any series with over 1000 books to check.
Attached Thumbnails
Click image for larger version

Name:	quality_check-Zip_contents.png
Views:	229
Size:	24.0 KB
ID:	177507  
Attached Files
File Type: zip Quality Check.zip (128.7 KB, 235 views)

Last edited by DNSB; 03-04-2020 at 01:23 PM. Reason: Added modified .zip file
DNSB is offline   Reply With Quote