_refresh produces errors
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system, tooling
調査の方向性
_refresh.sh と、input/resources、input/cql、input/tests/measure 配下で報告されているパスから始めます。失敗を再現し、その後、完全なログを使って不足している FHIRHelpers 依存関係と Library/phq-9-logic の検索を追跡します。_refresh が報告されている measure と questionnaire の失敗なしに完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Taking a fresh clone, I ran _updateCQLTooling and then _refresh. The _refresh script failed with a few errors. It seems the big ones are:
- Could not find
input/resources/Library-FHIRHelpers.json - Could not resolve library url
Library/phq-9-logic(probably related to above?)
I noticed that FHIRHelpers is not provided in the cql source or the libraries. Should it be?
Full log:
❯ ./_refresh.sh
Checking internet connection...
Online
-fs https://cds-sandbox.alphora.com/cqf-ruler-r4/fhir/
fhir-version was not specified in the ini file. Trying FHIR version 4.0.1
Core Package hl7.fhir.r4.core#4.0.1
Dependency 'example.fhir.uv.myig' has no id, so can't be referred to in markdown in the IG
Load u32113965f5e045b6842fd95fc812c9f6 (http://somewhere.org/fhir/uv/myig) from example.fhir.uv.myig#dev
Load cpg (http://hl7.org/fhir/uv/cpg) from hl7.fhir.uv.cpg#1.0.0
Load cqf (http://fhir.org/guides/cqf/common) from fhir.cqf.common#dev
[main] INFO ca.uhn.fhir.util.VersionUtil - HAPI FHIR version 5.6.3 - Rev b54b29145c
[main] INFO ca.uhn.fhir.context.FhirContext - Creating new FHIR context for FHIR version [R4]
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - IGProcessor.publishIG - refreshIG
fhir-version was not specified in the ini file. Trying FHIR version 4.0.1
Core Package hl7.fhir.r4.core#4.0.1
Dependency 'example.fhir.uv.myig' has no id, so can't be referred to in markdown in the IG
Load ub86c691957d44443965ba432e952c668 (http://somewhere.org/fhir/uv/myig) from example.fhir.uv.myig#dev
Load cpg (http://hl7.org/fhir/uv/cpg) from hl7.fhir.uv.cpg#1.0.0
Load cqf (http://fhir.org/guides/cqf/common) from fhir.cqf.common#dev
No directory found by convention for: cql
No directory found by convention for: library
No directory found by convention for: measure
No directory found by convention for: plandefinition
Refreshing libraries...
[main] INFO org.opencds.cqf.tooling.library.LibraryProcessor - No output directory found for libraries. Any existing libraries will be overwritten.
[main] INFO ca.uhn.fhir.util.XmlUtil - Unable to determine StAX implementation: java.xml/META-INF/MANIFEST.MF not found
[main] WARN ca.uhn.fhir.parser.LenientErrorHandler - Found incorrect type for element subject - Expected OBJECT and found SCALAR (STRING)
Translating CQL source
Translating CQL source in folder /Users/cmoesel/git/cqframework/sample-content-ig/input/cql
cql-options loaded from: /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/cql-options.json
Translating CQL source in file /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/RetrieveExample.cql
CQL translation completed successfully.
Translating CQL source in file /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/DependencyExample.cql
CQL translation completed successfully.
Translating CQL source in file /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/ExtensionAndSlicingExample.cql
CQL translation completed successfully.
Translating CQL source in file /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/PHQ9Logic.cql
CQL translation completed successfully.
Translating CQL source in file /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/FirstExample.cql
CQL translation completed successfully.
Translating CQL source in file /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/QuestionnaireMeasure.cql
CQL translation completed successfully.
Refreshing measures...
Refreshing tests
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - IGProcessor.publishIG - bundleIg
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Size: 6
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Entry: http://somewhere.org/fhir/uv/mycontentig/Library/FirstExample
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Entry: http://somewhere.org/fhir/uv/mycontentig/Library/RetrieveExample
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Entry: http://somewhere.org/fhir/uv/mycontentig/Library/PHQ9Logic
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Entry: http://somewhere.org/fhir/uv/mycontentig/Library/DependencyExample
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Entry: http://somewhere.org/fhir/uv/mycontentig/Library/ExtensionAndSlicingExample
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - libraryUrlMap Entry: http://somewhere.org/fhir/uv/mycontentig/Library/QuestionnaireMeasure
cql-options loaded from: /Users/cmoesel/git/cqframework/sample-content-ig/input/cql/cql-options.json
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - Measure will not be bundled because ValueSet bundling failed.
java.lang.RuntimeException: Error reading resource from path /Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Library-FHIRHelpers.json: /Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Library-FHIRHelpers.json (No such file or directory)
at org.opencds.cqf.tooling.utilities.IOUtils.readResource(IOUtils.java:259)
at org.opencds.cqf.tooling.utilities.IOUtils.readResource(IOUtils.java:216)
at org.opencds.cqf.tooling.utilities.ResourceUtils.getR4DepLibraryResources(ResourceUtils.java:226)
at org.opencds.cqf.tooling.utilities.ResourceUtils.getDepLibraryResources(ResourceUtils.java:139)
at org.opencds.cqf.tooling.library.LibraryProcessor.bundleLibraryDependencies(LibraryProcessor.java:96)
at org.opencds.cqf.tooling.measure.MeasureProcessor.bundleMeasures(MeasureProcessor.java:124)
at org.opencds.cqf.tooling.processor.IGBundleProcessor.bundleIg(IGBundleProcessor.java:28)
at org.opencds.cqf.tooling.processor.IGProcessor.publishIG(IGProcessor.java:100)
at org.opencds.cqf.tooling.operation.RefreshIGOperation.execute(RefreshIGOperation.java:41)
at org.opencds.cqf.tooling.Main.main(Main.java:220)
Caused by: java.io.FileNotFoundException: /Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Library-FHIRHelpers.json (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at java.base/java.io.FileReader.<init>(FileReader.java:75)
at org.opencds.cqf.tooling.utilities.IOUtils.readResource(IOUtils.java:252)
... 9 more
No paths found for the Directory /Users/cmoesel/git/cqframework/sample-content-ig/input/tests/measure/QuestionnaireMeasure:
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - Measure-QuestionnaireMeasure could not be processed:
Resource could not be processed: QuestionnaireMeasure
1 included cql Libraries not found:
FHIRHelpers MISSING
Resource could not be processed: Library-QuestionnaireMeasure
Error reading resource from path /Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Library-FHIRHelpers.json: /Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Library-FHIRHelpers.json (No such file or directory)
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils -
0 Measures successfully bundled:
0 Measures refreshed, but not bundled (due to issues):
1 Measures failed refresh:
/Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Measure-QuestionnaireMeasure.json FAILED
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils -
0 PlanDefinitions successfully bundled:
0 PlanDefinitions refreshed, but not bundled (due to issues):
0 PlanDefinitions failed refresh:
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - primaryLibraryUrl: Library/phq-9-logic
java.lang.IllegalArgumentException: Could not resolve library url Library/phq-9-logic
at org.opencds.cqf.tooling.questionnaire.QuestionnaireProcessor.bundleQuestionnaires(QuestionnaireProcessor.java:64)
at org.opencds.cqf.tooling.processor.IGBundleProcessor.bundleIg(IGBundleProcessor.java:34)
at org.opencds.cqf.tooling.processor.IGProcessor.publishIG(IGProcessor.java:100)
at org.opencds.cqf.tooling.operation.RefreshIGOperation.execute(RefreshIGOperation.java:41)
at org.opencds.cqf.tooling.Main.main(Main.java:220)
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils - Questionnaire-phq-9-questionnaire could not be processed:
Resource could not be processed: Questionnaire-phq-9-questionnaire
Could not resolve library url Library/phq-9-logic
[main] WARN org.opencds.cqf.tooling.utilities.LogUtils -
0 Questionnaires successfully bundled:
0 Questionnaires refreshed, but not bundled (due to issues):
1 Questionnaires failed refresh:
/Users/cmoesel/git/cqframework/sample-content-ig/input/resources/Questionnaire-phq-9-questionnaire.json FAILED
- 主要言語
- HTML
- スター
- 8
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cqframework/sample-content-ig のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
cqframework/sample-content-ig#144 ·
-
Empty fields in liquid template for measures再び着手できるかも @brynrhodes が 64 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
cqframework/sample-content-ig#138 · コメント 3 件 · 担当者 1 名 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
cqframework/sample-content-ig#136 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
cqframework/sample-content-ig の issue をすべて見る
似ている issue
-
area: ci-release effort: S good first issue P3 type: packaging
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ferenyl/azuredevopstui#58 ·
-
harlan-agent-ready-to-implement routine:ci-review
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
harlan-zw/unlighthouse#454 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] The h5 and zarr extras allow versions that fail tensordict's tests or that pip marks as yankedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pytorch/tensordict#3274 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
finalburnneo/FBNeo#2820 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
human-required sync-failed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/osdu-spi-file#63 ·
メンテナーはふだん 1 日以内に返信