View Single Post
Old 12-14-2019, 06:22 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Failure to load French dictionnaries from .oxt

Hi

Now on Calibre 4.6.

I tried to install the latest French dictionaries which are included as .dic and .aff files in a Grammalecte oxt that I had downloaded and installed on my hard disk (Archlinux).

I failed

Code:
calibre, version 4.6.0
ERREUR : Échec à l'importation des dictionnaires: Échec à l'importation des dictionnaires depuis /home/roger/Documents/Documents pour EPUB/extensions OO/Grammalecte-fr-v1.6.0.oxt. Cliquer "Afficher les détails" pour plus d'information

Traceback (most recent call last):
  File "site-packages/calibre/gui2/tweak_book/spell.py", line 122, in accept
  File "site-packages/calibre/spell/import_from.py", line 126, in import_from_oxt
  File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
  File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
  File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
  File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
  File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
  File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
  File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
XMLSyntaxError: Namespace prefix manifest on manifest is not defined, line 2, column 19 (line 2)
Is it possible to install these .aff and .dic files manually in .config/calibre/calibre/dictionaries/dic-zffqqo ?
Why zffqqo?

My pref.json file in this folder contains

Quote:
{
"user_dictionaries": [
{
"is_active": true,
"name": "Par d\u00e9faut",
"words": [
[
"EPUB",
"fra"
]
]
}
]
}
Confused...
roger64 is offline   Reply With Quote