Stream: IG creation
Topic: dependency error with lattest build
Eric Haas (May 15 2018 at 23:32):
this
"dependencyList": [ { "name": "uscore", "location": "http://hl7.org/fhir/us/core", "source": "dependencies/uscore-vp", "version": "dev" }
give me this:
Publishing Content Failed: Package Id for canonical guide is unknown (contact FHIR Product Director (22.0865sec) (22.0865sec) Use -? to get command line help (22.0866sec) (22.0866sec) Stack Dump (for debugging): (22.0866sec) java.lang.Exception: Package Id for canonical guide is unknown (contact FHIR Product Director at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:1334) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1016) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:474) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4468) Exception in thread "main" java.lang.NullPointerException at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4478) Erics-Air-2:IG-Template2 ehaas$
in latest build. has this not been implemented yet either or am I doing something wrong?
Grahame Grieve (May 16 2018 at 04:42):
I expect that should work
Grahame Grieve (May 16 2018 at 04:54):
can you send me the wholel og? something has gone wrong earlier
Eric Haas (May 16 2018 at 04:59):
og? do you mean ig?
Grahame Grieve (May 16 2018 at 05:01):
log - sorry
Eric Haas (May 16 2018 at 15:20):
here is the entire output from my console: ( is there a log file produced... I have never seen one)
Erics-Air-2:IG-Template2 ehaas$ bash pub3.sh -o ================================================================= === Publish IG-Template2 IG!!! Wed May 16 15:17:26 UTC 2018 === see local workflow.md file for how to use Optional Parameters -d parameter = create definitions files = -s parameter = source directory = -t parameter for no terminology server (run faster and offline)= -o parameter for running latest version of the igpublisher= 1 === create ig.json and ig.xml in /Users/ehaas/documents/fhir/IG-Template2 and ../ === ================================================================= getting rid of .DS_Store files since they gum up the igpublisher.... ================================================================= === run most recent version of the igpublisher === ================================================================= FHIR Implementation Guide Publisher (v3.4.0-13761, gen-code v3.4.0-13757) @ Wednesday, May 16, 2018 8:17:27 AM Detected Java version: 1.8.0_65 from /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre on x86_64 (64bit). 1820MB available Package Cache: /Users/ehaas/.fhir/packages Load Configuration from /Users/ehaas/Documents/FHIR/IG-Template2/ig.json (00.0013sec) Logging progress Root directory: /Users/ehaas/Documents/FHIR/IG-Template2 (00.0083sec) Terminology Cache is at /Users/ehaas/Documents/FHIR/IG-Template2/generated_output/txCache. 66 files in cache (00.0101sec) Contacting Build Server... (00.0103sec) ... done (01.0044sec) Load hl7.fhir.core-3.0.1 package from /Users/ehaas/.fhir/packages/hl7.fhir.core-3.0.1 (01.0050sec) Load Terminology Cache from /Users/ehaas/Documents/FHIR/IG-Template2/generated_output/txCache (22.0414sec) Connect to Terminology Server at http://tx.fhir.org/r4 (22.0414sec) -tx: Connect to http://tx.fhir.org/r4 Publishing Content Failed: Package Id for canonical guide is unknown (contact FHIR Product Director (24.0361sec) (24.0361sec) Use -? to get command line help (24.0362sec) (24.0362sec) Stack Dump (for debugging): (24.0362sec) java.lang.Exception: Package Id for canonical guide is unknown (contact FHIR Product Director at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:1334) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1016) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:474) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4468) Exception in thread "main" java.lang.NullPointerException at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4478) Erics-Air-2:IG-Template2 ehaas$
The first bit is all my bash script.
Eric Haas (May 16 2018 at 15:22):
I am using the validator.pack file from my local UsCore Ig and here is the Users/ehaas/.fhir folder
Eric Haas (May 16 2018 at 15:25):
Screen-Shot-2018-05-16-at-8.25.01-AM.png
Last updated: Apr 12 2022 at 19:14 UTC