-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed - Building from source #129
Comments
Sometimes fetching the dependencies is flaky because the build script downloads them from the internet. Could you please retry? |
Thanks @danielbeaudreau for your response. I retried several times and the error persists. I belive it might have something to do with the syntax: What went wrong: |
What version of gradle are you using? |
Gradle build builds succesfuly PS C:\healthcare-dicom-dicomweb-adapter-master\import> gradle build Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. BUILD SUCCESSFUL in 24s PS C:\healthcare-dicom-dicomweb-adapter-master\import> gradle -v Gradle 6.8.3Build time: 2021-02-22 16:13:28 UTC Kotlin: 1.4.20
|
Could you paste the failing command please? |
PS C:\healthcare-dicom-dicomweb-adapter-master\import> gradle run -Dorg.args="--dimse_aet=IMPORTADAPTER --dimse_port=4008 --dicomweb_address=https://healthcare.googleapis.com/v1/projects/xxxxx/locations/xxxxx/datasets/xxxxx/dicomStores/xxxxx/dicomWeb" |
Could you try Dexec.args instead of Dorg.args? |
Yes, sorry, I am using Decec.args not Dorg, the previous message was a typo from another test, the command line I am using is: PS C:\healthcare-dicom-dicomweb-adapter-master\import> gradle run -Dexec.args="--dimse_aet=IMPORTADAPTER --dimse_port=4008 --dicomweb_address=https://healthcare.googleapis.com/v1/projects/xxxxx/locations/xxxxx/datasets/xxxxx/dicomStores/xxxxx/dicomWeb" |
I ran gradle run -Dexec.args="--dimse_aet=IMPORTADAPTER --dimse_port=4008 --dicomweb_address=http://localhost:80" Could you try running gradle clean and then running the command again? |
If that does not work could you run with --stacktrace option and paste the output? |
If it works for you might be something within my environment. Below find the stacktrace output in case something comes up. If not I can build a linux env and retry: PS C:\healthcare-dicom-dicomweb-adapter-master\import> gradle run -Dexec.args="--dimse_aet=IMPORTADAPTER --dimse_port=4008 --dicomweb_address=https://healthcare.googleapis.com/v1/projects/xxxxx/locations/xxxxx/datasets/xxxx/dicomStores/xxxxx/dicomWeb" --stacktrace FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. BUILD FAILED in 9s |
Seems like gradle is searching for the args as the task, but it should know that "run" is the desired task to execute. |
Hello @danielbeaudreau, we're trying with @ramirocorletti to test it from Ubuntu 18.04, and it's impossible for me to run the build: with this: |
Please use an older version of gradle below 7. Gradle made some breaking changes in v7 that broke our build. |
Working perfect with Gradle 6.6, in Ubuntu 18.04 with latests releases (java, sdk, etc). Maybe need to detail about Gradle 6.6 as prefered version in the building of the repo (locally). Thanks for the help @danielbeaudreau |
Glad it worked. If I get some time, would like to fix the build to work with both v7 and v6. |
@danielbeaudreau Daniel, sorry i bother you again. I don't know what are the scopes I need to select in GCP to let me storage into it: i'm trying to send DCM file from SCU Emulator to the Adapter: |
Could you try specifying the flag
|
@danielbeaudreau Daniel, perfect. I've added the remaining params to make it work to IAM (GCP) using the same credentials and now it work perfect. The adapter is forwarding the DCM files. Just one thing is showing now and I don't know about what is referring to: Anyway, is working. |
@danielbeaudreau hello Daniel, how are you? We're trying now to run the same in Windows 10. I've setup the same dependencies in Linux and we've some troubles to run. "gradle build" works okay, and have built without problems, the problem is the other command, to run the adapter: |
Hi Max, re: the warnings, you may ignore those. This looks like a bug. I believe the adapter cannot run on Windows at the moment, there seems to be a compatibility bug with the Gradle setup and windows. |
@danielbeaudreau thank you for the answer :( so for now this thread is closed. Thanks! |
@danielbeaudreau if is it possible to talk with you outside here (because i've a few questions more), reach me at: https://privnote.com/JwsLJwcI#8OP44hB0v thanks! |
Hi, if you have any other questions, you could ask them in this bug |
When completing steps under building from source: https://github.com/GoogleCloudPlatform/healthcare-dicom-dicomweb-adapter#building-from-source
We get the following error:
FAILURE: Build failed with an exception.
What went wrong:
Project '.args=--dimse_aet=IMPORTADAPTER --dimse_port=4008 --dicomweb_address=https' not found in root project 'healthcare-dicom-dicomweb-adapter-master'.
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8s
The text was updated successfully, but these errors were encountered: