FHIR Chat · error with the '-publish' option · IG creation

Stream: IG creation

Topic: error with the '-publish' option


view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 14:10):

Just started to work on the release preparation (I'm sure I'll learn a lot for the IG releases thread :-)...

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 14:11):

When I compile with the -publish option the build fails with this message "Fatal Error! I/O error reported by XML parser processing file:/C:/Ruby26-x64/msys64/home/giorg/_github/hl7.fhir.it.base/template/onGenerate-ig-working.1.xml: Byte non valido 3 della sequenza UTF-8 a 3 byte. Cause: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Byte non valido 3 della sequenza UTF-8 a 3 byte."

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 14:12):

I've not this error by using the _genonce command

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 14:12):

suggestions ?

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 14:18):

Giorgio Cangioli said:

Cause: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Byte non valido 3 della sequenza UTF-8 a 3 byte."

I hope the error message is understandable even if in Italian ("non-valid byte....) ;-)

view this post on Zulip Jose Costa Teixeira (Jun 19 2020 at 14:47):

that is new...

view this post on Zulip Jose Costa Teixeira (Jun 19 2020 at 14:47):

seems an encoding thing

view this post on Zulip Jose Costa Teixeira (Jun 19 2020 at 14:48):

the template is somehow creating or transporting incorrect info...?

view this post on Zulip Jose Costa Teixeira (Jun 19 2020 at 14:49):

a few things (i can try to resolve this from the github repo if it's up to date):

view this post on Zulip Jose Costa Teixeira (Jun 19 2020 at 14:49):

  1. you can run _genonce.bat -publish (the .genonce pushes any parameters you give it to the publisher)

view this post on Zulip Jose Costa Teixeira (Jun 19 2020 at 14:50):

  1. can you try to validate your ig.xml for xml syntax just in case?

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 15:54):

mmhh.. with "_genonce.bat -publish" it works

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 15:55):

apart an exception on generating the temp\pages\_includes\package-list.json ; the build doesn't crash...

view this post on Zulip Giorgio Cangioli (Jun 19 2020 at 16:08):

funny ..I've retried with the command line "java -jar ../org.hl7.fhir.publisher.jar -ig ig.ini -publish" and it crashes with the same error documented above... I supposed it was the same command of _genonce.bat -publish


Last updated: Apr 12 2022 at 19:14 UTC