View Single Post
Old 10-03-2020, 01:55 AM   #417
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: 48,865
Karma: 174631580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
What is it that changed between 5.0.1 and 5.1 that is breaking all of the KePub plugins. Also, if you run in Debug mode (calibre-debug -g) then KoboTouchExtended works. I would think that these others would also wor in debug mode. This may not be an easy fix.
One of the major changes was Kovid's rewriting of the Python 3 zipimport module to make it thread safe. At this point, looking at the line that seems to trigger the issue in the __init__.py in the root of the installer zip file, it seems to be importing the name prior to the install phase for the plugin. For the Kepub Output plugin, the line is:

from calibre_plugins.kepubout.conversion.kepub_output import KEPubOutput
DNSB is offline   Reply With Quote