[publican-list] Error: no ID for constraint linkend

Michele Baldessari michele at acksyn.org
Wed Nov 12 15:55:46 UTC 2014


Hi all,

I am trying to get the docbook files contained in the Performance
Co-Pilot project [1] compiling on a recent publican version
(publican-4.2.6-0.fc21.noarch). After adding an <abstract>
section to Book_Info.xml and the missing Revision_History.xml/
Author_Group.xml files, I get the book compiling (only if I add
--novalid to the publican arguments though). 
In any case I get these "no ID constraint linkend" like the following:
"""
DEBUG: Publican: config loaded
Setting up en-US
        Processing file tmp/en-US/xml/Common_Content/Conventions.xml -> tmp/en-US/xml/Common_Content/Conventions.xml
        Processing file tmp/en-US/xml/Common_Content/Feedback.xml -> tmp/en-US/xml/Common_Content/Feedback.xml
        Processing file tmp/en-US/xml/Common_Content/Legal_Notice.xml -> tmp/en-US/xml/Common_Content/Legal_Notice.xml
        Processing file tmp/en-US/xml/Common_Content/Program_Listing.xml -> tmp/en-US/xml/Common_Content/Program_Listing.xml
        Processing file tmp/en-US/xml/Common_Content/Revision_History.xml -> tmp/en-US/xml/Common_Content/Revision_History.xml
        Processing file tmp/en-US/xml_tmp/Author_Group.xml -> tmp/en-US/xml/Author_Group.xml
        Processing file tmp/en-US/xml_tmp/Book_Info.xml -> tmp/en-US/xml/Book_Info.xml
        Processing file tmp/en-US/xml_tmp/Revision_History.xml -> tmp/en-US/xml/Revision_History.xml
        Processing file tmp/en-US/xml_tmp/pcp-users-and-administrators-guide.xml -> tmp/en-US/xml/pcp-users-and-administrators-guide.xml
Beginning work on en-US
        Starting pdf
        Using XML::LibXSLT on /usr/share/publican/xsl/html-pdf.xsl
Error: no ID for constraint linkend: IG31371888122.
Error: no ID for constraint linkend: IG31371888121.
Error: no ID for constraint linkend: IG31371888127.
Error: no ID for constraint linkend: ITch03-15.
Error: no ID for constraint linkend: ITch03-18.
Error: no ID for constraint linkend: IG31371888143.
Error: no ID for constraint linkend: IG31371888144.
Error: no ID for constraint linkend: IG31371888146.
Error: no ID for constraint linkend: IG31371888147.
Error: no ID for constraint linkend: IG31371888124.
Error: no ID for constraint linkend: ITch03-22.
Error: no ID for constraint linkend: ITch03-23.
Error: no ID for constraint linkend: ITch03-24.
Error: no ID for constraint linkend: ITch03-25.
Error: no ID for constraint linkend: IG31371888141.
Error: no ID for constraint linkend: IG31371888150.
Error: no ID for constraint linkend: IG31371888149.
Error: no ID for constraint linkend: IG31371888148.
Error: no ID for constraint linkend: ITch03-30.
Error: no ID for constraint linkend: IG31371888140.
Error: no ID for constraint linkend: IG31371888152.
Error: no ID for constraint linkend: IG31371888145.
Error: no ID for constraint linkend: IG31371888125.
Error: no ID for constraint linkend: IG31371888126.
Error: no ID for constraint linkend: IG31371888123.
Running: /usr/local/bin/wkhtmltopdf ....
"""

To me these ID do exist and I cannot see anything all too
special about them. For example:
"""
<varlistentry>                  
<term><filename>${PCP_DIR}/etc/pcp.conf</filename></term>
<listitem><para><indexterm id="IG31371888122"><primary>${PCP_DIR}/etc/pcp.conf file</primary></indexterm>PCP    
configuration and environment file.</para>
</listitem></varlistentry>      
"""

Is there anything obvious I am missing, or are there some steps I should take
to troubleshoot this further? Feel free to clue me in as I have just started looking
at publican, I am complete newbie.

Thanks and regards,
Michele

[1] https://github.com/performancecopilot/pcp/tree/dev/books/PCP_UAG
-- 
Michele Baldessari            <michele at acksyn.org>
C2A5 9DA3 9961 4FFB E01B  D0BC DDD4 DCCB 7515 5C6D




More information about the publican-list mailing list