![]() |
#556 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 04-22-2021 at 06:41 PM. Reason: add quote |
|
![]() |
![]() |
![]() |
#557 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
I've got a chain that randomly does stuff I don't want. I'm working on debugging it, but I'm thinking it would be nice to have some tools for debugging chains.
What I'm wishing I had right now is a button (on each line) in the chain editor to run the action. That would let me run each item to make sure it does what I think it should be doing. Last edited by compurandom; 04-25-2021 at 09:36 AM. |
![]() |
![]() |
![]() |
#558 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,984
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
An option to toggle actions on and off without deleting them would work, too; you could toggle them all off and then toggle them all one at a time until you find the mistake.
Last edited by ownedbycats; 04-25-2021 at 03:36 PM. |
![]() |
![]() |
![]() |
#559 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Will take this into consideration for the future.
|
![]() |
![]() |
![]() |
#560 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#561 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
As for displaying the results, was wondering if something like the quick view can be re-used to display the results. If not maybe develop something similar. Anyway, as you said it is going to be a fair bit of work and it will take sometime before I start working on this. |
|
![]() |
![]() |
![]() |
#562 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Version 1.8.3
The new Chain Caller action is experimental and will only appear if you switch on the experimental feature of the plugin using this tweak (calibre > preferences > tweaks > plugin tweaks): Code:
action_chains_experimental = True Note: Experimental features can be removed or changed in the future. Last edited by capink; 10-10-2021 at 07:04 AM. |
![]() |
![]() |
![]() |
#563 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,984
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
What kind of chains could create infinite recursion?
|
![]() |
![]() |
![]() |
#564 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Circular dependency.
|
![]() |
![]() |
![]() |
#565 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,984
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thanks
![]() This might've been answered before, but were there any plans of enabling scopes for Calibre actions? Last edited by ownedbycats; 05-04-2021 at 04:24 PM. |
![]() |
![]() |
![]() |
#566 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
![]() Unfortunately that is out of the plugin's control. It calls Calibre Actions and if the target action is selection based, it currently can not do anything to change that. |
|
![]() |
![]() |
![]() |
#567 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,984
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Is there a way to copy a specific action from one chain to a different one, or merging chains? Mostly for copying stuff over from a test chain to a working one.
Last edited by ownedbycats; 05-04-2021 at 07:11 PM. |
![]() |
![]() |
![]() |
#568 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
No there is not. You have to copy the templates themselves. You can use the newly added save and load buttons in the template editor for this.
|
![]() |
![]() |
![]() |
#569 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Version 1.8.4
Event arguments are document in this post. Currently the only event that passes arguments is the "Library View Double Clicked" Event. It passes the book_id and column name, so it can be utilized to launch different actions depending on the column that is double clicked. New Template Functions are always documented in this post. |
![]() |
![]() |
![]() |
#570 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Aug 2014
Device: Kindle Paperwhite, Kindle Fire HD 8, Microsoft Surface Go 3
|
Version 1.8.4 Breaks my installation of Calibre
Updated the Action Chains plugin to version 1.8.4 and now Calibre will not start. I get the startup banner, then the main window flashes briefly and closes. I don't see any tasks in taskmanager either.
When I run Calibre in Debug (calibre-debug -g 1>> log.txt 2>&1), I get the following error in the log file... Traceback (most recent call last): File "calibre_plugins.action_chains.events.base", line 49, in run File "calibre_plugins.action_chains.events.event_tools" , line 43, in __init__ KeyError: 'event_members' Running Calibre v5.17 64-bit on Windows 10 Was working fine prior to the latest update |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 106 | 06-17-2025 05:36 PM |
Action Chains Resources | capink | Plugins | 77 | 06-16-2025 12:45 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |