11-23-2020, 03:20 PM | #31 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
Is this problem happening only with action chains, or also with other plugins that have dynamic menus like view manager and open with for example? If you have a non-portable calibre 4 version, attached below is a version that should install on calibre 4. Some actions may not work properly, but you can test a chain containing a simple action like copy to clipboard. Start in debug mode and see if any pertinent messages appear. Last edited by capink; 11-23-2020 at 05:28 PM. Reason: remove attachment. |
|
11-23-2020, 04:30 PM | #32 |
Grand Sorcerer
Posts: 6,392
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, but it doesn't allow to define any action, the error is:
Code:
Traceback (most recent call last): File "calibre_plugins.action_chains.dialogs.chain", line 265, in dropEvent File "calibre_plugins.action_chains.dialogs.chain", line 174, in apply_chain_link File "calibre_plugins.action_chains.dialogs.chain", line 190, in _on_action_change KeyError: u'' |
Advert | |
|
11-23-2020, 05:02 PM | #33 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
I made a new one after disabling drag and drop, and it is working for me on 4.23. Can you please try this new one. You can find it in the second post
Last edited by capink; 11-23-2020 at 05:27 PM. Reason: attachment moved to the second post |
11-23-2020, 05:16 PM | #34 |
null operator (he/him)
Posts: 20,994
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
11-23-2020, 05:53 PM | #35 |
Grand Sorcerer
Posts: 6,392
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
It works now, thank you... for titles, but in release 5 I've seen you could assign shortcuts to submenus, and that was my intention. Am I wrong?
|
Advert | |
|
11-23-2020, 06:02 PM | #36 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
If there are still problems don't shy to post them. I cannot guarantee I can fix everything, but I want to give it a go. I will decide whether to make this available through the plugin index by how well things go during this phase. Last edited by capink; 11-23-2020 at 06:06 PM. Reason: typos |
|
11-23-2020, 07:13 PM | #37 |
Custom User Title
Posts: 9,533
Karma: 64960939
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Another minor UI glitch: In the "Add actions" dialog, any modules don't actually take the user-defined name. I have a "Resort View" module and it appears in the dropdown as Refresh.
EDIT: Changing the module itself so that name = 'Resort View' worked. Aside from that I've been using the resort view module without issue. Last edited by ownedbycats; 11-23-2020 at 07:17 PM. |
11-23-2020, 07:24 PM | #38 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
11-24-2020, 01:25 AM | #39 | |
Grand Sorcerer
Posts: 6,392
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Code:
Purchases +------ Shop +------ Date +------ Price And, speaking by myself, once I'm able to define a call to a plugin action inside the module, the plugin is OK for my use-case (simple but tedious), so thank you a lot again. |
|
11-26-2020, 04:56 PM | #40 |
Custom User Title
Posts: 9,533
Karma: 64960939
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Small bug: The default Calibre action "Show Marked Books" often fails, and then the edit chain dialog shows a "plugin not found" error. (I also use "mark" earlier in the same chain.)
I thought it might've been due to the menu item changing the number (I was working with small batches, then clearing after each one), but it doesn't affect Reading List's "View List" after adding/removing books. Last edited by ownedbycats; 11-26-2020 at 05:11 PM. |
11-26-2020, 08:34 PM | #41 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
On a side note, the next release of this plugin already has the marked field added to the single field edit. It allows for multiple values, so you can use it many times during the chain lifetime with different text values. Problem is, if you run the chain multiple times, you will have leftover marks from the previous run. My plan was to recommend using calibre's clear all marked books at the start of every chain that might use marks, but if that is causing troubles as you are reporting, I will need an alternative solution. Last edited by capink; 11-26-2020 at 08:44 PM. Reason: typos |
|
11-26-2020, 09:12 PM | #42 |
Custom User Title
Posts: 9,533
Karma: 64960939
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I ran the chain once successfully with two books. Then I cleared the books. The next time I ran it (on one book) it showed this error:
Code:
calibre, version 5.5.0 ERROR: Chain Error: Validating the chain settings before running failed. You can see the detailed errors by opening the chain in the config dialog Code:
Calibre plugin "Mark Books" cannot be found Code:
calibre, version 5.5.0 ERROR: Unhandled exception: <b>TypeError</b>:string indices must be integers calibre 5.5 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Action Chains (0, 1, 0) && Barnes & Noble (1, 2, 16) && Calibre Power Search Plugin (1, 7, 0) && CalibreSpy (1, 0, 83) && Comments Cleaner (1, 3, 1) && Count Pages (1, 11, 0) && Drop Search Results (1, 0, 10) && Embed Comic Metadata (1, 5, 2) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && Extract ISBN (1, 5, 0) && FanFicFare (3, 25, 8) && Fantastic Fiction (1, 4, 0) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 3) && Generate Cover (2, 0, 0) && GetFileName (0, 1, 1) && Goodreads (1, 5, 1) && Import List (1, 5, 1) && Job Spy (1, 0, 188) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 0) && Kobo Utilities (2, 11, 8) && KoboTouchExtended (3, 4, 1) && Library Codes (1, 0, 48) && Manage Series (1, 2, 11) && Modify ePub (1, 6, 1) && MultiColumnSearch (1, 0, 85) && Open With (1, 5, 13) && Quality Check (1, 10, 1) && Reading List (1, 7, 1) && Save To Format (0, 0, 6) && Search The Internet (1, 8, 0) && SmartEject (2, 3, 0) && Sum Column (0, 3, 1) && View Manager (1, 6, 0) Traceback (most recent call last): File "calibre_plugins.action_chains.dialogs.chain", line 206, in _settings_button_clicked File "calibre_plugins.action_chains.dialogs.chain", line 53, in load_settings File "calibre_plugins.action_chains.actions.calibre_actions", line 241, in load_settings File "calibre_plugins.action_chains.actions.calibre_actions", line 235, in _repopulate_actions_tree File "calibre_plugins.action_chains.actions.calibre_actions", line 88, in _build_lookup_menu_map TypeError: string indices must be integers |
11-26-2020, 09:49 PM | #43 | ||
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
Quote:
Also what happens when you try the open the chain dialog. Click in the settings of the mark action and see whether it opens and have correct item checked or not. Edit: beta now in the second post. Last edited by capink; 11-26-2020 at 09:58 PM. |
||
11-26-2020, 10:01 PM | #44 |
Custom User Title
Posts: 9,533
Karma: 64960939
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
In 0.1.0, "Show Marked Books" became deselected.
I test 0.1.2. Somehow it caused all my existing actions to get unconfigured so I have to fix that first. I'll post back when I tested. EDIT: The settings are still showing in action_chains.json, they just aren't loading properly. I think I may have found something relevant though: Code:
"action_name": "Calibre Actions", "action_settings": [ { "display": "Show marked books (2)", "path": [ "Mark Books", "Show marked books (2)" ] Last edited by ownedbycats; 11-26-2020 at 10:07 PM. |
11-26-2020, 10:05 PM | #45 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 94 | 07-03-2024 08:26 PM |
Action Chains Resources | capink | Plugins | 65 | 07-01-2024 04:12 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 04:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |