Stream: IG creation
Topic: Publisher error regarding publish-box
Christopher Schuler (Sep 10 2019 at 19:04):
IG repo: https://github.com/cqframework/opioid-cds-r4/tree/master
Getting the following error:
org.hl7.fhir.exceptions.FHIRException: The auto-build infrastructure does not publish IGs that contain HTML pages without the publish-box present. For further information, see note at http://wiki.hl7.org/index.php?title=FHIR_Implementation_Guide_Publishing_Requirements#HL7_HTML_Standards_considerations
However, I do have the publish-box declared as the link specifies in my templates. Is this an issue with the publisher? The IG was building just a couple of days ago.
Grahame Grieve (Sep 10 2019 at 19:18):
I’ll have to debug
Chris Moesel (Sep 10 2019 at 19:23):
@Christopher Schuler -- I see you put it in your container-start.html include file. Does that get inserted into every single html page in the IG? The publisher checks every one. If so, then maybe the <li>
tags you wrapped around it are causing the issue? In my IGs, I have it on its own line w/ no other tags to the left or right.
Grahame Grieve (Sep 10 2019 at 19:26):
It does have to be byte for byte perfect, not just close. (The comparison isn’t based on some canonical HTML)
Grahame Grieve (Sep 10 2019 at 19:57):
I can't run it - I'm on a plane and they've blocked github (!). Perhaps you could paste a fragment from your generated html files....
Eric Haas (Sep 10 2019 at 20:15):
Yes if you have a layout that gets included in the layout.
Eric Haas (Sep 10 2019 at 20:15):
sounds like my framework
Eric Haas (Sep 10 2019 at 20:16):
there are 2 layouts :
- static pages
- fhir artifacts
Eric Haas (Sep 10 2019 at 20:17):
most of the includes in the frameworks directory are included in these layouts to create templates for all the pages.
Eric Haas (Sep 10 2019 at 20:17):
( I went overboard with includes)
Eric Haas (Sep 11 2019 at 01:33):
this error took down US Core - all our pages have publish box . the error shuts down the build but does not say which page it is. which is not helpful.
Eric Haas (Sep 11 2019 at 01:59):
found it
icon_fixed.gif error The html source does not contain the publish box <!--ReleaseHeader--><p id="publish-box">Publish Box goes here</p><!--EndReleaseHeader--> (see note at http://wiki.hl7.org/index.php?title=FHIR_Implementation_Guide_Publishing_Requirements#HL7_HTML_Standards_considerations) icon_slice_item.png error The html source does not contain the publish box
this seems to be a ig-pub error
Chris Moesel (Sep 11 2019 at 11:52):
It's also affected at least one of the IGs MITRE produces as well (davinci-pdex-plan-net) -- although in our case we don't have any nice errors like Eric found that tell us the offending file.
Grahame Grieve (Sep 11 2019 at 11:56):
what error do you get then?
Grahame Grieve (Sep 11 2019 at 12:07):
@Eric Haas US core works for me.... not sure how you can get an error like htat
Grahame Grieve (Sep 11 2019 at 12:14):
no interesting... I can recreate that problem
Chris Moesel (Sep 11 2019 at 12:15):
@Grahame Grieve -- it just has this at the end:
Checking Output HTML (00:47.0913) found 1561 files (00:47.0919) Publishing Content Failed: The auto-build infrastructure does not publish IGs that contain HTML pages without the publish-box present. For further information, see note at http://wiki.hl7.org/index.php?title=FHIR_Implementation_Guide_Publishing_Requirements#HL7_HTML_Standards_considerations (00:54.0055) (00:54.0055) Use -? to get command line help (00:54.0055) (00:54.0055) Stack Dump (for debugging): (00:54.0055) org.hl7.fhir.exceptions.FHIRException: The auto-build infrastructure does not publish IGs that contain HTML pages without the publish-box present. For further information, see note at http://wiki.hl7.org/index.php?title=FHIR_Implementation_Guide_Publishing_Requirements#HL7_HTML_Standards_considerations at org.hl7.fhir.igtools.publisher.HTLMLInspector.check(HTLMLInspector.java:241) at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:3960) at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:732) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:610) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6437)
No clue what file is violating it -- but I don't recall getting any QA errors about missing publish-box before this change to the IG publisher.
Grahame Grieve (Sep 11 2019 at 12:16):
and you don't get anything else building locally?
Chris Moesel (Sep 11 2019 at 12:18):
TBH, haven't tried building locally. I'm just reporting this on behalf of someone else. I don't actually work on that project. But... I'll ask them to build locally and see if they get more data.
Grahame Grieve (Sep 11 2019 at 12:21):
they will. I'll release an update that fixes this stuff now
Chris Moesel (Sep 11 2019 at 13:41):
Is there a reason that the auto build doesn't log as much data as a local build then? It seems it would be really helpful to have all that data in order to debug failed builds (like this).
Grahame Grieve (Sep 11 2019 at 13:48):
It was blowing up before the log messages got written to the file output. It isn't doing that anymore
Saul Kravitz (Sep 11 2019 at 15:43):
davinci-pdex-plan-net no longer failing...thx
Eric Haas (Sep 23 2019 at 23:30):
getting this from qa.html again. not sure why is showing up. just downloaded latest ig-pub and CI build is down as well...
icon_fixed.gif error The html source does not contain the publish box <!--ReleaseHeader--><p id="publish-box">Publish Box goes here</p><!--EndReleaseHeader--> (see note at http://wiki.hl7.org/index.php?title=FHIR_Implementation_Guide_Publishing_Requirements#HL7_HTML_Standards_considerations) icon_slice_item.png error The html source does not contain the publish box
Sarah Gaunt (Sep 23 2019 at 23:33):
Same error on our IGs as well...
Sarah Gaunt (Sep 23 2019 at 23:38):
Our IGs won't even publish - they are failing.
Grahame Grieve (Sep 24 2019 at 12:20):
Sigh. That’s a transient error in the publication infrastructure. Should be gone now.
Grahame Grieve (Sep 24 2019 at 21:52):
definitely should be gone now
Last updated: Apr 12 2022 at 19:14 UTC