_refresh produces errors
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, tooling
Hướng nghiên cứu
Bắt đầu với _refresh.sh và các đường dẫn được báo cáo bên dưới input/resources, input/cql và input/tests/measure. Tái hiện lỗi, sau đó lần theo dependency FHIRHelpers bị thiếu và việc tra cứu Library/phq-9-logic bằng toàn bộ log. Hoàn tất khi _refresh hoàn thành mà không có các lỗi measure và questionnaire đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- HTML
- Star
- 8
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cqframework/sample-content-ig
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
cqframework/sample-content-ig#144 ·
-
Empty fields in liquid template for measuresCó thể làm lại được @brynrhodes đã nhận 66 ngày trước và không có pull request nào đang mở. Đang mởenhancement
cqframework/sample-content-ig#138 · 3 bình luận · 1 người được giao ·
-
Add supporting evidenceĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
cqframework/sample-content-ig#136 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của cqframework/sample-content-ig
Issue tương tự
-
Build failure: pywal16Đang mở0.kind: build failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[mimalloc] update to 3.6.0Đang mởcategory:port-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 2 ngày
-
dev/release: verify-release-candidate.sh runs 0 Java tests with Debian's MavenCó thể đã có người làm @kou đã nhận hôm nay. Đang mởType: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/arrow-adbc#4947 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MinGW build faillureĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
facebookresearch/faiss#5775 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Appimage ConventionsĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày