FHIR Chat · Publisher Error: Snapshots not found? · IG creation

Stream: IG creation

Topic: Publisher Error: Snapshots not found?


view this post on Zulip Noemi Deppenwiese (Sep 07 2020 at 14:22):

I added a new dependency (de.medizininformatikinitiative.kerndatensatz.fall#0.9.1, from Simplifier) to one of my IGs. Now, the publishing process fails:
Using version 1.1.17

Generating Snapshots                                                             (00:14.0343)
Publishing Content Failed: No snapshot found on https://www.medizininformatik-initiative.de/fhir/core/StructureDefinition/Fall (00:14.0660)
                                                                                 (00:14.0662)
Use -? to get command line help                                                  (00:14.0663)
                                                                                 (00:14.0664)
Stack Dump (for debugging):                                                      (00:14.0665)
java.lang.Exception: No snapshot found on https://www.medizininformatik-initiative.de/fhir/core/StructureDefinition/Fall
        at org.hl7.fhir.igtools.publisher.Publisher.generateSnapshots(Publisher.java:4383)
        at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:3691)
        at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:826)
        at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:683)
        at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8022)

Is something wrong with the package or is it the publisher?

view this post on Zulip Noemi Deppenwiese (Sep 07 2020 at 14:23):

(The Resource in Question is a LogicalModel)

view this post on Zulip Ward Weistra (Sep 07 2020 at 14:28):

The IG Publisher trips over the resource in question not having the snapshot populated, which indeed seems to be the case: https://simplifier.net/packages/de.medizininformatikinitiative.kerndatensatz.fall/0.9.1/files/131316/~xml

A snapshot is not currently required for resources in packages, but it has been expressed that it is desirable. We will at some point start populating them by default.
I was under the impression that @Grahame Grieve had build something in the IG publisher that would automatically generate the snapshot if not found, but I'm not sure.

view this post on Zulip Jose Costa Teixeira (Sep 07 2020 at 19:42):

For Logical Models, i only use differential and the publisher does the rest

view this post on Zulip Grahame Grieve (Sep 07 2020 at 19:48):

I certainly expect snapshots to be generated on the fly. In fact, I don't understand that error. Can I reproduce this?

view this post on Zulip Noemi Deppenwiese (Sep 08 2020 at 08:37):

How to reproduce: Add this to SUSHI config.yaml:

dependencies:
  de.medizininformatikinitiative.kerndatensatz.fall:
    uri: https://simplifier.net/packages/de.medizininformatikinitiative.kerndatensatz.fall/0.9.1/files/131317
    version: 0.9.1

Tested it with the config generated by sushi --init.

view this post on Zulip Lloyd McKenzie (Sep 08 2020 at 13:40):

I'm now getting this with my 2016May builds - and nothing has changed there. So something has changed in the publisher @Grahame Grieve

view this post on Zulip Vassil Peytchev (Sep 08 2020 at 13:42):

Is that with the latest (1.1.19 as of now) version of the Publisher?

view this post on Zulip Grahame Grieve (Sep 08 2020 at 23:57):

I don't see how that works; I don't know how to convert that link into a package

view this post on Zulip Grahame Grieve (Sep 09 2020 at 00:36):

ok the reason that this fails is because the profile itself is invalid. The IG publisher is not presenting the error correctly; I have fixed that for the next release

view this post on Zulip Grahame Grieve (Sep 09 2020 at 00:36):

@Lloyd McKenzie this is not your problem

view this post on Zulip Lloyd McKenzie (Sep 09 2020 at 01:00):

I have a 'special' problem? :)

view this post on Zulip Grahame Grieve (Sep 09 2020 at 01:15):

yep. you have lots of invalid constraints

view this post on Zulip Grahame Grieve (Sep 09 2020 at 01:18):

but they didn't used to be an issue and I've found out why they've suddenly turned into an issue.


Last updated: Apr 12 2022 at 19:14 UTC