sbelak / huri

Tools for the lazy data scientist
Eclipse Public License 1.0
225 stars 17 forks source link

Cannot get huri working in gorilla repl #7

Open behrica opened 7 years ago

behrica commented 7 years ago

I cannot get huri and gorilla repl working together. In the most simple project, like

(project test-gorilla "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [
                 [huri "0.10.0-SNAPSHOT"]]
  :plugins [[lein-gorilla "0.4.0"]]
  )

I get an exception in gorilla repl evaluating the name space declaration:

(ns greasy-lagoon
  (:require [huri.core]))

Stacktrace is:

An exception was caused by: java.io.FileNotFoundException (Could not locate net/cgrand/xforms__init.class or net/cgrand/xforms.clj on classpath: )

    load - (RT.java:443)
    load - (RT.java:411)
    load/fn - clojure.core - (core.clj:5641)
    load - clojure.core - (core.clj:5640)
    invoke - (RestFn.java:408)
    load-one - clojure.core - (core.clj:5446)
    load-lib/fn - clojure.core - (core.clj:5486)
    load-lib - clojure.core - (core.clj:5485)
    applyTo - (RestFn.java:142)
    apply - clojure.core - (core.clj:626)
    load-libs - clojure.core - (core.clj:5524)
    applyTo - (RestFn.java:137)
    apply - clojure.core - (core.clj:626)
    require - clojure.core - (core.clj:5607)
    invoke - (RestFn.java:551)
    eval9712/loading--auto-- - huri.core - (core.clj:1)
    eval9712 - huri.core - (core.clj:1)
sbelak commented 7 years ago

Based on the linked issue, this seems a problem with Gorilla REPL. Full link if anyone else is suffering from same problem: https://github.com/JonyEpsilon/lein-gorilla/issues/10

Thanks for digging into it!