FHIR Chat · IG Publisher Broken? · IG creation

Stream: IG creation

Topic: IG Publisher Broken?


view this post on Zulip Sarah Gaunt (Nov 26 2019 at 04:57):

Is the IG Publisher broken? Looks like all recent builds failing...

view this post on Zulip Grahame Grieve (Nov 26 2019 at 05:03):

oh crap. Something I was working on locally seems to have crept out into the real world

view this post on Zulip Grahame Grieve (Nov 26 2019 at 05:03):

and i'm teaching all day in Helsinki

view this post on Zulip Grahame Grieve (Nov 26 2019 at 05:03):

you should still be able to build locally

view this post on Zulip Sarah Gaunt (Nov 26 2019 at 05:04):

Yes, can still build locally.

view this post on Zulip Richard Townley-O'Neill (Nov 26 2019 at 06:09):

The current STU3 and R4 IGs have Σ instead of Σ in the structure tables.

view this post on Zulip Grahame Grieve (Nov 26 2019 at 06:11):

I hate java string encoding...

view this post on Zulip Grahame Grieve (Nov 27 2019 at 22:38):

actually this time it was the server. should be fixed now

view this post on Zulip ryan moehrke (Nov 28 2019 at 03:09):

This issue is still being shown on the base spec's r4 testScript but stu3 is fine, does it just need to be rebuilt?

view this post on Zulip Grahame Grieve (Nov 28 2019 at 03:50):

I think that's a caching issue on your side

view this post on Zulip Tim Blake (Nov 28 2019 at 03:51):

Suggestions for a fix? Have tried clearing the cache

view this post on Zulip Grahame Grieve (Nov 28 2019 at 03:59):

fix for what exactly?

view this post on Zulip Tim Blake (Nov 28 2019 at 04:03):

Well, is the error correct? Should a bundle of type message with a MessageHeader as the first entry have to trigger this constraint?

view this post on Zulip Grahame Grieve (Nov 28 2019 at 04:03):

I think this message must be out of pace - what error?

view this post on Zulip ryan moehrke (Nov 28 2019 at 04:06):

My comment does seem to be a caching error, same link in private mode loads the sigmas correctly. False alarm

view this post on Zulip Natasha Singh (Dec 03 2019 at 15:58):

Hi @Grahame Grieve I believe there is a hard-coded path (c://temp) in the publisher causing a bunch of FileNotFoundExceptions in the latest release (1.0.6-SNAPSHOT) of the IG publisher. I submitted a GitHub issue for it on the publisher's repo: https://github.com/HL7/fhir-ig-publisher/issues/43

view this post on Zulip May Terry (Dec 03 2019 at 17:29):

Hi Grahame Grieve I believe there is a hard-coded path (c://temp) in the publisher causing a bunch of FileNotFoundExceptions in the latest release (1.0.6-SNAPSHOT) of the IG publisher. I submitted a GitHub issue for it on the publisher's repo: https://github.com/HL7/fhir-ig-publisher/issues/43

I'm getting the same thing. Clearing the cache made no difference.

view this post on Zulip Grahame Grieve (Dec 03 2019 at 19:00):

sigh. I'm sorry about that. It should not have slipped out. I was in a hurry after spending 36 hours trying to get a build that worked

view this post on Zulip Natasha Singh (Dec 03 2019 at 19:49):

@Grahame Grieve No worries!

view this post on Zulip Natasha Singh (Dec 04 2019 at 18:26):

Hi @Grahame Grieve I'm running into another possible bug. I've made an issue for it on the fhir-ig-publisher: https://github.com/HL7/fhir-ig-publisher/issues/44.

Do you know if the new control file (.ini) is fully supported by the publisher? It seems like it may not be and thats where the bugs are coming from.

Thanks!

view this post on Zulip Grahame Grieve (Dec 04 2019 at 18:33):

the stack says that this is a hard coded file name in @Lloyd McKenzie's template

view this post on Zulip Grahame Grieve (Dec 04 2019 at 18:34):

at least, there's a hard coded path in the path-suppressed-warnings parameter in the IG, and either you added that, or the template did.

view this post on Zulip Natasha Singh (Dec 04 2019 at 18:34):

I'm seeing this with other paths too. The publisher looks for input/pagecontent too and breaks because I renamed it to input/pages.

These errors don't seem to happen when using the JSON control file.

view this post on Zulip Grahame Grieve (Dec 04 2019 at 18:34):

Its not an IGPublisher issue

view this post on Zulip Lloyd McKenzie (Dec 04 2019 at 21:32):

Right. The template requires files to be in specific places. That's one of the things a template does - it standardizes file organization and naming of the source.

view this post on Zulip Sarah Gaunt (Dec 20 2019 at 22:34):

@Grahame Grieve did you just update the IG publisher? I am all of a sudden getting the following (IG won't even build):

Publishing Content Failed: Unable to find the source file for Media/Activities: not specified, so tried Media-Activities.xml, Activities.Media.xml, Media-Activities.json, Media/Activities.xml, Media/Activities.json, Activities.xml, and Activities.json (and lowercase resource name variants) in dirs [/scratch/ig-build-temp-1LWGLN/repo/source/resources/implementationguide, /scratch/ig-build-temp-1LWGLN/repo/source/resources] (00:15.0303)
                                                                                 (00:15.0303)
Use -? to get command line help                                                  (00:15.0303)
                                                                                 (00:15.0303)
Stack Dump (for debugging):                                                      (00:15.0303)
java.lang.Exception: Unable to find the source file for Media/Activities: not specified, so tried Media-Activities.xml, Activities.Media.xml, Media-Activities.json, Media/Activities.xml, Media/Activities.json, Activities.xml, and Activities.json (and lowercase resource name variants) in dirs [/scratch/ig-build-temp-1LWGLN/repo/source/resources/implementationguide, /scratch/ig-build-temp-1LWGLN/repo/source/resources]
    at org.hl7.fhir.igtools.publisher.SimpleFetcher.fetch(SimpleFetcher.java:206)
    at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2605)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:766)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:657)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6691)

I haven't changed anything and the Activities.png file wasn't causing any problems previously...

view this post on Zulip Grahame Grieve (Dec 20 2019 at 22:49):

not me

view this post on Zulip Grahame Grieve (Dec 20 2019 at 22:49):

a new release coming now but no changes to anything like that

view this post on Zulip Sarah Gaunt (Dec 20 2019 at 22:50):

Ok tx

view this post on Zulip Sarah Gaunt (Dec 20 2019 at 22:54):

Found the issue - sorry - was my mistake.


Last updated: Apr 12 2022 at 19:14 UTC