Thread: Find & Replace
View Single Post
Old 09-15-2026, 08:23 AM   #4
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,098
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Thanks for pointing that out

However

1. The setting doesn't seem to be persistent, i.e. once set it does not stay set for the next search

2. I get this error

Quote:
calibre, version 9.14.0
ERROR: Unhandled exception: <b>AttributeError</b>:'builtin_function_or_method' object has no attribute 'setFocus'

calibre 9.14 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.14.7
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-parallel.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 34, 0) && Package KFX (from KFX Input) (2, 34, 0) && KFX Output (2, 20, 1) && Action Chains (1, 20, 10) && Clean Comments (0, 2, 3) && Diaps Editing Toolbag (0, 5, 0) && Editor Chains (1, 1, 9) && EpubMerge (3, 3, 0) && EpubSplit (3, 12, 0) && Generate Cover (2, 4, 1) && Hyphenate This! (0, 1, 4) && Integrity Analysis (1, 5, 0) && KFX metadata reader (from KFX Input) (2, 34, 0) && From KFX (2, 34, 0) && KFX Input (2, 34, 0) && Set KFX metadata (from KFX Output) (2, 20, 1) && Manage Series (1, 5, 4) && Modify ePub (1, 8, 9) && Quality Check (1, 14, 7) && ScrambleEbook (0, 6, 0) && View Manager (1, 10, 5)
Traceback (most recent call last):
File "calibre\gui2\tweak_book\boss.py", line 1257, in show_text_search
AttributeError: 'builtin_function_or_method' object has no attribute 'setFocus'
I have <p class = "bold"> ....... in the document, and I try regular Find it finds the text inside the tags

I I need to find the word in plain old text and if I select {Search], [Search ignoring HTML markup] I get the error.

Am I doing something the wrong way?

Last edited by phossler; 09-15-2026 at 08:27 AM.
phossler is offline   Reply With Quote