Stream: IG creation
Topic: Funny issue
Jose Costa Teixeira (Aug 19 2020 at 10:38):
when I build my IG locally, i get
Exception in thread "main" java.lang.Error: Unable to continue because duplicate input resources were identified
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3004)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:811)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:676)
Jose Costa Teixeira (Aug 19 2020 at 10:39):
but CI build says
java.lang.Exception: Unable to find the source file for StructureDefinition/be-allergyIntolerance: not specified, so tried StructureDefinition-be-allergyIntolerance.xml, be-allergyIntolerance.StructureDefinition.xml, StructureDefinition-be-allergyIntolerance.json, StructureDefinition/be-allergyIntolerance.xml, StructureDefinition/be-allergyIntolerance.json, be-allergyIntolerance.xml, and be-allergyIntolerance.json (and lowercase resource name variants) in dirs [/scratch/ig-build-temp-KQJ6BF/repo/input, /scratch/ig-build-temp-KQJ6BF/repo/input/examples/Vaccination, /scratch/ig-build-temp-KQJ6BF/repo/input/scenarios, /scratch/ig-build-temp-KQJ6BF/repo/input/examples, /scratch/ig-build-temp-KQJ6BF/repo/input/extensions, /scratch/ig-build-temp-KQJ6BF/repo/input/models, /scratch/ig-build-temp-KQJ6BF/repo/input/profiles, /scratch/ig-build-temp-KQJ6BF/repo/input/vocabulary]
at org.hl7.fhir.igtools.publisher.SimpleFetcher.fetch(SimpleFetcher.java:223)
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2977)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:811)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:676)
Jose Costa Teixeira (Aug 19 2020 at 10:41):
i thought it could be due to me not committing some files, but I just downloaded the zip from github after the CI shows error 2, and when i run locally, I get the error 1
Grahame Grieve (Aug 19 2020 at 10:41):
case issue?
Jose Costa Teixeira (Aug 19 2020 at 11:08):
yes, thanks
Jose Costa Teixeira (Aug 19 2020 at 11:08):
(i was only looking at the files which are all lowercase allergyintolerance, but the IG calls it allergyIntolerance
Jose Costa Teixeira (Aug 19 2020 at 11:08):
now I get the same error on both systems
Jose Costa Teixeira (Aug 19 2020 at 11:08):
Exception in thread "main" java.lang.Error: Unable to continue because duplicate input resources were identified
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3004)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:811)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:676)
Jose Costa Teixeira (Aug 19 2020 at 11:11):
nevermind
Last updated: Apr 12 2022 at 19:14 UTC