Stream: IG creation
Topic: UTG Build (using IGPublisher)
Ted Klein (Sep 04 2019 at 18:40):
I have a bunch of updates and they are all working now, but adding a bunch of stuff including new tabs to the ValueSets page entry, and getting Jekyll errors - looks like one of the xhtml files to be included is not being generated properly, no doubt some minor syntactic or string naming error. I am using the exact same naming and other conventions as used for the Code Systems bits which are working fine...here is the error:
Ted Klein (Sep 04 2019 at 18:40):
Liquid Exception: Could not locate the included file 'List-v2-rendering-list-name-simple-valuesets.xhtml' in any of ["/Users/tedklein/Documents/tedhl7/vocabulary/Projects/UTG/alphaProd/UTGtoolTesting/temp/_includes"]. Ensure it exists in one of thos (00:03:11.0759sec)
Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:03:11.0759sec)
(00:03:11.0760sec)
Use -? to get command line help (00:03:11.0760sec)
(00:03:11.0760sec)
Stack Dump (for debugging): (00:03:11.0760sec)
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at org.hl7.fhir.igtools.publisher.Publisher.runJekyll(Publisher.java:4458)
at org.hl7.fhir.igtools.publisher.Publisher.runTool(Publisher.java:4378)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:3894)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:728)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:606)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6402)
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6412)
teds-third-mbp:FHIR_tool_stuff tedklein$
Ted Klein (Sep 04 2019 at 18:41):
Anyone have any clue?
Ted Klein (Sep 04 2019 at 18:43):
the id of the manifest is indeed "v2-rendering" which is also referenced by the manifest-driven code system v2 tab md file. The xhtml file list-simple-valuesets.xhtml is being generated in the temp/_includes directory fine as well...so something small that I don't understand in the file nnmeing conventions perhaps...
Eric Haas (Sep 04 2019 at 18:48):
its usually a typo in your file name check your {% include [file name %} : since this file List-v2-rendering-list-name-simple-valuesets.xhtml in located in the the temp/_includes directory look there to see if it indeed is missing.
Ted Klein (Sep 04 2019 at 19:32):
ok it was not a filename issue, apparently there is another level of indirection I didn't grasp at first. Its working now.
Ted Klein (Sep 05 2019 at 15:18):
I am trying to add a new set of material to the IG build, and in searching for why it is either causing a failure in the build, or it is just not showing up, I am hunting down where it 'knows' to find the resources that are to be included in the build. I see in the resources folder the links in ig-new.json and ig-new.xml to the resources that should be loaded for the IG, and although I added the paths for the additional material, the code system.xhtml fragments for the 2 code systems in question are not being created in temp during the build (so there is a failure later when they are references in the html and md tab control files). Do these paths need to be compiled into the jar file, or are they read when it runs?
Rob Hausam (Sep 05 2019 at 15:51):
It should be controlled by ig.json and resources/utg.xml. The "ig.xml" (in this case utg.xml) file typically has a <definition> tag with <resource> and <page> subtags, But UTG is configured differently than other IGs that I've been working with, as the <definition> tag in utg.xml is currently empty. I'm not sure why that is, and I would have to further look into the implications of that.
Grahame Grieve (Sep 05 2019 at 20:17):
Do these paths need to be compiled into the jar file
There's never any reason for you to change the jar.
Grahame Grieve (Sep 05 2019 at 20:17):
UTG is controlled out of ig.json
Rob Hausam (Sep 05 2019 at 21:25):
makes sense - thanks
Last updated: Apr 12 2022 at 19:14 UTC