jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
565 stars 50 forks source link

Exceptions with polling saved values feature #247

Open abhilater opened 7 years ago

abhilater commented 7 years ago

Getting the following exception on triggering display saved values

Error polling for saved values ClassNotFoundException proto-repl.saved-values java.net.URLClassLoader.findClass (URLClassLoader.java:381) Error polling for saved values ClassNotFoundException proto-repl.saved-values java.net.URLClassLoader.findClass (URLClassLoader.java:381)

Following are my project configurations

:dependencies [[org.clojure/clojure "1.8.0"] [cheshire "5.6.3"] [compojure "1.5.1"] [ring/ring-defaults "0.2.1"] [ring/ring-json "0.4.0"] [compliment "0.3.4"] [proto-repl "0.3.1"] ] Following are the Atom package versions:

Atom version: 1.16.0 ink version: 0.6.5 proto-repl: 1.4.20 tool-bar: 1.1.0

@jasongilman

abhilater commented 7 years ago

@jasongilman Polling saved values feature isn't working for me, on the demo app when I hit alt-shift-D I get the inline view widget with empty bindings, did I do something wrong.

nmoya commented 6 years ago

+1. I'm having the same issue.

nmoya commented 6 years ago

I just realized that even using a full qualified namespace, such as (proto-repl.saved-values/save 1) you still need to add a require call (require 'proto-repl.saved-values). This solved for me.