Make up failing on 'ed-logging' dependency
Hello!
When I run the "make up" command, it gets stuck on an error:
[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: community.ed#ed-logging_2.12;0.0.2: not found
Is this a known issue?
KajMagnus @KajMagnus2019-03-09 06:58:48.323ZYes sort of — other people have run into this too. I thought I had fixed it, but now I noticed I've forgotten to remove a line from the Scala SBT dependency list, for a dependency that's no longer in use.
I just removed that line ... now I'm typing
make upin a clean Vagrant VM. If this works, the problem should have been solved. (I didn't push this fix yet, to the Git repo; I'll do later today)(I didn't notice the problem myself because I had compiled the dependency long ago so it was in my build cache, and was therefore found.)
- TTracy Waudby @twaudby
Thanks! I'll test it out once you push the fix.
- In reply toKajMagnus⬆:TTracy Waudby @twaudby
Hi @KajMagnus,
i pulled the latest code and got past the ed-logging, but now there is a new missing dependency error:
[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: net.minidev#json-smart;[1.3.1,2.3]: not found
KajMagnus @KajMagnus2019-03-10 21:41:54.551ZCould this have been a temporary network error? What happens if you try again? (You can type
make play-clito start the Scala console, and then typecompileto download dependencies and compile the Scala code.)Or, what operating system do you use? Maybe there's some problem with where the
~/.ivy2/cache folder is located.The dependency is available in mvnrepository.com: https://mvnrepository.com/artifact/net.minidev/json-smart/2.3, version 2.3 and it gets downloaded properly to my computer.
( More details: It's a transitive dependency, included via Silhouette, an OpenAuth library —
sbt> dependencyTreeshows:... [info] +-com.mohiva:play-silhouette_2.12:5.0.5 [S] [info] | +-com.atlassian.jwt:jwt-api:2.0.1 [info] | | +-com.google.code.findbugs:jsr305:2.0.1 [info] | | [info] | +-com.atlassian.jwt:jwt-core:2.0.1 [info] | | +-com.nimbusds:nimbus-jose-jwt:4.41.1 [info] | | | +-com.github.stephenc.jcip:jcip-annotations:1.0-1 [info] | | | +-net.minidev:json-smart:2.3 <———— there it is [info] | | | +-net.minidev:accessors-smart:1.2 [info] | | | +-org.ow2.asm:asm:5.0.4 ...It gets dowloaded properly to a clean Ubuntu 18.04 VM when I test on my computer:
[info] downloading https://repo1.maven.org/maven2/net/minidev/json-smart/2.3/json-smart-2.3.jar ... ... [info] [SUCCESSFUL ] net.minidev#json-smart;2.3!json-smart.jar(bundle) (329ms)and it's in
~/.ivy2on my computer:root@ubuntu-bionic:~/.ivy2# find . -regex '.*json-smart.*' ./cache/net.minidev/json-smart ./cache/net.minidev/json-smart/ivy-2.3.xml ./cache/net.minidev/json-smart/bundles ./cache/net.minidev/json-smart/bundles/json-smart-2.3.jar ./cache/net.minidev/json-smart/ivy-2.3.xml.original ./cache/net.minidev/json-smart/ivydata-[1.3.1,2.3].properties ./cache/net.minidev/json-smart/ivydata-2.3.properties)
- TTracy Waudby @twaudby
I get the same dependency error for net.minidev#json-smart when running
compilefrommake play-cliI'm on CentOS Linux release 7.6.1810. I can try getting an Ubuntu box to set this up instead.
Thanks again for responding!
KajMagnus @KajMagnus2019-03-11 04:41:38.995ZMaybe you could send me the Play Framework log files? If you type:
docker-compose logs app | gzip --stdout > app-logs.txt.gzand attachapp-logs.txt.gzhere or in a private message?Also, what happens if you do this:
cd /tmp/ wget https://repo1.maven.org/maven2/net/minidev/json-smart/2.3/json-smart-2.3.jarWill that download the
json-smart-2.3.jarfile? (works for me; I get an 118K large file.)
- Progresswith handling this problem
KajMagnus @KajMagnus2019-03-10 11:39:36.400ZHi again Tracy @twaudby, now I've removed the dependency, and everything works fine without it now (as far as I can tell). Would you like to try? If you pull the latest changes from the
masterbranch, incl this commit: https://github.com/debiki/talkyard/commit/5efb70707c54810e55905a0e8557f80e0b1ca951
KajMagnus @KajMagnus2019-06-09 12:43:02.074ZMarking as done, since the
ed-loggingproblem is now gone (I removed the dependency), and Tracy you got past that error (https://www.talkyard.io/-200#post-7) ...... I think the other problem, which happened thereafter:
unresolved dependency: net.minidev#json-smartis because of being on a corporate network and reverse proxy settings not yet configured. Tracy @twaudby feel free to open a different topic about that if you want to.
