![]() ![]() It does not contain a top-level _init_.py fileĦ) googled for the same error, found many different posts that suggest to use the zip file correctly but none that deals with a DeDRM_plugin folder instead of DeDRM_plugin.zip Successfully initialized third party plugins:įile "calibre/gui2/preferences/plugins.py", line 327, in add_pluginįile "calibre/customize/ui.py", line 476, in add_pluginįile "calibre/customize/ui.py", line 64, in load_pluginįile "calibre/customize/zipplugin.py", line 284, in loadįile "calibre/customize/zipplugin.py", line 379, in _locate_codeĬ: The plugin in '/Users/-/DeDRM_tools-master/DeDRM_plugin.zip' is invalid. It does not contain a top-level _init_.py fileĬalibre 5.34 embedded-python: True is64bit: True zipped the DeDERM_plugin folder and tried to import that into calibre with the following error.ĮRROR: Unhandled exception: InvalidPlugin:The plugin in '/Users/-/DeDRM_tools-master/DeDRM_plugin.zip' is invalid.read "DeDRM_plugin_ReadMe.txt" which tells me to "find the file "DeDRM_plugin.zip"." BUT I only found a FOLDER called "DeDRM_plugin", not a zip file.unzipped the folder "DeDRM_tools-master.zip".downloaded deDRM from GitHub repository (v 10.0.2).Never had a problem with calibre 4.x and deDRM 6.x but needed to update to deDRM v 10.x. Hello,I can't happily install the latest deDRM plugin. connected_device and 'ondevice' in fields : fields. join ( sorted ( list ( all_fields ))))) raise ValueError ( "unable to generate catalog with specified fields" ) fields = else : fields = sorted ( all_fields, key = self. join ( invalid_fields )) print ( "available fields in ' %s ': %s " % ( current_library_name (), ', '. union ( all_custom_fields ) if getattr ( opts, 'fields', 'all' ) != 'all' : # Make a list from opts.fields of = requested_fields = set ( of ) # Validate requested_fields if requested_fields - all_fields : from calibre.library import current_library_name invalid_fields = sorted ( list ( requested_fields - all_fields )) print ( "invalid -fields specified: %s " % ', '. add ( field + '_index' ) all_fields = all_std_fields. field_metadata if fm = 'series' : all_custom_fields. ![]() custom_field_keys ()) for field in list ( all_custom_fields ): fm = db. Class Plugin : # all_custom_fields = set ( db. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |