Skip to content
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

Unable to install #199

Closed
lavkan opened this issue May 23, 2022 · 6 comments
Closed

Unable to install #199

lavkan opened this issue May 23, 2022 · 6 comments

Comments

@lavkan
Copy link

lavkan commented May 23, 2022

I am trying to install this package on macOS Big Sur (11.6.3). I followed the instructions as specified in the page. When I run
sdk install java 11.0.13-tem my machine complains:

Stop! java 11.0.13-tem is not available. Possible causes:
 * 11.0.13-tem is an invalid version
 * java binaries are incompatible with your platform
 * java has not been released yet

and as a result ./gradlew check fails. I was able to successfully install this in macOS Catalina. So I suppose the java binaries are incompatible with the platform. Kindly let me know what should I do to successfully install this package in my machine.

Thank you very much.

@FlorentinD
Copy link
Contributor

FlorentinD commented May 23, 2022

Hello @lavkan,
you can also use another distribution of Java 11, 11.0.13-tem is only a recommendation.
To see the available distributions on your machine, you can use sdk list java.
There was a recent response by @Mats-SX about Java distributions on macOS (see #193 (comment)).

@lavkan
Copy link
Author

lavkan commented May 23, 2022

Hello @FlorentinD,

I did try with the latest versions, eg. 11.0.15 - as suggested by sdk list java - still no luck. I will see the comment #193 and update this space.

@lavkan
Copy link
Author

lavkan commented May 23, 2022

@FlorentinD
Update:
I downloaded the repo once again, and installed java 17.0.3-tem and 11.0.15 that were available for my OS successfully using sdk (sdk install java 17.0.3-tem and sdk install java 11.0.15-tem), but yet ./gradlew check failed to build. I am pasting the messages I get below. Please let me know.

./gradlew check

Task :algo:test

GraphSageModelTrainerTest > batchesPerIteration(double, boolean, int) > org.neo4j.gds.embeddings.graphsage.GraphSageModelTrainerTest.batchesPerIteration(double, boolean, int)[1] FAILED
org.opentest4j.AssertionFailedError at GraphSageModelTrainerTest.java:333
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.commons.lang3.reflect.FieldUtils (file:/Users/lavanyakannan/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.12.0/c6842c86792ff03b9f1d1fe2aab8dc23aa6c6f0e/commons-lang3-3.12.0.jar) to field sun.nio.ch.FileChannelImpl.positionLock
WARNING: Please consider reporting this to the maintainers of org.apache.commons.lang3.reflect.FieldUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Results: FAILURE (3446 tests, 3444 successes, 1 failures, 1 skipped)

3446 tests completed, 1 failed, 1 skipped

Task :algo:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':algo:test'.

There were failing tests. See the report at: file:///Users/lavanyakannan/Documents/PregelAPI/downloaded/graph-data-science-master/algo/build/reports/tests/test/index.html

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 38s
74 actionable tasks: 1 executed, 73 up-to-date

@FlorentinD
Copy link
Contributor

Hello @Iavkan,
thats good news!
This GraphSage test is rather recent and not tested on a MacOS, you can simply ignore it (by adding a @Disabled annotation locally).

I will look into making this test stable :)

@FlorentinD
Copy link
Contributor

@lavkan could you get the project to build?

I reworked the test to be more robust and I would close this issue if your problem is resolved :)

neo-technology-build-agent pushed a commit that referenced this issue Jun 4, 2022
Before it failed on MacOS

Discovered by Iavkan in #199
@s1ck
Copy link
Contributor

s1ck commented Jun 16, 2022

Closing. @lavkan please reopen if the problem still exists.

@s1ck s1ck closed this as completed Jun 16, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants