10-16-2022, 10:21 AM | #31 |
Chalut o/
Posts: 435
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
No, it's really not a problem to do this repair.
Can tou share the operations list that raise the error with the export tool. Last edited by un_pogaz; 10-16-2022 at 10:28 AM. |
10-16-2022, 11:34 AM | #32 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2022
Device: kindle
|
IT WORKS again!
After installing your last test zip I needed to reboot and now it works. Thank you very much for your work! |
Advert | |
|
10-07-2023, 12:33 PM | #33 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2014
Device: Kindle Paperwhite 5
|
I just started getting this error today. Never had any issues before. Same error with single or multiple books selected
calibre, version 6.28.0 ERROR: Unhandled exception: <span>The Mass Search-Replace plugin has encounter a unhandled exception.<br><b>NotImplementedError</b>: set() cannot be used in this context. ProxyMetadata is read only calibre 6.28 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.10.1 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Count Pages (1, 13, 3) && EpubSplit (3, 6, 0) && Extract ISBN (1, 6, 0) && Find Duplicates (1, 10, 8) && Goodreads (1, 7, 9) && Goodreads Sync (1, 16, 3) && Manage Series (1, 5, 1) && Mass Search-Replace (1, 7, 4) && Quality Check (1, 13, 6) && Reading List (1, 15, 1) && WordDumb (3, 29, 6) Traceback (most recent call last): File "calibre_plugins.mass_search_replace.action", line 393, in job_progress File "calibre_plugins.mass_search_replace.SearchReplace ", line 218, in search_replace File "calibre_plugins.mass_search_replace.SearchReplace Calibre", line 981, in do_search_replace File "calibre\db\lazy.py", line 411, in set File "calibre\db\lazy.py", line 379, in _unimplemented_exception NotImplementedError: set() cannot be used in this context. ProxyMetadata is read only |
10-07-2023, 03:22 PM | #34 |
Chalut o/
Posts: 435
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Oh crap.
Thanks for the report. Last edited by un_pogaz; 10-07-2023 at 04:58 PM. |
10-08-2023, 10:55 AM | #35 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2014
Device: Kindle Paperwhite 5
|
That fixed it.
|
Advert | |
|
09-06-2024, 09:23 PM | #36 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2024
Device: none
|
Hi, I'm hoping you can help. I've been using Mass Search/Replace without issue, but today, after working fine for a while, I tried to run it through an action chain and I got an error: TypeError:Invalide Column metadata. Now whenever I try to run anything, or even customise the plugin, I always get this error.
I hadn't changed any columns since my last successful run, so all I can think of is that Action Chains has somehow broken it. I have tried restarting Calibre and restarting my PC. This is what I get from the details of the error: calibre, version 7.17.0 ERROR: Unhandled exception: <span>The Mass Search-Replace plugin has encounter a unhandled exception.<br><b>TypeError</b>: Invalide Column metadata. calibre 7.17 embedded-python: True Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22631') Python 3.11.5 Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free') Interface language: None EXE path: C:\Program Files\Calibre2\calibre.exe Successfully initialized third party plugins: Action Chains (1, 20, 7) && Annotations (1, 17, 13) && Audit Log (1, 0, 19) && Count Pages (1, 13, 6) && EpubMerge (3, 1, 0) && EpubSplit (3, 8, 0) && FanFicFare (4, 38, 0) && Fantastic Fiction (1, 7, 0) && Fantastic Fiction Adults (1, 3, 1) && Favourites Menu (1, 3, 1) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 4) && Import List (1, 9, 4) && Kobo Utilities (2, 17, 1) && KoboTouchExtended (3, 6, 11) && Mass Search-Replace (1, 8, 2) && Modify ePub (1, 8, 4) && Quality Check (1, 13, 14) && Reading List (1, 15, 4) && Reformat plugin (2, 4, 0) && Standard Ebooks (1, 0, 0) && View Manager (1, 10, 3) Traceback (most recent call last): File "calibre_plugins.mass_search_replace.action", line 330, in job_progress File "calibre_plugins.mass_search_replace.search_replac e.__init__", line 76, in get_error File "calibre_plugins.mass_search_replace.common_utils. columns", line 686, in get_possible_fields File "calibre_plugins.mass_search_replace.common_utils. columns", line 723, in get_columns_where File "calibre_plugins.mass_search_replace.common_utils. columns", line 718, in get_columns_from_dict File "calibre_plugins.mass_search_replace.common_utils. columns", line 718, in <listcomp> File "calibre_plugins.mass_search_replace.common_utils. columns", line 203, in __init__ TypeError: Invalide Column metadata. |
09-07-2024, 01:48 PM | #37 |
Chalut o/
Posts: 435
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Can you restart Calibre in debug mode "Preference>Restart in debug mode" and share me log file that will appear after you close Calibre? Thanks.
Note: Use spoiler to paste the log, and reduce the size. |
09-07-2024, 03:05 PM | #38 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2024
Device: none
|
I think it may be to do with the Annotations plugin. I used it yesterday, although I'm 99% sure I ran Mass Search/Replace fine after I did that, until I tried to run it through an Action Chain.
Anyway, here's the log. Let me know if you need anything else and thank you for looking into it for me, it's much appreciated. Spoiler:
|
09-08-2024, 05:04 AM | #39 |
Chalut o/
Posts: 435
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Please, share the full log, without ommit anything. Thanks.
It was sincerly very kind and concern of you to try to help me, but precisely, the thing I'm interested in is a large piece of text and you couldn't guess where it is exactly. |
09-08-2024, 10:56 AM | #40 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2024
Device: none
|
Hi un_pogaz, I would but I tried using Fetch Annotations (experimental) to see if it was an alternative to the Annotations plugin and ended up having to restore my Calibre from a backup because it froze Calibre and proceded to keep refreezing Calibre every time I connected my Kobo... The upside is I backup frequently so I only lost 1 day's worth of edits and now Mass Search/Replace is back to working like it did - in hindsight, that should have been my first port of call, rather than bothering you!
However, I am now 100% sure it was Annotations causing issues. The first import of backup data failed due to the Annotations plugin (worrying for a second because calibre reverted to basics with no plugins, even on my previous library, but it was fixed by importing my backup a second time). I tested restoring a second time with the same results. Therefore, I've deleted Annotations as it's clearly causing errors across Calibre and (due to sad circumstances) it's no longer in development. KoboUtilities has a manual copy of annotations, which isn't as quick/automated, but gets the job done. |
01-20-2025, 01:21 PM | #41 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: none
|
Hi!
Can you tell if it's possible to use the Mass Search/Replace plugin to Search&Replace the body of books' text? Such as replacing "labour" with "labor" across all books in a library. Or, as another example, I read a lot of books from Chinese sources and there are multiple technically correct translations of the same character's name, I would like to make all books spell it the same way. I already replaced all I need in metadata, but I'm having trouble doing it in the books' text itself. I can do that with Calibre's native Search&Replace, but it works one book at a time and I might need tens or hundreds of books edited at once, so doing it that way would be pretty time-consuming. |
01-20-2025, 02:25 PM | #42 | |
Wizard
Posts: 1,146
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
|
Quote:
Edit: Attached to this post is a chain that replaces labour/labor on selected books in your library. You can modify the search as you like, or add additional search/replace as follows:
Last edited by capink; 01-20-2025 at 02:34 PM. |
|
01-20-2025, 03:19 PM | #43 | |
Chalut o/
Posts: 435
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Quote:
The solution presented by capink is great. It requires a bit of setup, but it's the better posible. |
|
01-20-2025, 04:00 PM | #44 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: none
|
Quote:
Attached to this post is a chain that replaces labour/labor on selected books in your library. You can modify the search as you like, or add additional search/replace as follows:
This is exactly what I needed, thank you so much! Especially big thank you for including the labour/labor chain file, the example really helped me understand how to use the plugin. Going through documentation is hard for me, I'm not confident I'd manage to do set things up without help. Thank you for taking the time to do it. Thank you for the response anyway, your plugin is great! |
|
Yesterday, 09:38 AM | #45 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2025
Device: Kobo
|
Question from a newbee...
Can i use this plugin to search/replace my title? I want to prefix the title of selected book with an [ so for example: "Geronimo Stelton" -> "[Geronimo Stelton" was trying with <title> replace with [ || <title> but no succes... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 434 | 09-30-2024 04:04 AM |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 11:05 PM |
[GUI Plugin] Drop Search Results | DaltonST | Plugins | 29 | 07-11-2022 02:03 AM |
Mass search and replace word in epub | Fangles | Library Management | 4 | 07-26-2016 06:23 PM |