No internet connection
  1. Home
  2. Issues

Make up failing on 'ed-logging' dependency

By Tracy Waudby @twaudby2019-03-08 22:46:40.117Z

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?

  • 9 replies
  1. KajMagnus @KajMagnus2019-03-09 06:58:48.323Z

    Yes 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 up in 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.)

    1. TTracy Waudby @twaudby2019-03-10 03:00:13.842Z

      Thanks! I'll test it out once you push the fix.

      1. In reply toKajMagnus:
        TTracy Waudby @twaudby2019-03-10 16:34:15.644Z2019-03-10 20:54:24.251Z

        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

        1. KajMagnus @KajMagnus2019-03-10 21:41:54.551Z

          Could this have been a temporary network error? What happens if you try again? (You can type make play-cli to start the Scala console, and then type compile to 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> dependencyTree shows:

          ...
          [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 ~/.ivy2 on 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
          

          )

          1. TTracy Waudby @twaudby2019-03-10 22:57:55.564Z

            I get the same dependency error for net.minidev#json-smart when running compile from make play-cli

            I'm on CentOS Linux release 7.6.1810. I can try getting an Ubuntu box to set this up instead.

            Thanks again for responding!

            1. KajMagnus @KajMagnus2019-03-11 04:41:38.995Z

              Maybe you could send me the Play Framework log files? If you type: docker-compose logs app | gzip --stdout > app-logs.txt.gz and attach app-logs.txt.gz here 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.jar
              

              Will that download the json-smart-2.3.jar file? (works for me; I get an 118K large file.)

      2. Progress
        with handling this problem
      3. @KajMagnus marked this topic as Planned 2019-03-09 07:00:01.929Z.
      4. @KajMagnus marked this topic as Started 2019-03-09 07:00:02.738Z.
      5. KajMagnus @KajMagnus2019-03-10 11:39:36.400Z

        Hi 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 master branch, incl this commit: https://github.com/debiki/talkyard/commit/5efb70707c54810e55905a0e8557f80e0b1ca951