Comments (10)
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.
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.
I do not have Cake installed. Maybe that is causing issues. I will try it with cake.
from marginalia.
There doesn't seems to be any unit tests anyway!
from marginalia.
lein test
runs for me... but since we have no tests it just prints a useless message about 0 assrtions etc.
from marginalia.
Well, that's weird!!!
from marginalia.
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.
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.
Here's a fix I'd like to get reviewed:
https://github.com/fogus/marginalia/issues#issue/14
from marginalia.
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)
- Markdown extension for linking to a function in docstrings and comments HOT 1
- chokes on Clojure 1.7.0 HOT 8
- Marginalia waits a long time for agents to shut down HOT 2
- Every 3rd time I run, I get an exception HOT 3
- Explore the use of Instaparse
- Processing reader conditionals broken HOT 9
- `lein marg` fails when a map value symbol contains a double colon HOT 8
- Incompatibility in matchSymbol with Clojure 1.9.0-beta1 HOT 4
- lein marg fails under clojure 1.9.* HOT 11
- Does not take into account `:source-paths` HOT 1
- Markdown target HOT 4
- :extend-via-metadata in protocols breaks Marginalia HOT 3
- docco url in README.md HOT 1
- Add instructions for `deps.edn` projects HOT 1
- Transfer to clj-commons? HOT 1
- Make [[docstring-links]] into links HOT 1
- [Idea] Respect .gitignore
- Support blocking search engines (support custom <head> content?) HOT 3
- Update the website link in repo's "About" section HOT 1
- [Idea] Ways to style the docs based on metadata on `def`s HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marginalia.