FHIR Chat · Errors while publishing STU3 IG · implementers

Stream: implementers

Topic: Errors while publishing STU3 IG


view this post on Zulip Ravindra Kondiparthi (May 24 2020 at 18:55):

Hi ,

I am getting errors while trying to publish ig(based of STU3) using latest published jar. Below is the log. any help is appreciated.

Thanks
Ravi

= Log =
Package Cache: /Users/.fhir/packages
Load Template from hl7.fhir.template#current
Load Template from hl7.base.template#current
Load Template from fhir.base.template#current
Root directory: /Users/Documents/Records (1)
Terminology Cache is at /Users/Documents/Records (1)/input-cache/txcache. 1 files in cache
Connect to Terminology Server at http://tx.fhir.org
Connect to http://tx.fhir.org/r3
Initialization complete
Load Content
Processing Conformance Resources
Generating Narratives
Validating Resources
Processing Provenance Records
Generating Outputs in /Users/Documents/Records (1)/output
Exception generating page /Users/Documents/Records (1)/temp/pages/_includes/index.html: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
Generating Summary Outputs
Error : Template based HTML file index.html is missing source file index.md
org.hl7.fhir.igtools.publisher.Publisher.applyPageTemplate(Publisher.java:5427)
org.hl7.fhir.igtools.publisher.Publisher.applyPageTemplate(Publisher.java:5441)
org.hl7.fhir.igtools.publisher.Publisher.generateSummaryOutputs(Publisher.java:5377)
org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4583)
org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:839)
org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:688)
org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:265)
org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:254)
javax.swing.SwingWorker$1.call(SwingWorker.java:295)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
javax.swing.SwingWorker.run(SwingWorker.java:334)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

= System =
ig: /Users/Documents/Records (1)/ig.ini
current.dir:: /Users/Downloads/.
source: null
user.dir: /Users
tx.server: http://tx.fhir.org
tx.cache: /Users/fhircache
system.type: 64
system.cores: 8
system.mem.free: 1048899592
system.mem.max: 3817865216
system.mem.total: 1723858944
= Validation =

= IG =
[IG]
ig = input/hl7.fhir.us.records.json
template = hl7.fhir.template#current
usage-stats-opt-out = false

view this post on Zulip Lloyd McKenzie (May 24 2020 at 19:07):

Do you have an index.md file?

view this post on Zulip Ravindra Kondiparthi (May 24 2020 at 20:51):

No..I don't. where should i place that and what would be the contents of it?

view this post on Zulip Lloyd McKenzie (May 24 2020 at 23:48):

Apparently it's pointed to by your implementation guide - otherwise you wouldn't be getting the error. However, in practice, every IG should have an index page which is the 'home' page for your IG. Whether it's an index.md or an index.xml depends on whether you prefer to author using markdown or XHTML

view this post on Zulip Ravindra Kondiparthi (May 26 2020 at 16:53):

Thanks @Lloyd McKenzie adding index.md worked..


Last updated: Apr 12 2022 at 19:14 UTC