problem with spellchecker

Bug #1517928 reported by vltncr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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'

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 Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1517928

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.