Les erreurs de kindlegen¶
Bien qu’abandonné depuis 2014 par Amazon, kindlegen reste le meilleur outil, à cette date, pour créer un dictionnaire au format Mobipocket (.mobi).
Indication
Ces arguments cachés peuvent être utiles lors de l’utilisation de kindlegen :
$ kindlegen -gen_ff_mobi7 -dont_append_source -verbose ...
⚠️ Avertissements¶
W14010: Media file not found¶
L’image n’est pas trouvée :
Warning(prcgen):W14010: media file not found /.../OEBPS/xxx.gif
W14024: Unrecognized language code¶
Code langue inconnu :
Warning(prcgen):W14024: Unrecognized language code in dc:Language metadata field.
W14216: Tag does not have a name attribute¶
La balise HTML n’a pas d’attribut :
Warning(prcgen):W14216: tag does not have a name attribute : tag will be ignored
in file: /.../OEBPS/g000002.xhtml line: 0005725
W15001: Inflection rule or rule group too long¶
Trop de variantes :
Warning(index build):W15001: inflection rule or rule group too long (max=255). Discarded.
W15003: Unicode string too long¶
Au moins un mot contient plus de 127 caractères :
Warning(index build):W15003: unicode string too long (max=127). Truncated.
W29004: Forcefully closed opened tag¶
Fermeture forcée d’une balise HTML :
Warning(inputpreprocessor):W29004: Forcefully closed opened Tag: <p>
in file: /.../OEBPS/g000002.xhtml line: 0005725
W29007: Rejected unknown tag¶
Balaise HTML inconnue :
Warning(inputpreprocessor):W29007: Rejected unknown tag: <bdi>
in file: /.../OEBPS/g000002.xhtml line: 0005725
😱 Erreurs¶
E23006: Language not recognized in metadata¶
Code langue inconnu :
Error(prcgen):E23006: Language not recognized in metadata. The dc:Language field is mandatory. Aborting.
E23026: The maximum book size we support is 650 MB¶
Code langue inconnu :
Error(prcgen):E23026: The maximum book size we support is 650 MB. Please reduce the overall size of the book and re-compile.
E25002: Single entry exceeds record size¶
Erreur interne critique :
Error(index build):E25002: single entry exceeds record size (max=64k): aborting index build.
E25006: Overflowing character table in Unicode¶
Trop de caractères différents sont utilisés :
Error(index build):E25006: overflowing character table in UNICODE: in indexes, you can use a total of 256 different characters from the following unicode ranges: U+0000-U+02FF(latin), U+3000-U+30FF(kana), U+FF00-U+FF9F(alt. width latin+kana).
Double free or corruption¶
Erreur interne critique :
*** glibc detected *** /.../kindlegen: double free or corruption (!prev): 0x1ddd45a8 ***
======= Backtrace: =========
[0x8813970]
(...)
[0x882a39e]
======= Memory map: ========
08048000-09b61000 r-xp 00000000 103:02 23986212 /.../kindlegen
09b61000-09b93000 rw-p 01b19000 103:02 23986212 /.../kindlegen
09b93000-09bda000 rw-p 00000000 00:00 0
0ae2f000-24dda000 rw-p 00000000 00:00 0 [heap]
c6d00000-c6d90000 rw-p 00000000 00:00 0
(...)
f72e0000-f7ae0000 rw-p 00000000 00:00 0
f7ae0000-f7d59000 r--p 00073000 103:02 23352947 /usr/lib/locale/locale-archive
f7d59000-f7f59000 r--p 00000000 103:02 23352947 /usr/lib/locale/locale-archive
f7fab000-f7fad000 rw-p 00000000 00:00 0
f7fad000-f7fb1000 r--p 00000000 00:00 0 [vvar]
f7fb1000-f7fb3000 r-xp 00000000 00:00 0 [vdso]
ffa64000-ffa87000 rw-p 00000000 00:00 0 [stack]