FHIR Chat · IG build currently broke · genomics

Stream: genomics

Topic: IG build currently broke


view this post on Zulip Patrick Werner (Jul 13 2018 at 12:32):

Since the last commit "Updated to run using newest version of IGPublisher": https://github.com/HL7/genomics-reporting/commit/33bcc1d1132599f76288090093ecda064d832cb8

The build fails:

org.hl7.fhir.exceptions.FHIRException: Problem processing expression contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() in profile http://hl7.org/fhir/StructureDefinition/CodeSystem path CodeSystem: Error at 1, 14: The function "trace" requires 1 parameters

view this post on Zulip Kevin Power (Jul 13 2018 at 16:59):

Hmm, I can concur with @Patrick Werner - my local build fails on the same error after ensuring I have the latest from GitHub. But it seems the IG did build and deploy on build.fhir.com so not sure what is going on? @Lloyd McKenzie ?

view this post on Zulip Lloyd McKenzie (Jul 13 2018 at 18:18):

It's a problem with DomainResource - I'm not totally clear on what @Grahame Grieve's intention here, so I'm going to let him to decide on the fix.

view this post on Zulip Kevin Power (Jul 24 2018 at 18:27):

Just FYI @Lloyd McKenzie @Grahame Grieve - I am still seeing this build failure locally, any input?

view this post on Zulip Grahame Grieve (Jul 24 2018 at 20:13):

which IG is this?

view this post on Zulip Kevin Power (Jul 24 2018 at 20:14):

https://github.com/HL7/genomics-reporting

view this post on Zulip Grahame Grieve (Jul 24 2018 at 21:02):

the current IG builds for me?

view this post on Zulip Kevin Power (Jul 24 2018 at 21:06):

Hmmm, I get the following error locally:

     [java] Processing Conformance Resources                                                 (13.0354sec)
     [java] process type: NamingSystem                                                       (13.0354sec)
     [java] process type: CodeSystem                                                         (13.0354sec)
     [java] process res: genetic-coordinate-system                                           (13.0354sec)
     [java] Publishing Content Failed: Problem processing expression contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() in profile http://hl7.org/fhir/StructureDefinition/CodeSystem path CodeSystem: Error at 1, 14: The function "trace" requires 1 parameters (13.0366sec)

view this post on Zulip Grahame Grieve (Jul 24 2018 at 21:07):

so it must be a version issue - either you have an old version of the IG publisher, or you have content not committed?

view this post on Zulip Kevin Power (Jul 24 2018 at 21:13):

My IGPublisher is from July 3? My content is synced up with GitHub.

view this post on Zulip Kevin Power (Jul 24 2018 at 21:22):

And just downloaded latest version of the IG Publisher it does build. Sorry about that, and thanks for the help.

view this post on Zulip Kevin Power (Jul 24 2018 at 21:30):

@Lloyd McKenzie & @Patrick Werner - I think I commited the latest IG Publisher, and it rebuilt fine. Let me know if you run into any problems locally after syncing up.

view this post on Zulip Lloyd McKenzie (Jul 24 2018 at 23:13):

You ran the .bat that says to grab the newest IGPublisher?

view this post on Zulip Kevin Power (Jul 25 2018 at 03:05):

Well, I first created a matching .sh file, but yes.

view this post on Zulip Lloyd McKenzie (Jul 25 2018 at 03:12):

Weird. That expression is from the core spec, not the IG. I'm running a slightly older version of the IG against the current core spec and not having any issues. I can't easily merge in the newest IG content from Git because I'm using the genomics IG as the guineapig for a new IG framework, but it's hard to imagine a change that would trigger this particular issue...

view this post on Zulip Kevin Power (Jul 25 2018 at 03:17):

OK - I can undo the commit if needed, just let me know.

view this post on Zulip Lloyd McKenzie (Jul 25 2018 at 03:19):

I doubt the commit is the issue. I'm just indicating that it's hard for me to test to see if I can replicate the problem on my end right now

view this post on Zulip Kevin Power (Jul 25 2018 at 03:21):

ah, OK.

view this post on Zulip Patrick Werner (Jul 25 2018 at 10:32):

Sounds great. i'm still on holiday until next week and will then have a look


Last updated: Apr 12 2022 at 19:14 UTC