GithubHelp home page GithubHelp logo

Comments (11)

sksamuel avatar sksamuel commented on June 28, 2024

What version of scala ?

from scrimage.

DeaconDesperado avatar DeaconDesperado commented on June 28, 2024

2.10.0

from scrimage.

sksamuel avatar sksamuel commented on June 28, 2024

What are your imports? It shouldn't be importing AsyncImage here if you're just using Image. Can you run the tests ok ?

from scrimage.

DeaconDesperado avatar DeaconDesperado commented on June 28, 2024

Right now I just have the following in my sbt build file:

libraryDependencies ++= Seq(
  "net.databinder" %% "unfiltered-filter" % "0.6.8",
  "net.databinder" %% "unfiltered-jetty" % "0.6.8",
  "org.clapper" %% "avsl" % "0.4",
  "net.databinder" %% "unfiltered-spec" % "0.6.8" % "test",
  "com.sksamuel.scrimage" % "scrimage-core" % "1.3.1"
)

I'm not sure how to run the tests without all the sources, can you provide a command? Thanks!

from scrimage.

sksamuel avatar sksamuel commented on June 28, 2024

I'm just wondering about your scala setup you see. Do a checkout of scrimage and then in the root directory run

mvn clean test

you'll need maven installed of course.

I'm going to write up some more tests to check out your reports but it might take me a few hours.

from scrimage.

DeaconDesperado avatar DeaconDesperado commented on June 28, 2024

Done, output including exception in test from maven here:

https://gist.github.com/DeaconDesperado/5986942

from scrimage.

sksamuel avatar sksamuel commented on June 28, 2024

You need maven 3.0.4 +
net.alchim31.maven:scala-maven-plugin:3.1.5 requires Maven version 3.0.4

from scrimage.

sksamuel avatar sksamuel commented on June 28, 2024

Did you get this sorted?

from scrimage.

DeaconDesperado avatar DeaconDesperado commented on June 28, 2024

Sorry for the delay. Upgraded my Maven version and ran the tests, here is output:

https://gist.github.com/DeaconDesperado/6000053

I did get a heap space error, and changing the the heap size with the MAVEN_OPTS variable didn't seem to avoid it.

from scrimage.

DeaconDesperado avatar DeaconDesperado commented on June 28, 2024

I found the issue! My apologies, it seems like after building against several versions I had duplicates of the jars on my classpath, screwing up resolution. Everything is working now building against scala 2.10.0 Thanks for your help!

from scrimage.

sksamuel avatar sksamuel commented on June 28, 2024

Ahhh ok. Pleased you got it working.

from scrimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.