05-24-2021, 05:04 AM | #1 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Bug: TypeError While Spellcheck Sorting Language
The Problem
Sorting by Language column gives this error: Code:
TypeError: '<' not supported between instances of 'str' and 'NoneType' Here's the full error: Spoiler:
Calibre/OS Versions
Steps to Reproduce 1. Open attached EPUB. It has a single English paragraph with some English + English (US) + English (GB): Spoiler:
2. Press Tools > Check Spelling (Alt+F7). 3. Sort by the "Language" column. 4. Error pops up. Notes All other spellcheck columns sort fine. If I remove "en-us" and "en-gb" and only use "en", everything sorts fine: Spoiler:
I stumbled across this bug as I ran it on one of my older multi-language ebooks. |
05-24-2021, 07:33 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
05-24-2021, 07:45 PM | #3 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Absolutely incredible turnaround time. Can't wait for latest version. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Double language spellcheck not working | 1v4n0 | Sigil | 11 | 01-17-2021 11:30 AM |
Bug: Spellcheck Editable Count Column | Tex2002ans | Sigil | 2 | 05-18-2020 10:54 AM |
[Bug] Spellcheck List Cursor Location | Tex2002ans | Sigil | 8 | 08-06-2018 10:53 AM |
[bug] Unable to edit metadata, due to « TypeError: … … unexpected type 'Cover' » | zouhzouh | Calibre | 4 | 03-04-2015 10:55 PM |
Language sorting | Frizzante | Calibre | 2 | 02-02-2012 03:55 PM |