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

sbt test error: model not found #61

Open
yuchenlin opened this issue Nov 28, 2017 · 3 comments
Open

sbt test error: model not found #61

yuchenlin opened this issue Nov 28, 2017 · 3 comments

Comments

@yuchenlin
Copy link
Member

yuchenlin commented Nov 28, 2017

Hi there,

I have installed dynet with swig successfully, but it has some errors when I test it with sbt test in the root of pnp as follows:

yuchenlin@5FKJDB2:/mnt/c/Users/v-yuclin/workspace/pnp$ sbt test
[info] Loading settings from assembly.sbt,plugins.sbt ...
[info] Loading project definition from /mnt/c/Users/v-yuclin/workspace/pnp/project
[info] Updating {file:/mnt/c/Users/v-yuclin/workspace/pnp/project/}pnp-build...
[warn] module not found: me.lessis#bintray-sbt;0.3.0
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/me.lessis/bintray-sbt/scala_2.12/sbt_1.0/0.3.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/me.lessis/bintray-sbt/scala_2.12/sbt_1.0/0.3.0/ivys/ivy.xml
[warn] ==== local: tried
[warn] /home/yuchenlin/.ivy2/local/me.lessis/bintray-sbt/scala_2.12/sbt_1.0/0.3.0/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/me/lessis/bintray-sbt_2.12_1.0/0.3.0/bintray-sbt-0.3.0.pom
[warn] ==== local-preloaded-ivy: tried
[warn] /home/yuchenlin/.sbt/preloaded/me.lessis/bintray-sbt/0.3.0/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:////home/yuchenlin/.sbt/preloaded/me/lessis/bintray-sbt_2.12_1.0/0.3.0/bintray-sbt-0.3.0.pom
[warn] ==== bintray-sbt-plugins: tried
[warn] https://dl.bintray.com/eed3si9n/sbt-plugins/me.lessis/bintray-sbt/scala_2.12/sbt_1.0/0.3.0/ivys/ivy.xml
[warn] module not found: org.allenai.plugins#allenai-sbt-plugins;1.4.8
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.allenai.plugins/allenai-sbt-plugins/scala_2.12/sbt_1.0/1.4.8/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.allenai.plugins/allenai-sbt-plugins/scala_2.12/sbt_1.0/1.4.8/ivys/ivy.xml
[warn] ==== local: tried
[warn] /home/yuchenlin/.ivy2/local/org.allenai.plugins/allenai-sbt-plugins/scala_2.12/sbt_1.0/1.4.8/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/allenai/plugins/allenai-sbt-plugins_2.12_1.0/1.4.8/allenai-sbt-plugins-1.4.8.pom
[warn] ==== local-preloaded-ivy: tried
[warn] /home/yuchenlin/.sbt/preloaded/org.allenai.plugins/allenai-sbt-plugins/1.4.8/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:////home/yuchenlin/.sbt/preloaded/org/allenai/plugins/allenai-sbt-plugins_2.12_1.0/1.4.8/allenai-sbt-plugins-1.4.8.pom
[warn] ==== bintray-sbt-plugins: tried
[warn] https://dl.bintray.com/eed3si9n/sbt-plugins/org.allenai.plugins/allenai-sbt-plugins/scala_2.12/sbt_1.0/1.4.8/ivys/ivy.xml

@yuchenlin yuchenlin changed the title sbt test error sbt test error: model not found Nov 28, 2017
@yuchenlin
Copy link
Member Author

yuchenlin commented Nov 28, 2017

In the wikitable question branch:

[warn] :: com.eed3si9n#sbt-assembly;0.11.2: not found
[warn] :: me.lessis#bintray-sbt;0.3.0: not found
[warn] :: org.allenai.plugins#allenai-sbt-plugins;1.4.8: not found

the first one is fixed by adding this to assembly.sbt

resolvers += Resolver.url("bintray-sbt-plugins", url("https://dl.bintray.com/eed3si9n/sbt-plugins/"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")

@rajasagashe
Copy link

@matt-gardner Is there a fix to this? I'm having the same issue with me.lessis and org.allenai.plugins. I fixed the first by changing the version to 0.14.6.

@matt-gardner
Copy link

I'm pretty sure you can just remove those lines from project/plugins.sbt, and remove all references to docker and bintray in build.sbt. I don't think the library code depends on those plugins, and things should hopefully still work.

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