Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run from REPL or lein using instructions in README.md #21

Open
eddingtonross opened this issue Apr 16, 2013 · 0 comments
Open

Can't run from REPL or lein using instructions in README.md #21

eddingtonross opened this issue Apr 16, 2013 · 0 comments

Comments

@eddingtonross
Copy link

I may be missing something obvious: I'm just following the instructions in README.md blindly. I'm using Clojure 1.4.0, Leiningen 2.0.0, Java 1.7.0_09

If I run command:

(use 'clj-stacktrace.repl)

in a lein repl I get

IllegalStateException pst already refers to: #'clojure.repl/pst in namespace: user  
clojure.lang.Namespace.warnOrFailOnReplace (Namespace.java:88)

If I follow the instructions for installing in Leiningen 2.x (just adding the init file) I get:

java.lang.RuntimeException: Unable to resolve symbol: clj-stacktrace in this con
text, compiling:(C:\Users\edward\.lein\init.clj:0)
    at clojure.lang.Compiler.analyze(Compiler.java:6281)
    at clojure.lang.Compiler.analyze(Compiler.java:6223)
    at clojure.lang.Compiler$VectorExpr.parse(Compiler.java:2954)
    at clojure.lang.Compiler.analyze(Compiler.java:6264)
    at clojure.lang.Compiler.analyze(Compiler.java:6223)
    at clojure.lang.Compiler$VectorExpr.parse(Compiler.java:2954)
    at clojure.lang.Compiler.analyze(Compiler.java:6264)
    at clojure.lang.Compiler.analyze(Compiler.java:6223)
    at clojure.lang.Compiler$MapExpr.parse(Compiler.java:2827)
    at clojure.lang.Compiler.analyze(Compiler.java:6270)
    at clojure.lang.Compiler.analyze(Compiler.java:6223)
    at clojure.lang.Compiler$MapExpr.parse(Compiler.java:2827)
    at clojure.lang.Compiler.analyze(Compiler.java:6270)
    at clojure.lang.Compiler.analyze(Compiler.java:6223)
    at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5618)
    at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5054)
    at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3674)
    at clojure.lang.Compiler.analyzeSeq(Compiler.java:6453)
    at clojure.lang.Compiler.analyze(Compiler.java:6262)
    at clojure.lang.Compiler.eval(Compiler.java:6508)
    at clojure.lang.Compiler.load(Compiler.java:6952)
    at clojure.lang.Compiler.loadFile(Compiler.java:6912)
    at clojure.lang.RT$3.invoke(RT.java:307)
    at leiningen.core.user$fn__301.invoke(user.clj:22)
    at clojure.lang.AFn.applyToHelper(AFn.java:159)
    at clojure.lang.AFn.applyTo(AFn.java:151)
    at clojure.core$apply.invoke(core.clj:601)
    at clojure.core$memoize$fn__4921.doInvoke(core.clj:5620)
    at clojure.lang.RestFn.invoke(RestFn.java:397)
    at leiningen.core.main$_main$fn__1665.invoke(main.clj:222)
    at leiningen.core.main$_main.doInvoke(main.clj:221)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.lang.Var.invoke(Var.java:415)
    at clojure.lang.AFn.applyToHelper(AFn.java:161)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.core$apply.invoke(core.clj:601)
    at clojure.main$main_opt.invoke(main.clj:324)
    at clojure.main$main.doInvoke(main.clj:427)
    at clojure.lang.RestFn.invoke(RestFn.java:436)
    at clojure.lang.Var.invoke(Var.java:423)
    at clojure.lang.AFn.applyToHelper(AFn.java:167)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.main.main(main.java:37)
Caused by: java.lang.RuntimeException: Unable to resolve symbol: clj-stacktrace
in this context
    at clojure.lang.Util.runtimeException(Util.java:170)
    at clojure.lang.Compiler.resolveIn(Compiler.java:6766)
    at clojure.lang.Compiler.resolve(Compiler.java:6710)
    at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6671)
    at clojure.lang.Compiler.analyze(Compiler.java:6244)
    ... 42 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant