doujinshi_metadata_plugins icon indicating copy to clipboard operation
doujinshi_metadata_plugins copied to clipboard

It does not work in Calibre 5.3

Open Kurohisui opened this issue 4 years ago • 3 comments

Decided to upload Calibre to 5.3 and the plug-in won't load.

calibre, version 5.3.0 ERROR: Unhandled exception: ImportError:cannot import name 'urlencode' from 'urllib' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\urllib_init_.pyc)

calibre 5.3 [64bit] embedded-python: True is64bit: True Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.18362') Python 3.8.5 Windows: ('10', '10.0.18362', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Embed Comic Metadata (1, 5, 0) Traceback (most recent call last): File "calibre\gui2\preferences\plugins.py", line 317, in add_plugin File "calibre\customize\ui.py", line 472, in add_plugin File "calibre\customize\ui.py", line 61, in load_plugin File "calibre\customize\zipplugin.py", line 285, in load File "importlib_init_.py", line 127, in import_module File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in load_unlocked File "calibre\customize\zipplugin.py", line 184, in exec_module File "calibre_plugins.dummy1.init", line 16, in ImportError: cannot import name 'urlencode' from 'urllib' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\urllib_init.pyc)`

Kurohisui avatar Oct 22 '20 03:10 Kurohisui

https://1drv.ms/u/s!AhtiqGnVX4ssm3CWNsvAUM1tgsbr?e=YInimv I used 2tp3.py to convert it into python3.Maybe helpful。

zhjcreator avatar Dec 20 '20 15:12 zhjcreator

https://1drv.ms/u/s!AhtiqGnVX4ssm3CWNsvAUM1tgsbr?e=YInimv I used 2tp3.py to convert it into python3.Maybe helpful。

This fixed it for me, thanks :) I can now install and use it in Calibre.

LittleFreak avatar Feb 19 '21 22:02 LittleFreak

Anyone got this working for callibre 5.42?

xerance avatar May 19 '22 00:05 xerance