07-11-2023, 08:58 PM | #1 |
Wizard
Posts: 1,104
Karma: 4911876
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...
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 |
07-11-2023, 09:46 PM | #2 |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
Advert | |
|
07-11-2023, 10:06 PM | #3 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
07-11-2023, 10:26 PM | #4 | ||
Wizard
Posts: 1,104
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
Though, I have this installed... https://www.softwareok.com/?seite=Mi...ideMouseCursor It auto-hides the cursor after 4 seconds so its not in the way when I am trying to read or work on documents. Quote:
|
||
07-11-2023, 10:38 PM | #5 |
Wizard
Posts: 1,104
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
That Text Cursor doesn't seem to work well in Calibre. Nor the thickness which is set to 5.
I guess it is a QT6 issue... |
Advert | |
|
07-12-2023, 02:31 AM | #6 | |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Qt must have a "CodeEdit' widget, because it doesn't work in "HTML" editing of Comments or the Editor Codeview - and Sigil's the same. Notepad and Bowpad honour the setting, but not Notepad++. BR |
|
07-12-2023, 02:39 AM | #7 | ||
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
BR |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Integer Formatting | BetterRed | Library Management | 4 | 05-06-2022 08:16 AM |
Adding a % to an integer column. | ownedbycats | Library Management | 2 | 11-01-2020 12:55 PM |
Integer Column | Quetico | Reading and Management | 0 | 07-09-2017 11:27 PM |
format integer cells as blank when 0 | BetterRed | Calibre | 17 | 04-28-2016 05:03 PM |
Error - division by zero | fanton44 | Calibre | 2 | 10-27-2015 10:59 AM |