View Single Post
Old 07-11-2023, 09:58 PM   #1
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,691
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
ZeroDivisionError:integer division or modulo by zero

Hello @kovidgoyal,

I am coming across a new error shown below.

To replicate...
  1. Alt-F7 for the Check Spelling pop-up box
  2. Place the curson in the "Filter the list of words" box
  3. Type letters so that the list becomes empty.
  4. Press up or down arrow.

Why do I do that? No reason. Sometimes I forget where my cursor is, and expect it to be in the editor and press up or down to move around, but its still in the Check Spelling box.


Code:
calibre, version 6.22.0
ERROR: Unhandled exception: <b>ZeroDivisionError</b>:integer division or modulo by zero

calibre 6.22  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 1, 0) && DeDRM (10, 0, 2) && Package KFX (from KFX Input) (2, 1, 0) && EpubCheck (0, 2, 4) && KFX metadata reader (from KFX Input) (2, 1, 0) && KFX Input (2, 1, 0) && Set KFX metadata (from KFX Output) (2, 0, 0) && KFX Output (2, 0, 0) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Utilities (2, 16, 9) && Manage Series (1, 5, 1) && ScrambleEbook (0, 6, 0) && Sum Column (0, 3, 3) && View Manager (1, 10, 2)
Traceback (most recent call last):
  File "calibre\gui2\tweak_book\spell.py", line 1146, in next_word
  File "calibre\gui2\tweak_book\spell.py", line 865, in next_word
  File "calibre\gui2\tweak_book\spell.py", line 861, in change_current_word_by
ZeroDivisionError: integer division or modulo by zero
Karellen is offline   Reply With Quote