Giter VIP home page Giter VIP logo

Comments (10)

fogus avatar fogus commented on August 19, 2024

Hmmm, I am still unable to run with Lein. I get:

Exception in thread "main" java.lang.IllegalArgumentException: No matching method: run_marginalia

from marginalia.

budu avatar budu commented on August 19, 2024

Oops, sorry about the previous (deleted) comments, I was thinking about the lein marg plugin, not lein tests. In fact, I've never been able to run tests!

from marginalia.

fogus avatar fogus commented on August 19, 2024

I do not have Cake installed. Maybe that is causing issues. I will try it with cake.

from marginalia.

budu avatar budu commented on August 19, 2024

There doesn't seems to be any unit tests anyway!

from marginalia.

fogus avatar fogus commented on August 19, 2024

lein test runs for me... but since we have no tests it just prints a useless message about 0 assrtions etc.

from marginalia.

budu avatar budu commented on August 19, 2024

Well, that's weird!!!

from marginalia.

budu avatar budu commented on August 19, 2024

Also the error I'm getting never seems to reach the test directory, here's some excerpt from the stacktrace:

java.lang.Exception: Unable to resolve var: clojure.test/*test-out* in this context (NO_SOURCE_FILE:1)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5376)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
...
        at clojure.lang.Compiler.eval(Compiler.java:5391)
        at clojure.core$eval.invoke(core.clj:2382)
        at leiningen.compile$eval_in_project.doInvoke(compile.clj:172)
        at clojure.lang.RestFn.invoke(RestFn.java:491)
        at leiningen.test$test.doInvoke(test.clj:67)
        at clojure.lang.RestFn.invoke(RestFn.java:411)
...
        at clojure.core$apply.invoke(core.clj:542)
        at leiningen.core$apply_task.invoke(core.clj:191)
        at leiningen.core$_main.doInvoke(core.clj:250)
        at clojure.lang.RestFn.applyTo(RestFn.java:138)
        at clojure.core$apply.invoke(core.clj:542)
        at leiningen.core$_main.invoke(core.clj:255)
        at user$eval175.invoke(NO_SOURCE_FILE:1)

from marginalia.

budu avatar budu commented on August 19, 2024

I've found out that the error I'm getting disappear if the :eval-in-leiningen true option is removed from the Marginalia project file. I'm not sure what's its purpose?

from marginalia.

budu avatar budu commented on August 19, 2024

Here's a fix I'd like to get reviewed:

https://github.com/fogus/marginalia/issues#issue/14

from marginalia.

budu avatar budu commented on August 19, 2024

I've just tried running lein test on my Debian machine and I get the same errors! What platform are you using?

The Could not locate hiccup/core__init.class or hiccup/core.clj on classpath exception is thrown on the first time I run the tests after booting up. The Unable to resolve var: clojure.test/*test-out* in this context exception is happening every time.

Cake is working fine tough!

from marginalia.

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.