-
Notifications
You must be signed in to change notification settings - Fork 4
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
Tests failure using mvn install #36
Comments
Hey Arif, Do you have TF1.15 installed and the .crashed-file deleted as the second image mentions? |
I deleted the .crashed file and the behavior is the same. How can I check if TF1.15 is installed? |
Did you execute the line from the readme and set the path to fiji?
Just trying to figure out what causes the error for you. |
No, I did not because I want to script Stardist2D that uses CSBDeep using groovy language in IntelliJ IDE. In Fiji app, everything runs fine. |
If you delete the tensorflow folder and do mvn dependency:resolve -U, that should reinstall all dependencies again from scratch. Installing imagej-tensorflow from source is not needed. |
Also, a log output from a clean run (without a crash-file existing) would be appreciated, since I cannot replicate the error. |
Thanks a lot! now it builds successfully |
Do I have to run this command again:
|
This |
Ah ok, then no, same errors :( |
The console log you provided before with your first post, but without an existing crash-file in the hopes that the logging is a bit more verbose. |
|
Okay, this will take some more time debugging unfortunately. |
So, two things: |
I tried this: |
|
This works fine |
If you want to get the tests running, follow up on this. If not, happy coding! 😃 I'm not sure where this jacoco problem is coming from to be honest. 🤔
It seems you are not truly using 1.8 for your maven execution. For the other stuff: You have to delete the .crashed file every time before running the tests again it seems.
Can you try it like that with the quotes? It's looking for the JNI stuff in your Fiji path, but the root path is still set to your repository according to your logs. |
I tried this: It throws me this:
|
You are executing the mvn command in the console in the IDE, right? You don't use the maven tools inside Intellj from what I can tell. That would explain why you still load JDK18 and some of the errors too. But like I said before, you do not need the tests to execute successfully to build the project. |
No I am using windows command prompt.
The problem is that it throws error while building the project. Or maybe I just got it wrong. |
Dear all.
I tried to install/build the repo using:
git clone https://github.com/CSBDeep/CSBDeep_fiji.git
cd CSBDeep_fiji
mvn -Denforcer.skip=true clean install
and I am getting a Build Failure:
Could you please help me in solving this problem?
Best,
Arif
The text was updated successfully, but these errors were encountered: