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

Failed to load maven-central dependency with @DependsOn #71

Closed
altavir opened this issue May 26, 2020 · 9 comments
Closed

Failed to load maven-central dependency with @DependsOn #71

altavir opened this issue May 26, 2020 · 9 comments
Labels
bug Installation and functionality issues

Comments

@altavir
Copy link
Contributor

altavir commented May 26, 2020

@file:DependsOn("org.apache.commons:commons-math3:3.6.1")

Failed to resolve org.apache.commons:commons-math3:3.6.1:
File 'org.apache.commons:commons-math3:3.6.1' not found
unresolved dependency: org.apache.commons#commons-math3;3.6.1: configuration not found in org.apache.commons#commons-math3;3.6.1: 'master'. It was required from org.apache.commons#commons-math3-caller;working default

Not sure it is a general problem, or just that precise installation. Leaving it here just in case.

@ileasile
Copy link
Contributor

What kernel version do you use?

@altavir
Copy link
Contributor Author

altavir commented May 26, 2020

Oops, sorry, forgot to add it. Version 1.4.0-dev-7568. Just updated it via main channel in conda.

@ileasile
Copy link
Contributor

Is it easily reproducible on your machine?

@ileasile ileasile added the bug Installation and functionality issues label May 27, 2020
@altavir
Copy link
Contributor Author

altavir commented May 27, 2020

It is reproduced stably on my main computer but works fine on my laptop with a similar system. Probably something broken inside the installation. I've used dev branch before, so it is possible that some migration has broken something. I will try to re-install the kernel.

@altavir
Copy link
Contributor Author

altavir commented May 27, 2020

Reinstall did not solve the problem.

@altavir
Copy link
Contributor Author

altavir commented May 27, 2020

Using previous version: @file:DependsOn("org.apache.commons:commons-math3:3.6") works fine. So the problem is probably somehow connected with local repository state.

@ileasile
Copy link
Contributor

ileasile commented Jul 6, 2020

Could you find ~/.ivy/cache/org.apache.commons/commons-math3 folder and send it to me, zipped? After that, please remove this folder and try to reproduce the problem again

@altavir
Copy link
Contributor Author

altavir commented Jul 7, 2020

commons-math3.zip
Here you are.

Clearing the cache indeed fixed the problem,

ileasile added a commit that referenced this issue Jul 14, 2020
@ileasile
Copy link
Contributor

I've added some info about fixing this kind of issues if they accidentally hapen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Installation and functionality issues
Projects
None yet
Development

No branches or pull requests

2 participants