View Single Post
Old 09-17-2025, 06:39 PM   #1
Musrar
Member
Musrar began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2024
Device: Kindle Oasis
Kindlegen gets stuck on second xhtml for dictionary creation

As the title suggests, kindlegen gets stuck after parsing the first xhtml (I have 90 because the dictionary is very big). Here's the stuck terminal screen:

Code:
.\kindlegen.exe .\dictionary.opf -c0 -verbose -locale en -o "russian dict.mobi"

*************************************************************
 Amazon kindlegen(Windows) V2.9 build 1029-0897292
 A command line e-book compiler
 Copyright Amazon.com and its Affiliates 2014
*************************************************************

Info:I9005:option: -c0: No compression
Info:I9014:option: -verbose: Verbose output
Info(prcgen):I1047: Added metadata dc:Title        "Russian-English dictionary (Open Russian)"
Info(prcgen):I1047: Added metadata BASICCode       "REF008000"
Info(prcgen):I1047: Added metadata dc:Subject      "Dictionaries"
Info(prcgen):I1002: Parsing files  0000091
Info(prcgen):I1003: Parsing file     URL: dictionary_1.xhtml
Warning(index build):W15008: language not supported. Using default phonetics for spellchecker: english.
Warning(parser8):W26001: Index not supported for enhanced mobi.
Info(prcgen):I1003: Parsing file     URL: dictionary_2.xhtml
It just doesn't progress any further. I attached the opf file, and some xhtml files in a zip.

If I try to run kindlegen with a single xhtml reference in the opf file, then it works and it doest create a mobi (I also attached it). But of course it's uncomplete.

Unfortunately, if I try to create the dictionary from a complete hxtml file (125 MB), kindlegen just explodes, saying:

Code:
*************************************************************
 A command line e-book compiler
 Copyright Amazon.com and its Affiliates 2014
*************************************************************

Info:I9005:option: -c0: No compression
Info:I9014:option: -verbose: Verbose output
Info(prcgen):I1047: Added metadata dc:Title        "Russian-English dictionary (Open Russian)"
Info(prcgen):I1047: Added metadata BASICCode       "REF008000"
Info(prcgen):I1047: Added metadata dc:Subject      "Dictionaries"
Info(prcgen):I1002: Parsing files  0000001

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

What can I do to make kindlegen create the dictionary out of multiple xhtml files?

Many thanks.
Attached Files
File Type: opf dictionary.opf (11.6 KB, 55 views)
File Type: zip dictionary1-10 xhtml.zip (3.89 MB, 58 views)
File Type: mobi russian dict (only 1st xhtml).mobi (2.19 MB, 63 views)
Musrar is offline   Reply With Quote