View Single Post
Old 06-12-2023, 01:14 PM   #1112
Bertrand
Zealot
Bertrand began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
Windows 11 / calibre 6.20 / Action Chains 1.18.7

I have the same problem as Philantrop.
I can't add a calibre action.

Here is the json file from export.

Spoiler:

Code:
calibre, version 6.20.0
ERREUR : Exception non gérée: <b>AttributeError</b>:'int' object has no attribute 'replace'

calibre 6.20  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: fr
Successfully initialized third party plugins: Action Chains (1, 18, 7) && Comments Cleaner (1, 10, 0) && Count Pages (1, 13, 0) && EpubCheck (0, 2, 4) && Extract ISBN (1, 6, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 8) && Kobo Books (1, 9, 2) && KoboTouchExtended (3, 6, 3) && Modify ePub (1, 8, 1) && Open With (1, 8, 1) && Quality Check (1, 13, 4) && View Manager (1, 10, 2) && Walk Search History (1, 5, 3)
Traceback (most recent call last):
  File "calibre_plugins.action_chains.gui.__init__", line 46, in setup_ui
TypeError: CalibreActionsWidget.__init__() takes 2 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.action_chains.gui.views", line 430, in _on_button_clicked
  File "calibre_plugins.action_chains.gui.__init__", line 41, in __init__
  File "calibre\gui2\widgets2.py", line 225, in __init__
  File "calibre_plugins.action_chains.gui.__init__", line 51, in setup_ui
  File "calibre_plugins.action_chains.actions.calibre_actions", line 162, in __init__
  File "calibre_plugins.action_chains.actions.calibre_actions", line 197, in _init_controls
  File "calibre_plugins.action_chains.actions.calibre_actions", line 287, in _populate_actions_tree
  File "calibre_plugins.action_chains.actions.calibre_actions", line 307, in _populate_action_children
  File "calibre_plugins.action_chains.actions.calibre_actions", line 74, in get_title
  File "calibre_plugins.action_chains.actions.calibre_actions", line 68, in get_safe_title
AttributeError: 'int' object has no attribute 'replace'


Thanks
Attached Files
File Type: zip action chains.zip (712 Bytes, 774 views)
Bertrand is offline   Reply With Quote