Fork me on GitHub
#calva
<
2023-06-08
>
maxt14:06:01

When trying Calva on windows, I run into a strange ERROR: Unhandled REPL handler exception processing message {:op eval, :code *ns*, :id 1} problem. I’ve tried reinstalling Calva but without success. Any ideas of what could have gone wrong or what I can try next?

pez14:06:18

Where does this error show? And does it stop the repl from working?

maxt14:06:49

It’s in the terminal window in vscode that calva opens. Yes, the repl gets stuck in “trying to connect”

maxt14:06:45

It happens in an empty project with just a {} in deps.edn and a single namespace

maxt14:06:13

Starting the repl outside of calva with clj works fine

pez15:06:47

How about starting the repl with that command line?

maxt18:06:11

Same thing. The repl starts, but the error comes up when I try to connect to it from calva (using Connect to running REPL). I’m trying to help a friend but it seems like his windows installation has other problems too. He’ll try to reinstall and we’ll see if the error persists.

maxt18:06:22

Thank you for your help!

pez16:06:50

I now did a test on a Windows machine with that minimal setup and I don’t get that error. What version of Java do you have, and how was it installed?

maxt14:06:17

nrepl: 1.0.0
    cider-nrepl: 0.28.5
    cider/piggieback: 0.5.3
  clojure-lsp version configured: latest

If you are new to Calva, please see: 
  And please consider the command: **Calva: Fire up the Getting Started REPL**

Calva version used: v2.0.369
clojure-lsp version used: 2023.05.04-19.38.01
clj-kondo version used: 2023.04.15-SNAPSHOT

🧵 2
maxt14:06:30

pushd c:\Users\x\Clojure\test & java -jar ".calva\deps.clj.jar" -Sdeps "{:deps {nrepl/nrepl {:mvn/version,""1.0.0""},cider/cider-nrepl {:mvn/version,""0.28.5""}}}" -M -m nrepl.

🧵 2