Stream: IG creation
Topic: IG publisher v93 error
Richard Townley-O'Neill (Nov 12 2019 at 07:32):
When I run FHIR IG Publisher Version 0.9.93-SNAPSHOT - Built 2019-11-11T15:19:07.322+11:00 - Git f882e9dbf8f7
I get
Installing hl7.fhir.r3.core#3.0.2 to the package cache
Fetching:............................................................................................................
...................................................................Publishing Content Failed: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $ (00:54.0388)
Richard Townley-O'Neill (Nov 12 2019 at 07:32):
v92 is OK
Sarah Gaunt (Nov 12 2019 at 07:40):
Oh! We are getting this too... I was assuming it was something on our end. Am just committing something to test...
Sarah Gaunt (Nov 12 2019 at 07:41):
Darn it - spent hours trying to debug that one!
Sarah Gaunt (Nov 12 2019 at 07:42):
It's not happening on all our IGs - which was totally throwing me off - @Sean McIlvenna said it was happening for an R4 IG, but eCR which is R4 runs fine.
Richard Townley-O'Neill (Nov 12 2019 at 07:45):
I ran it on someone else's and thought it was their work. Tried one of ours and it also failed. Both run OK with v92.
Sarah Gaunt (Nov 12 2019 at 07:45):
So it is odd - it is NOT throwing this error when I run through the CI build but it is throwing it when I run locally or in Trifolia. @Richard Townley-O'Neill are you running locally?
Richard Townley-O'Neill (Nov 12 2019 at 07:45):
Locally.
Sarah Gaunt (Nov 12 2019 at 07:47):
Yeah so the VRDR one I just ran in CI is failing, but for another reason. But it definitely fails with that malformed JSON error locally (and in Trifolia). @Grahame Grieve any ideas?
Richard Townley-O'Neill (Nov 12 2019 at 07:47):
I'm using 92 for today.
Grahame Grieve (Nov 12 2019 at 08:35):
umm, I'll investigate but I'm nearly out of battery... it's working for me
Mounika (Nov 12 2019 at 10:17):
Hi @Richard Townley-O'Neill . Can you please share me v92 IG publisher.
Sean McIlvenna (Nov 12 2019 at 16:32):
Yah, I've seen this error, too. @Grahame Grieve I first encountered this when trying to re-run cda-ccda-2.0 to test if the "base is null" issue is fixed. But, it sounds like some other people aren't having this problem, also.. Some do, some don't. Inconsistent :/
Grahame Grieve (Nov 12 2019 at 19:56):
can someone getting this error - because I don't know how to reproduce it - please look at
<cache>/<package-id>#<version>/package/.index.json and tell me whether it's valid?
Nagesh Bashyam (Nov 12 2019 at 20:36):
The .index.json has this weird character at the begining
<U+FEFF>
That makes the JSON invalid
Eric Haas (Nov 12 2019 at 21:54):
I don't get it locally but got it on the autobuilder just now.
Sarah Gaunt (Nov 12 2019 at 22:25):
Did you change something? Because I just ran mine locally (changing nothing from last night) and it didn't error (well, at least not with that "malformed json" error!).
Sarah Gaunt (Nov 12 2019 at 22:26):
And it works in Trifolia now too!
Grahame Grieve (Nov 12 2019 at 22:35):
good
Richard Townley-O'Neill (Nov 14 2019 at 03:41):
@Mounika
For next time, they can be downloaded from https://github.com/FHIR/latest-ig-publisher/commits/master
and v92 can be got from https://github.com/FHIR/latest-ig-publisher/tree/c59df27aa79f5dfe9c0f695b7727c2da8ef775a5
Richard Townley-O'Neill (Nov 14 2019 at 04:08):
Or look for links from https://chat.fhir.org/#narrow/stream/179297-committers.2Fnotification/topic/java.20IGPublisher
Last updated: Apr 12 2022 at 19:14 UTC