![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Uninstall your linux distro provided calibre and use the official calibre binaries from https://calibre-ebook.com/download_linux
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually no, this bug is present in the official binaries as well, fixed in the next release. https://github.com/kovidgoyal/calibr...c2190ad300ce53
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Pocketbook PB-K-WW
|
Thank you Kovid
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Pocketbook PB-K-WW
|
I haven't in linux src/calibre/spell/import_from.py folder. Where i can find it?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look in the traceback you posted.
|
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,048
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
One question that comes to mind is if this is a version supplied by a Linux distribution or did you install it from Kovid's site ( https://calibre-ebook.com/download_linux )? Running the installer from Kovid's site should give output similar to the attached image. Last edited by DNSB; 10-18-2020 at 12:22 AM. Reason: added image for calibre Linux install using Kovid's site |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Polish dictionary for KOBO | San Zamoyski | Kobo Reader | 2 | 12-03-2023 03:38 AM |
Polish dictionary | San Zamoyski | Kindle Developer's Corner | 19 | 09-20-2018 05:41 AM |
Polish dictionary | San Zamoyski | Kindle Formats | 7 | 06-25-2016 12:45 PM |
Change firmware from polish reseler to Booxster's thread | Paisbrzuch | Onyx Boox | 1 | 07-31-2012 04:28 AM |
Converting PWN Oxford Polish-English dictionary to Mobipocket | owl123 | Workshop | 1 | 05-24-2010 07:07 AM |