Stream: IG creation
Topic: Error from auto-ig-builder
Torben M. Hagensen (Sep 08 2020 at 14:29):
Hi (I posted this question on the shorthand stream and was advised to post it here)
The webhook "auto-ig-builder" on my GitHub project fails with the following message (snippet from build.log) but works when I run _genonce locally.
Does anyone have an idea what goes wrong? My profiles are fhirVersion: 4.0.1, but it seems to run som r5 code.
...
onGenerate:
Exception in thread "main" java.lang.Error: Wrong node type
at org.hl7.fhir.utilities.xhtml.XhtmlNode.addComment(XhtmlNode.java:210)
at org.hl7.fhir.r5.renderers.DataRenderer.makeExceptionXhtml(DataRenderer.java:1028)
at org.hl7.fhir.r5.renderers.BundleRenderer.render(BundleRenderer.java:298)
at org.hl7.fhir.igtools.publisher.Publisher.getXhtml(Publisher.java:7532)
at org.hl7.fhir.igtools.publisher.Publisher.saveDirectResourceOutputs(Publisher.java:7023)
at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:6485)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4790)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:848)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:694)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8041)
Grahame Grieve (Sep 08 2020 at 20:48):
the IG publisher internally is all R5 code; this is nothing to do with the version that you're working with
Grahame Grieve (Sep 08 2020 at 20:50):
this is a bug in the IGPublisher that I just fixed.
Grahame Grieve (Sep 08 2020 at 20:50):
the cause of the difference to local is that you're probably running something earlier than 1.1.17 locally
Grahame Grieve (Sep 08 2020 at 20:52):
the actual underlying issue is that something in one of your bundles is failing to render.
Torben M. Hagensen (Sep 09 2020 at 06:21):
Grahame Grieve said:
the actual underlying issue is that something in one of your bundles is failing to render.
Thanks, I will chase the issues in my bundles
Grahame Grieve (Sep 09 2020 at 09:37):
should be right now anyway
Jens Villadsen (Sep 09 2020 at 17:32):
continuing on this matter: @Grahame Grieve, I believe there's a conversion bug. The builder complains on the attribute 'copyright' on NamingSystem: se https://build.fhir.org/ig/hl7dk/dk-core/branches/master/failure/build.log
Jens Villadsen (Sep 09 2020 at 17:34):
and AFAIK, NamingSystem is not a canonical resource in R4
Grahame Grieve (Sep 09 2020 at 17:37):
thanks. the problem is that NamingSystem doesn't implement Copyright in R5. Fixed next release
Jens Villadsen (Sep 09 2020 at 17:47):
as expected - thx
Jens Villadsen (Sep 10 2020 at 12:30):
@Grahame Grieve whats the ETA?
Grahame Grieve (Sep 10 2020 at 16:15):
probably immediately after the connectathon
Jens Villadsen (Sep 14 2020 at 16:48):
Has that time arrived yet @Grahame Grieve ?
Grahame Grieve (Sep 14 2020 at 16:50):
I'm chasing down a few bugs and then I'm releasing. Hopefully in the next 8-10 hours
Jens Villadsen (Sep 14 2020 at 16:52):
okay - thx - crossing fingers
Jens Villadsen (Sep 16 2020 at 10:11):
Jens Villadsen (Sep 16 2020 at 10:12):
@Grahame Grieve ahem ....
Jens Villadsen (Sep 16 2020 at 10:13):
my other IG that I work on that runs on DSTU3 is sort of complaining ...
Jens Villadsen (Sep 16 2020 at 10:13):
Running on FHIR IG Publisher Version 1.1.23 (Git# e6f38af2bf3c). Built 2020-09-16T05:37:51.166Z (4 hours old)
Etienne Cantineau (Sep 16 2020 at 11:30):
@Jens Villadsen I'm having the same issue with NamingSystem since my upgrade from 1.1.20 to 1.1.23
Grahame Grieve (Sep 16 2020 at 11:57):
damn that should not be happening with 1.1.23
Jens Villadsen (Sep 16 2020 at 11:57):
well it did
Grahame Grieve (Sep 16 2020 at 22:48):
should be fixed in 1.1.24
Jens Villadsen (Sep 17 2020 at 07:32):
You might also wanna check eg. https://build.fhir.org/ig/hl7dk/dk-core/branches/master/build.log - I can see there are other errors as well - on Implementation Guide
Jens Villadsen (Sep 17 2020 at 07:32):
that runs on R4
Last updated: Apr 12 2022 at 19:14 UTC