View Single Post
Old 01-29-2024, 11:40 PM   #1254
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
Dear @capink,

I'm now using "Selection Modifier" to search

Search: New search
Search option: Select all book in current view (or another option)

If the search finds something, the action continues well. But if it finds nothing an error shows up

Code:
  File "calibre\db\view.py", line 226, in index_to_id
IndexError: tuple index out of range
Since I plan to use this with "Timer" event, there will be a tons of error messages like this... because at the end of the action chain, some tags will be removed and it will affect the search result when the action chain is triggered again.

Last edited by nqk; 01-29-2024 at 11:46 PM.
nqk is offline   Reply With Quote