Answers.Body: <p>I am not sure why my solution fixed the error message but I simply removed <code>id</code> attribute from <code>idx:entry</code> tag, but I left the <code>id</code> attribute alone in <code>a</code> under <code>idx:entry</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-11T14:49:34.867Z
Answers.LastActivityDate: 2020-01-11T14:49:34.867Z
Answers.UserDisplayName: Kaan E.
Body: <p>Hi I am trying to create a dictionary for my kindle. 
  It is quite a large one, and I've splitted into 16 files each of them are around 20mb. While I am trying to generate the dictionary, kindlegen gives me the following error: </p>
  
  <p><code>Error(prcgen):E21013: Two &lt;idx:entry&gt; tags cannot have the same id.</code>
  I have checked the script that is generating the dictionary entries and each file individually, there is simply no identical id fields. Plus it says that the error is found in third file, while <code>Info(prcgen):I1003: Parsing file URL:</code> shows the second file. I tried to put the xhtml files in a different directory as well and refer to them in <code>metadata.opf</code> but still I am having the same error</p>
  
  <p>Here is the complete error message:</p>
  
  <pre><code>kindlegen metadata.opf -c2 -verbose -o blator.mobi
  
  *************************************************************
   Amazon kindlegen(Linux) V2.9 build 1028-0897292 
   A command line e-book compiler 
   Copyright Amazon.com and its Affiliates 2014 
  *************************************************************
  
  Info:I9007:option: -c2: Kindle Huffdic compression
  Info:I9014:option: -verbose: Verbose output
  Info(prcgen):I1047: Added metadata dc:Title        "My Book"
  Info(prcgen):I1047: Added metadata dc:Creator      "Me and my crew"
  Info(prcgen):I1002: Parsing files  0000143
  Info(prcgen):I1003: Parsing file     URL: blat-0.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: blat-1.xhtml
  Warning(index build):W15001: inflection rule or rule group too long (max=255). Discarded.
  Error(prcgen):E21013: Two &lt;idx:entry&gt; tags cannot have the same id.
  
  </code></pre>
  
  <p>Any idea ?
  Thanks in advance</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-11T01:29:18.500Z
Comments.Text: @NemoXXX, all right, edited accordingly
Comments.UserDisplayName: Kaan E.
Tags: <kindle><dictionaries><kindlegen>
Title: kindlegen dictionary creation
UserDisplayName: Kaan E.
ThreadText: # kindlegen dictionary creation
  
  (Asked by: username_0 on 2020-01-08)
  
  Hi I am trying to create a dictionary for my kindle. 
  It is quite a large one, and I've splitted into 16 files each of them are around 20mb. While I am trying to generate the dictionary, kindlegen gives me the following error: 
  Error(prcgen):E21013: Two  tags cannot have the same id.
  I have checked the script that is generating the dictionary entries and each file individually, there is simply no identical id fields. Plus it says that the error is found in third file, while Info(prcgen):I1003: Parsing file URL: shows the second file. I tried to put the xhtml files in a different directory as well and refer to them in metadata.opf but still I am having the same error
  Here is the complete error message:
  kindlegen metadata.opf -c2 -verbose -o blator.mobi
  
  *************************************************************
   Amazon kindlegen(Linux) V2.9 build 1028-0897292 
   A command line e-book compiler 
   Copyright Amazon.com and its Affiliates 2014 
  *************************************************************
  
  Info:I9007:option: -c2: Kindle Huffdic compression
  Info:I9014:option: -verbose: Verbose output
  Info(prcgen):I1047: Added metadata dc:Title        "My Book"
  Info(prcgen):I1047: Added metadata dc:Creator      "Me and my crew"
  Info(prcgen):I1002: Parsing files  0000143
  Info(prcgen):I1003: Parsing file     URL: blat-0.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: blat-1.xhtml
  Warning(index build):W15001: inflection rule or rule group too long (max=255). Discarded.
  Error(prcgen):E21013: Two  tags cannot have the same id.
  
  
  Any idea ?
  Thanks in advance
  
  **Tags:** kindle, dictionaries, kindlegen
  
  > **Comments:**
  > **username_0**: @NemoXXX, all right, edited accordingly  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-01-11. Score: 1
  
  I am not sure why my solution fixed the error message but I simply removed `id` attribute from `idx:entry` tag, but I left the `id` attribute alone in `a` under `idx:entry`.
  
  
  ---
  
  