Fork me on GitHub
#calva
<
2020-08-23
>
ksd01:08:48

hello! I followed the instructions Calva + REBL instructions (https://calva.io/rebl/) and am getting the following error when attempting to Jack In to a tools.clj (is that the right name?) project:

Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate nrepl/__init.class, nrepl/.clj or nrepl/.cljc on classpath.
I am not sure what to make of this.

ksd01:08:34

Also recently I have become unable to use alt + enter to evaluate forms in the output.repl window. Is this normal? I am thinking this has to do with my being on Mac.

ksd01:08:45

actually now it’s working but I could swear it wasn’t working earlier…

pez05:08:53

If it happens again, copy the contents of the window and we can have a look at if it could be something with that.

ksd06:08:08

sounds good!

Maksim Glebov10:08:40

I run into this a couple of times when something in the syntax of the output file was broken. E.g. parentheses mismatch. The problem could be anywhere in the file, which makes it not obvious. The simplest example to reproduce:

clj::api.core=> 
(+ 1 2
3
clj::api.core=> 
(+ 1 2)		; alt + enter does not work, but ctrl + enter does

pez10:08:55

That was what I suspected could be going on. Unbalance in the force. It is not obvious to me how it should be tackled. Maybe we could have some special way that we determine top level form in the output window.

bringe18:08:39

https://github.com/BetterThanTomorrow/calva/issues/767 Made an issue to track this unbalance in the force :thumbsup: