Preferences / Editor settings / Manage spelling dictionaries throws exception

Bug #1903294 reported by leastcommonancestor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Pressing the button in preferences throws an exception. Details:

calibre, version 5.4.2
ERROR: Unhandled exception: <b>TypeError</b>:'<' not supported between instances of 'str' and 'NoneType'

calibre 5.4.2 embedded-python: True is64bit: True
Linux-5.4.0-52-generic-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.4.0-52-generic', '#57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020')
Python 3.8.5
Interface language: None
Successfully initialized third party plugins: Count Pages (1, 11, 0) && Embed Comic Metadata (1, 5, 0) && EpubMerge (2, 11, 0) && EpubSplit (2, 9, 0) && Fantastic Fiction (1, 4, 0) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 3) && Goodreads (1, 5, 1) && Markdown Output (1, 0, 3) && MultiColumnSearch (1, 0, 85) && Open With (1, 5, 13)
Traceback (most recent call last):
  File "calibre/gui2/tweak_book/preferences.py", line 246, in manage_dictionaries
  File "calibre/gui2/tweak_book/spell.py", line 414, in __init__
  File "calibre/gui2/tweak_book/widgets.py", line 47, in __init__
  File "calibre/gui2/widgets2.py", line 185, in __init__
  File "calibre/gui2/tweak_book/spell.py", line 447, in setup_ui
  File "calibre/gui2/tweak_book/spell.py", line 505, in build_dictionaries
TypeError: '<' not supported between instances of 'str' and 'NoneType'

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers