Latest update appears to have broken TemplateBox.
I have the following line in an action chain module:
from calibre_plugins.action_chains.templates import TemplateBox, check_template, get_metadata_object
Getting the following error after the latest plugin and Cailbre updates:
calibre, version 5.16.0
ERROR: Invalid Python code: The code you created is not valid Python code, with error: cannot import name 'TemplateBox' from 'calibre_plugins.action_chains.templates' (C:\Users\xxxxxxx\AppData\Roaming\calibre\plugins\ Action Chains.zip/templates/__init__.py)
Is this something I can fix, or do I need to wait for an update to ActionsChains plugin or Calibre?
|