FHIR Chat · IG Publisher Jekyll issue · implementers

Stream: implementers

Topic: IG Publisher Jekyll issue


view this post on Zulip Arvind Jagannathan (May 18 2021 at 19:31):

Hello all,
I seem to be running into an issue with the IG Publisher where Jekyll claims that there's suddenly invalid syntax for a tag that has never been an issue before. In fact, this error popped up without me doing any changes to the IG that I'm attempting to publish. Here's the error info:
Jekyll has failed. Complete output from running Jekyll: ←[31m Liquid Exception: Invalid syntax for include tag. File contains invalid characters or sequences: StructureDefinition-1.3.6.1.4.1.19376.1.5.3.1.3.18-{{[fmt]}}-html.xhtml Valid syntax: {% include file.ext param='value' param2='value' %} in StructureDe (02:34.0974)
Note: Check that Jekyll is installed correctly (02:34.0975)
Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (02:34.0977)
(02:34.0977)
Use -? to get command line help (02:34.0977)
(02:34.0977)
Stack Dump (for debugging): (02:34.0978)
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:5621)
at org.hl7.fhir.igtools.publisher.Publisher.runTool(Publisher.java:5527)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4973)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:888)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:732)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8423)

Has anyone had any experience with something like this happening previously?

view this post on Zulip Lloyd McKenzie (May 18 2021 at 21:00):

Are you running the current version of the publisher? There was a post in #committers/announce indicating that there was a recent change to the 'current' base template that's dependent on the newest IG Publisher.

view this post on Zulip Arvind Jagannathan (May 18 2021 at 23:08):

I actually wanted to try checking if the latest version would fix the issue but the jar no longer seems to be at the same location it usually is in the github, https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar. Do you know where the new location for that is so I can give that a try? (ETA: disregard, found it)

view this post on Zulip Arvind Jagannathan (May 19 2021 at 03:56):

Updating the publisher fixed it, thanks.


Last updated: Apr 12 2022 at 19:14 UTC