problem with spellchecker

Bug #1517928 reported by vltncr on 2015-11-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

error when adding a word to the default dictionary.

calibre, version 2.44.1
ERRO: Exceção sem tratamento: <b>AttributeError</b>:'NoneType' object has no attribute 'primary_locale'

calibre 2.44.1 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\spell.py", line 1159, in add_remove
  File "site-packages\calibre\gui2\tweak_book\spell.py", line 729, in add_word
  File "site-packages\calibre\spell\dictionary.py", line 266, in add_to_user_dictionary
  File "site-packages\calibre\spell\dictionary.py", line 246, in add_user_words
AttributeError: 'NoneType' object has no attribute 'primary_locale'

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

 status fixreleased

Changed in calibre:
status: New → Fix Released

That error happens if you are trying to run spell check for a book with
a language that has no dictionary installed. Install a dictionary for
that language first and you will be fine.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers