View Single Post
Old 10-17-2020, 11:56 AM   #1
stolica1968
Junior Member
stolica1968 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Pocketbook PB-K-WW
Problem with change dictionary to polish pl_PL.otx

Hi,

When I change dictionaries to polish i have mistake:

calibre, version 5.3.0
BŁĄD: Nie udało się zaimportować słowników: Nieudany import słowników z „/home/hube199/Pobrane/pl-dict.oxt”; naciśnij „Pokaż szczegóły”, by uzyskać więcej informacji.

Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/tweak_book/spell.py", line 122, in accept
num = import_from_oxt(oxt, nick)
File "/usr/lib/calibre/calibre/spell/import_from.py", line 139, in import_from_oxt
dd, ad = convert_to_utf8(read_file(dic), read_file(aff))
File "/usr/lib/calibre/calibre/spell/import_from.py", line 52, in convert_to_utf8
codecs.lookup(enc)
TypeError: lookup() argument must be str, not bytes


And i can't install dictionaries from otx
stolica1968 is offline   Reply With Quote