ImagingInformatics / hackathon-dataset

Working repository to organize assets for the SIIM Stack
https://imaginginformatics.github.io/hackathon-docs/
Other
36 stars 22 forks source link

Fresh checkout of the data set results in a crash at the end of upload.rb execution #59

Closed mohannadhussain closed 6 years ago

mohannadhussain commented 6 years ago

See script output below..

I, [2018-02-13T17:30:36.468004 #696]  INFO -- : PUT - http://localhost:8080/hapi
-fhir-jpaserver-example/baseDstu3/Condition/breastcondition
I, [2018-02-13T17:30:36.639879 #696]  INFO -- : Submission Status: Successfully
created resource "Condition/breastcondition/_history/1" in 15ms
I, [2018-02-13T17:30:36.639879 #696]  INFO -- : PUT - http://localhost:8080/hapi
-fhir-jpaserver-example/baseDstu3/DocumentReference/127992098908401
upload.rb:121:in `rescue in block (2 levels) in <main>': { (RuntimeError)
  "resourceType": "OperationOutcome",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h
1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td>
<td><pre>Can not create resource with ID[127992098908401], no resource with this
 ID exists and clients may only assign IDs which contain at least one non-numeri
c character</pre></td>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t</tr>\n\t\t</table>\n\t</div
>"
  },
  "issue": [
    {
      "severity": "error",
      "code": "processing",
      "diagnostics": "Can not create resource with ID[127992098908401], no resou
rce with this ID exists and clients may only assign IDs which contain at least o
ne non-numeric character"
    }
  ]
}
        from upload.rb:116:in `block (2 levels) in <main>'
        from upload.rb:96:in `each'
        from upload.rb:96:in `block in <main>'
        from upload.rb:93:in `each'
        from upload.rb:93:in `<main>'
shadowdoc commented 6 years ago

I think that the MHD branch got merged into master at some point, I'm not sure how. I'm working on getting it fixed.

mohannadhussain commented 6 years ago

You're fast :)

OK, no rush. I just wanted to record these issues before I forget them (working on the HAPI paper and try it out). If you don't get to them then I will sooner or later.