Stream: IG creation
Topic: Error: unable to resolve package id hl7.fhir.pubpack
Jean Duteau (Mar 23 2020 at 20:50):
I'm creating a new implementation guide with the latest templates and I get an error when it tries to resolve package hl7.fhir.pubpack:
Run time = Monday, March 23, 2020 at 2:38:37 p.m. Mountain Daylight Time (2020-03-23T14:38:37-06:00) Package Cache: /Users/jeanduteau/.fhir/packages (00:00.0593) Load Template from hl7.fhir.template#0.1.0 (00:01.0361) Installing hl7.fhir.template#0.1.0 to the package cache Fetching: Installing: done. Load Template from hl7.base.template#0.1.0 (01:19.0400) Installing hl7.base.template#0.1.0 to the package cache Fetching: Installing: done. Load Template from fhir.base.template#0.1.0 (02:36.0224) Installing fhir.base.template#0.1.0 to the package cache Fetching:. Installing: . done. onLoad.findSpreadsheets: onLoad.updateIg: [xslt] Processing /Users/jeanduteau/Documents/DDIWork/IBM BEST/datastandards/build/template/onLoad-ig-working.xml to /Users/jeanduteau/Documents/DDIWork/IBM BEST/datastandards/build/template/onLoad-ig-updated.xml [xslt] Loading stylesheet /Users/jeanduteau/Documents/DDIWork/IBM BEST/datastandards/build/template/scripts/onLoad.xslt onLoad.extend: onLoad: Root directory: /Users/jeanduteau/Documents/DDIWork/IBM BEST/datastandards/build (03:55.0430) Core Package hl7.fhir.r4.core#4.0.1 Installing hl7.fhir.r4.core#4.0.1 to the package cache Fetching:.................................................................................................... Installing: .................................................................................................... done. Terminology Cache is at /Users/jeanduteau/Documents/DDIWork/IBM BEST/datastandards/build/input-cache/txcache. 0 files in cache (04:07.0327) Connect to Terminology Server at http://tx.fhir.org (04:07.0334) Publishing Content Failed: Unable to resolve package id hl7.fhir.pubpack (05:24.0285) (05:24.0285) Use -? to get command line help (05:24.0286) (05:24.0286) Stack Dump (for debugging): (05:24.0286) org.hl7.fhir.exceptions.FHIRException: Unable to resolve package id hl7.fhir.pubpack at org.hl7.fhir.utilities.cache.PackageCacheManager.fetchTheOldWay(PackageCacheManager.java:772) at org.hl7.fhir.utilities.cache.PackageCacheManager.loadFromPackageServer(PackageCacheManager.java:335) at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:601) at org.hl7.fhir.igtools.publisher.Publisher.loadPubPack(Publisher.java:1986) at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1503) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1206) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:661) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6932)
I suspect that I'm missing something but I'm not sure what.
Jean Duteau (Mar 23 2020 at 21:00):
I see that this has been raised before on March 12th. But I don't see any answers to those previous raised issues.
Rick Geimer (Mar 23 2020 at 21:10):
I'm getting this same error
Connect to Terminology Server at http://tx.fhir.org (01:29.0262)
Publishing Content Failed: Unable to resolve package id hl7.fhir.pubpack (02:34.0549)
(02:34.0550)
Use -? to get command line help (02:34.0550)
(02:34.0550)
Stack Dump (for debugging): (02:34.0550)
org.hl7.fhir.exceptions.FHIRException: Unable to resolve package id hl7.fhir.pubpack
at org.hl7.fhir.utilities.cache.PackageCacheManager.fetchTheOldWay(PackageCacheManager.java:772)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadFromPackageServer(PackageCacheManager.java:335)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:601)
Jean Duteau (Mar 23 2020 at 21:12):
yeah, it's not just me! :) Now if only we knew what the problem was...
Jose Costa Teixeira (Mar 23 2020 at 21:18):
seems like it's in the publisher. Using the latest version?
Grahame Grieve (Mar 23 2020 at 21:25):
the problem is that the package server is down. Working on it
Jean Duteau (Mar 23 2020 at 21:25):
thanks
Jean Duteau (Mar 23 2020 at 21:26):
Jose Costa Teixeira said:
seems like it's in the publisher. Using the latest version?
yes, all of us with this issue were using the latest
Jose Costa Teixeira (Mar 23 2020 at 21:26):
sorry, I couldn't reproduce here. anyway, the issue is found.
Keith Boone (Mar 23 2020 at 22:33):
Interestingly enough, my local build works from a clean folder with just input and necessary parts on Windoze, but ig-builder is reporting failure. Could this be a Windows/Unix thing maybe?
Grahame Grieve (Mar 23 2020 at 23:15):
no it's a cache thing
Richard Townley-O'Neill (Mar 24 2020 at 02:07):
I am still getting the error
Grahame Grieve (Mar 24 2020 at 02:52):
sigh. the problem is on the HL7 web server
Grahame Grieve (Mar 24 2020 at 02:52):
have to wait for @David Johnson to look at it
David Johnson (Mar 24 2020 at 10:51):
Is this still a problem? I'm receiving http://www.hl7.org/fhir/package-feed.xml?20200324134258.483+1100 data back from that URL
Richard Townley-O'Neill (Mar 24 2020 at 13:55):
I just got
$ pubN ig-dphr.json
FHIR IG Publisher Version 1.0.72-SNAPSHOT (Git# d821ec623d45). Built 2020-03-17T15:45:17.164+11:00 (7 days old)
Detected Java version: 1.8.0_181 from C:\Program Files\Java\jre1.8.0_181 on amd64 (64bit). 3625MB available
Parameters: -ig ig-dphr.json
dir = C:\work\git\au-fhir-childhealth, path = C:\Users\richardtownleyoneill\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\richardtownleyoneill\bin;C:\Python27;C:\Python27\Scripts;C:\Ruby25-x64\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Calibre2;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\WINDOWS\System32\OpenSSH;C:\Users\richardtownleyoneill\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
Run time = Tuesday, 24 March 2020 11:53:43 PM AEST (2020-03-24T23:53:43+10:00)
Package Cache: C:\Users\richardtownleyoneill\.fhir\packages (00:00.0200)
Load Configuration from C:\work\git\au-fhir-childhealth\ig-dphr.json (00:00.0239)
Root directory: C:\work\git\au-fhir-childhealth (00:00.0296)
Terminology Cache is at C:\work\git\au-fhir-childhealth\txCache. 1 files in cache (00:00.0332)
Core Package hl7.fhir.r3.core#3.0.2
Load Terminology Cache from C:\work\git\au-fhir-childhealth\txCache (00:21.0406)
Connect to Terminology Server at http://tx.fhir.org (00:21.0411)
Publishing Content Failed: Unable to resolve package id hl7.fhir.pubpack (00:31.0655)
(00:31.0655)
Use -? to get command line help (00:31.0656)
(00:31.0656)
Stack Dump (for debugging): (00:31.0656)
org.hl7.fhir.exceptions.FHIRException: Unable to resolve package id hl7.fhir.pubpack
at org.hl7.fhir.utilities.cache.PackageCacheManager.fetchTheOldWay(PackageCacheManager.java:772)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadFromPackageServer(PackageCacheManager.java:335)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:601)
at org.hl7.fhir.igtools.publisher.Publisher.loadPubPack(Publisher.java:1986)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromJson(Publisher.java:1830)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1210)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:661)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6932)
Richard Townley-O'Neill (Mar 24 2020 at 13:55):
:(
Richard Townley-O'Neill (Mar 24 2020 at 14:05):
@David Johnson
David Johnson (Mar 24 2020 at 14:09):
from what url?
David Johnson (Mar 24 2020 at 15:13):
I'm reviewing this: https://airbrake.io/blog/http-errors/406-not-acceptable to be as much help with this as possible.
Jean Duteau (Mar 24 2020 at 15:58):
@David Johnson @Grahame Grieve Yes there is data coming back from that feed but it doesn't contain any information about this hl7.fhir.pubpack. So it might not be the server itself, but the data on it. I just traced the code and none of the three servers that it looks for to find this NPM package has info about it.
David Johnson (Mar 24 2020 at 16:02):
We are looking at whether the Accept option should be sent to the server.
David Johnson (Mar 24 2020 at 16:02):
I can assign only one mime type per extension. If the xml mime type is text/xml and the client declares they Accept application/xml, the server will respond that it cannot deliver that Accept request.
Jean Duteau (Mar 24 2020 at 16:05):
hmm, while I understand that, it seems to me that we are getting the file back but it doesn't actually have the info about the package we're looking for. where the code is throwing the error, i'm pretty sure that it would throw a different error if it wasn't getting anything back from the server.
But it's not my code so I may not be understanding it correctly.
Jean Duteau (Mar 24 2020 at 19:51):
@Grahame Grieve @David Johnson is there a fix or a workaround for this? I am supposed to produce an IGuide and I'm stuck on this error. Can I go back to an earlier version of the igpublisher or is it still going to look for this pubpack?
Grahame Grieve (Mar 24 2020 at 19:55):
no. there's no fix. it's a collapse of the supporting infrastructure. I'm expect to have a fix out in the next few hours
Josh Mandel (Mar 24 2020 at 22:09):
Just to follow up: is this still a known issue (i.e., all builds are expected to be broken)?
Grahame Grieve (Mar 24 2020 at 22:13):
should be fixed now
Josh Mandel (Mar 24 2020 at 22:16):
I saw an issue a few minutes ago (e.g., https://build.fhir.org/ig/HL7/fhir-order-catalog/branches/master/failure/build.log)
Josh Mandel (Mar 24 2020 at 22:16):
Was this just fixed?
Josh Mandel (Mar 24 2020 at 22:18):
(Still seeing it now, actually.)
Jose Costa Teixeira (Mar 24 2020 at 22:20):
confirm: mine's still broken
David Johnson (Mar 24 2020 at 22:54):
I'm monitoring this topic in the event there is any change necessary on the web server.
Richard Townley-O'Neill (Mar 24 2020 at 23:37):
:sad:
$ pubN ig-dphr.json
FHIR IG Publisher Version 1.0.72-SNAPSHOT (Git# d821ec623d45). Built 2020-03-17T15:45:17.164+11:00 (7 days old)
Detected Java version: 1.8.0_181 from C:\Program Files\Java\jre1.8.0_181 on amd64 (64bit). 3625MB available
Parameters: -ig ig-dphr.json
dir = C:\work\git\au-fhir-childhealth, path = C:\Users\richardtownleyoneill\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\richardtownleyoneill\bin;C:\Python27;C:\Python27\Scripts;C:\Ruby25-x64\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Calibre2;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\WINDOWS\System32\OpenSSH;C:\Users\richardtownleyoneill\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
Run time = Wednesday, 25 March 2020 9:35:36 AM AEST (2020-03-25T09:35:36+10:00)
Package Cache: C:\Users\richardtownleyoneill\.fhir\packages (00:00.0109)
Load Configuration from C:\work\git\au-fhir-childhealth\ig-dphr.json (00:00.0122)
Root directory: C:\work\git\au-fhir-childhealth (00:00.0143)
Terminology Cache is at C:\work\git\au-fhir-childhealth\txCache. 1 files in cache (00:00.0161)
Core Package hl7.fhir.r3.core#3.0.2
Load Terminology Cache from C:\work\git\au-fhir-childhealth\txCache (00:09.0878)
Connect to Terminology Server at http://tx.fhir.org (00:09.0882)
Publishing Content Failed: Unable to resolve package id hl7.fhir.pubpack (00:16.0010)
(00:16.0010)
Use -? to get command line help (00:16.0010)
(00:16.0010)
Stack Dump (for debugging): (00:16.0011)
org.hl7.fhir.exceptions.FHIRException: Unable to resolve package id hl7.fhir.pubpack
at org.hl7.fhir.utilities.cache.PackageCacheManager.fetchTheOldWay(PackageCacheManager.java:772)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadFromPackageServer(PackageCacheManager.java:335)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:601)
at org.hl7.fhir.igtools.publisher.Publisher.loadPubPack(Publisher.java:1986)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromJson(Publisher.java:1830)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1210)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:661)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6932)
Kevin Power (Mar 24 2020 at 23:42):
Broken for me too (Genomics Reporting)
Mohammad Jafari (Mar 24 2020 at 23:45):
Broken for me as well.
Rick Geimer (Mar 25 2020 at 01:35):
Still broken for me
@Grahame Grieve See CI Build. All IGs failing. Only template commits seem to be succeeding.
Keith Boone (Mar 25 2020 at 11:18):
And for me...
Mohammad Jafari (Mar 25 2020 at 14:57):
Has this been fixed yet?
Jose Costa Teixeira (Mar 25 2020 at 15:11):
yes
Grahame Grieve (Mar 25 2020 at 19:54):
my apologies for this. A cached value somewhere was hiding an magnitude of sins, and the list of things I had to fix to get it right seemed never-ending. I finally got everything building again, but now I have a lot of wreckage to sort out (hacks to get everything building...)
Jean Duteau (Mar 25 2020 at 21:12):
i hate to report but the error is back :(
Jose Costa Teixeira (Mar 25 2020 at 21:21):
mine is building ok still
Jean Duteau (Mar 25 2020 at 21:27):
hmm, it now works, so just a blip
Richard Townley-O'Neill (Mar 26 2020 at 01:27):
Working fine :tada:
Last updated: Apr 12 2022 at 19:14 UTC