This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-27
Channels
- # announcements (5)
- # aws (2)
- # babashka (2)
- # beginners (79)
- # calva (14)
- # clojure (45)
- # clojure-canada (1)
- # clojure-europe (26)
- # clojuredesign-podcast (14)
- # clojurescript (4)
- # cursive (30)
- # datascript (8)
- # depstar (2)
- # emacs (7)
- # events (1)
- # helix (2)
- # honeysql (4)
- # jobs-discuss (1)
- # off-topic (5)
- # polylith (1)
- # quil (2)
- # reagent (7)
- # shadow-cljs (14)
- # tools-deps (26)
- # xtdb (9)
Hi @cfleming, this was brought up a while back but I’m not sure if it’s been fixed now. Currently I’m working on a project that hasn’t been opened in 2 months, and when I try to run a REPL I’m met with the dreadful Surpressed exit
with no other information whatsoever. Has this been fixed? If not, is there anyway I can get some more information to try to understand what’s causing this to occur? Thanks in advance.
So I suspect that this is caused by a lein plugin. Is this a project I can look at, or is it a work one? If it’s one I can’t see, which plugins is it using?
@cfleming Sure thing. I’m working on this one https://github.com/aratare-jp/epsilon-clj
One thing I’ve noticed is that this happens so randomly I can’t really give you a more concrete way to reproduce it. But of all the time that it did occur, it’s always caused by Run REPL
.
When I tried it a couple of months back, running lein repl
in a terminal would somehow make this go away. When I tried it yesterday, the error persisted even after multiple lein repl
.
When I try with dev, I get:
Error loading nrepl.server: Could not locate nrepl/server__init.class, nrepl/server.clj or nrepl/server.cljc on classpath.
Error loading complete.core: Could not locate complete/core__init.class, complete/core.clj or complete/core.cljc on classpath.
Syntax error (ClassNotFoundException) compiling at (/private/var/folders/__/8l603gyx7t15k39pyjk0c0xr0000gn/T/form-init1414398454383792338.clj:1:1190).
nrepl.server
I think the problem is with lein-cloverage
, here: https://github.com/cloverage/cloverage/blob/dba7d72547748cf494f2bbc784b8a70ed8d9901f/lein-cloverage/src/leiningen/cloverage.clj#L46
I can try to track down why the error isn’t having more useful data output, but it would be really helpful to be able to reproduce it.
Ok, I fixed those errors by including nrepl and clojure-complete in the dependencies. Still no failure though.
Can you email me your log file to <mailto:[email protected]|[email protected]>? Help | Show log in Finder/Explorer
Thanks. So there’s nothing related in the logs unfortunately, but I think I see what the problem is with some of the exception data being lost.
Actually, looking at that line in Cloverage, it looks like it’s totally eating the exception data anyway.
Correct me if I’m wrong, but when you select profiles in the Leiningen
tab in Cursive, that’s just for compiling stuff right?
That’s for what gets synced to the project. If you’re running your REPL with Leiningen, it shouldn’t matter.