Error using neocons

36 views
Skip to first unread message

Mark Engelberg

unread,
Feb 12, 2014, 2:57:09 PM2/12/14
to clojur...@googlegroups.com
I'm trying out Neocons for the first time.  When I try to connect! I get the following error:

CompilerException java.lang.RuntimeException: No such var: conn/reusable?, compiling:(clj_http/core.clj:149:23)

Any idea what's going on?

Thanks,

Mark

Michael Klishin

unread,
Feb 12, 2014, 3:00:42 PM2/12/14
to clojur...@googlegroups.com

2014-02-12 23:57 GMT+04:00 Mark Engelberg <mark.en...@gmail.com>:
CompilerException java.lang.RuntimeException: No such var: conn/reusable?, compiling:(clj_http/core.clj:149:23)

Any idea what's going on?

Please post a more detailed stack trace.

Presumably a different clj-http version is on classpath.
--
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

Mark Engelberg

unread,
Feb 12, 2014, 3:13:28 PM2/12/14
to clojur...@googlegroups.com
I checked the classpath, and it shows that I am using clj-http 0.7.8.
I also see something in the classpath called clj-http-lite 0.2.0.

Stack trace:

CompilerException java.lang.RuntimeException: No such var: conn/reusable?, compiling:(clj_http/core.clj:149:23)
    clojure.lang.Compiler.analyze (Compiler.java:6380)
    clojure.lang.Compiler.analyze (Compiler.java:6322)
    clojure.lang.Compiler$InvokeExpr.parse (Compiler.java:3573)
    clojure.lang.Compiler.analyzeSeq (Compiler.java:6562)
    clojure.lang.Compiler.analyze (Compiler.java:6361)
    clojure.lang.Compiler.analyze (Compiler.java:6322)
    clojure.lang.Compiler$IfExpr$Parser.parse (Compiler.java:2664)
    clojure.lang.Compiler.analyzeSeq (Compiler.java:6560)
    clojure.lang.Compiler.analyze (Compiler.java:6361)
    clojure.lang.Compiler.analyzeSeq (Compiler.java:6548)
    clojure.lang.Compiler.analyze (Compiler.java:6361)
    clojure.lang.Compiler.analyze (Compiler.java:6322)
Caused by:
RuntimeException No such var: conn/reusable?
    clojure.lang.Util.runtimeException (Util.java:219)
    clojure.lang.Compiler.resolveIn (Compiler.java:6848)
    clojure.lang.Compiler.resolve (Compiler.java:6818)
    clojure.lang.Compiler.analyzeSymbol (Compiler.java:6779)
    clojure.lang.Compiler.analyze (Compiler.java:6343)
    clojure.lang.Compiler.analyze (Compiler.java:6322)


--
Documentation: http://clojureneo4j.info
Issues: https://github.com/michaelklishin/neocons/issues
 
More Clojure libraries: http://clojurewerkz.org
---
You received this message because you are subscribed to a topic in the Google Groups "clojure-neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure-neo4j/2kra7fVt6Ac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure-neo4...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojure-neo4j.
For more options, visit https://groups.google.com/groups/opt_out.

Michael Klishin

unread,
Feb 12, 2014, 3:16:01 PM2/12/14
to clojur...@googlegroups.com
2014-02-13 0:13 GMT+04:00 Mark Engelberg <mark.en...@gmail.com>:
I also see something in the classpath called clj-http-lite 0.2.0.

Stack trace:

CompilerException java.lang.RuntimeException: No such var: conn/reusable?, compiling:(clj_http/core.clj:149:23)

lein deps :tree

clj-http.lite doesn't use the same namespaces, though:

but it is clj-http that fails to compile

Mark Engelberg

unread,
Feb 12, 2014, 3:26:40 PM2/12/14
to clojur...@googlegroups.com
I stripped out some dependencies; still getting the error.  Here's the tree:

 [aysylu/loom "0.4.1"]
 [clojure-complete "0.2.3" :exclusions [[org.clojure/clojure]]]
 [clojurewerkz/neocons "2.0.1"]
   [cheshire "5.2.0"]
     [com.fasterxml.jackson.core/jackson-core "2.2.1"]
     [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.2.1"]
     [tigris "0.1.1"]
   [clj-http "0.7.8"]
     [commons-codec "1.8" :exclusions [[org.clojure/clojure]]]
     [commons-io "2.4" :exclusions [[org.clojure/clojure]]]
     [crouton "0.1.1" :exclusions [[org.clojure/clojure]]]
       [org.jsoup/jsoup "1.7.1"]
     [org.apache.httpcomponents/httpclient "4.3.1" :exclusions [[org.clojure/clojure]]]
       [commons-logging "1.1.3"]
     [org.apache.httpcomponents/httpcore "4.3" :exclusions [[org.clojure/clojure]]]
     [org.apache.httpcomponents/httpmime "4.3.1" :exclusions [[org.clojure/clojure]]]
     [org.clojure/tools.reader "0.8.1" :exclusions [[org.clojure/clojure]]]
     [slingshot "0.10.3" :exclusions [[org.clojure/clojure]]]
   [clojurewerkz/support "0.20.0"]
     [com.google.guava/guava "14.0.1"]
   [clojurewerkz/urly "2.0.0-alpha5"]
 [instaparse "1.2.13"]
 [loco "0.1.0-20140122.025832-5"]
   [choco/choco-solver "3.1.0"]
     [args4j "2.0.12"]
     [ch.qos.logback/logback-classic "0.9.24"]
     [ch.qos.logback/logback-core "0.9.24"]
     [choco/PropAnn "1.0"]
     [choco/choco-environment "3.1.0"]
     [dk.brics/automaton "1.11-2"]
     [jgrapht "0.8.1"]
     [net.sf.trove4j/trove4j "3.0.3"]
     [org.slf4j/slf4j-api "1.6.1"]
 [org.clojure/clojure "1.5.1"]
 [org.clojure/core.async "0.1.267.0-0d7780-alpha"]
 [org.clojure/data.csv "0.1.2"]
 [org.clojure/data.priority-map "0.0.4"]
 [org.clojure/math.combinatorics "0.0.7"]
 [org.clojure/math.numeric-tower "0.0.4"]
 [org.clojure/tools.namespace "0.2.4"]
 [org.clojure/tools.nrepl "0.2.3" :exclusions [[org.clojure/clojure]]]
 [org.clojure/tools.trace "0.7.6"]
 [spyscope "0.1.4"]
   [clj-time "0.5.0"]
     [joda-time "2.2"]



--

Michael Klishin

unread,
Feb 12, 2014, 3:44:46 PM2/12/14
to clojur...@googlegroups.com

2014-02-13 0:26 GMT+04:00 Mark Engelberg <mark.en...@gmail.com>:
[clj-http "0.7.8"]

In this version, clj-http.conn-mgr/reusable? does exist:
Reply all
Reply to author
Forward
0 new messages