Hi,
I'm getting this error when running the modified chain iterator code @capink generously provided a few pages back
Code:
calibre 6.17 embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Action Chains (1, 18, 6) && Count Pages (1, 13, 0) && Editor Chains (0, 8, 5) && EpubCheck (0, 2, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 6, 0) && FanFicFare (4, 22, 1) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 8) && Generate Cover (2, 3, 2) && Job Spy (1, 0, 237) && KePub Input (3, 6, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 6, 3) && Kobo Utilities (2, 16, 6) && KoboTouchExtended (3, 6, 3) && Modify ePub (1, 8, 1) && Quality Check (1, 13, 4) && Reading List (1, 15, 1) && Save Virtual Libraries To Column (2, 0, 1) && Save Virtual Libraries To Column GUI (2, 3, 0)
Traceback (most recent call last):
File "calibre_plugins.action_chains.action", line 448, in run_chain
File "calibre_plugins.action_chains.chains", line 391, in run
File "calibre_plugins.action_chains.chains", line 206, in _run_loop
File "calibre_plugins.action_chains.chains", line 181, in _run_loop
File "Modified Chain Iterator", line 122, in run
TypeError: Chain.__init__() got an unexpected keyword argument 'add_to_vars'
line 122 is
Code:
target_chain = Chain(self.plugin_action, target_chain_config, show_progress=False,
add_to_vars=add_to_vars, chain_caller=True)
Thanks!