But these are currently failing with lots of errors, presumably due to this in-progress migration. There are some flake8 checks, defined in a.Users who need py2 can just use the last release. (There is mention of trying to, but things like changed standard library imports are breaking Python 2, so.). People are just fixing for Python 3, not trying to also preserve compatibility with 2.The code on master is half Python 2 syntax and half Python3, even within a single file, so some things don't work at all.Some things that gave me pause when I started yesterday: I'm just trying to verify it actually works, but am having problems getting my kindle key. I have one that runs 2to3 on the whole DeDRM-plugin directory. Synta圎rror: invalid Be aware there are several branches in progress already doing this. Print u": Copying needed library files from plugin's zip".format(PLUGIN_NAME, PLUGIN_VERSION) Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 34, 0) & Package KFX (from KFX Input) (1, 34, 0) & Generate Cover (1, 5, 25) & Hyphenate This! (0, 1, 3) & KFX metadata reader (from KFX Input) (1, 34, 0) & KFX Input (1, 34, 0) & Set KFX metadata (from KFX Output) (1, 44, 0) & KFX Output (1, 44, 0) & Overdrive Link (2, 42, 0) & Prettify Cover (1, 5, 0) & Resize Cover (1, 1, 0) & Obok DeDRM (6, 7, 0)įile "calibre\gui2\preferences\plugins.py", line 317, in add_pluginįile "calibre\customize\ui.py", line 472, in add_pluginįile "calibre\customize\ui.py", line 61, in load_pluginįile "calibre\customize\zipplugin.py", line 282, in loadįile "importlib_ init_.py", line 127, in import_moduleįile "", line 975, in _find_and_load_unlockedįile "calibre\customize\zipplugin.py", line 174, in exec_moduleįile "calibre\customize\zipplugin.py", line 170, in get_codeįile "calibre_drm. init, line 168)Ĭalibre 5.2 embedded-python: True is64bit: True When I attempt to install the DeDRM_Plugin.zip in Calibre 5.2, I receive the following error:ĮRROR: Unhandled exception: Synta圎rror:invalid syntax (calibre_drm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |