View Single Post
Old 02-03-2022, 12:12 PM   #151
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,098
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Editor-Spell check

I double clicked on a word in the spell check list (should jump to where used)

Code:
calibre, version 5.99.6
ERROR: Unhandled exception: <b>TypeError</b>:index 0 has type 'str' but 'QTextLength' is expected

calibre 5.99.6  embedded-python: True
Windows-10-10.0.19044 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 46, 0) && Package KFX (from KFX Input) (1, 46, 0) && APNX Generator (1, 1, 0) && Count Pages (1, 11, 2) && Diaps Editing Toolbag (0, 3, 7) && EpubMerge (2, 12, 0) && EpubSplit (3, 2, 0) && Extract ISBN (1, 5, 0) && Fantastic Fiction (1, 5, 1) && Fantastic Fiction Adults (1, 2, 0) && Find Duplicates (1, 9, 2) && Generate Cover (2, 1, 0) && Goodreads (1, 5, 3) && Import List (1, 8, 1) && Job Spy (1, 0, 190) && KFX metadata reader (from KFX Input) (1, 46, 0) && KFX Input (1, 46, 0) && Set KFX metadata (from KFX Output) (1, 58, 0) && KFX Output (1, 58, 0) && KePub Input (3, 4, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 5, 3) && Kindle Collections (1, 7, 29) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Books (1, 8, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && LanguageTool (0, 1, 2) && Manage Series (1, 3, 0) && Modify ePub (1, 7, 0) && Obok DeDRM (6, 7, 0) && Open With (1, 7, 0) && Quality Check (1, 12, 0) && Resize Cover (1, 1, 0) && Search The Internet (1, 8, 1) && Smashwords Metadata (1, 0, 2) && Sort CSS (0, 2, 0)
Traceback (most recent call last):
  File "calibre\gui2\tweak_book\boss.py", line 1156, in find_word
  File "calibre\gui2\tweak_book\spell.py", line 1434, in find_next
  File "calibre\gui2\tweak_book\editor\widget.py", line 325, in find_spell_word
  File "calibre\gui2\tweak_book\editor\text.py", line 552, in find_spell_word
  File "calibre\gui2\tweak_book\editor\text.py", line 722, in spellcheck_locale_for_cursor
  File "calibre\gui2\tweak_book\editor\syntax\base.py", line 217, in parse_single_block
  File "calibre\gui2\tweak_book\editor\syntax\base.py", line 24, in run_loop
  File "calibre\gui2\tweak_book\editor\syntax\html.py", line 307, in normal
  File "calibre\gui2\tweak_book\editor\syntax\html.py", line 244, in process_text
  File "calibre\gui2\tweak_book\editor\syntax\html.py", line 74, in spell_property
TypeError: index 0 has type 'str' but 'QTextLength' is expected
theducks is offline   Reply With Quote