Fork me on GitHub
#cursive
<
2021-08-16
>
souenzzo11:08:16

Hello. I was using cursive with "Use tools.deps directly". After upgrade to 0.12.x, everything seems fine, but when I fire my REPL, I can't find any of my git deps. I downgraded to 0.11.905 and it's working again. This is a know issue?

souenzzo11:08:50

I use REPL with intellij classpath

markaddleman14:08:28

I found that downgrading to 0.10.889 works.

tony.kay17:08:54

I'm having trouble with git deps (using the CLI tools 1.10.3.933) ever since I upgraded to the that version (using Cursive latest, with IntelliJ latest). I also just tried the latest EAP and doesn't seem to work.

tony.kay17:08:08

Downgrading to CLI 855 (which is before various CHANGELOG events related to git deps in tools deps) fixes it.

cfleming21:08:57

@U0CKQ19AQ Thanks, I’m planning to look at that today

👍 3
cfleming02:08:19

Fixed - this is because recent deps versions return :git/sha instead of :sha

🙏 3
cfleming03:08:17

This is out now in the new EAP.

sb14:08:45

Hello, When I use Cursive + CLJ/CLJS project + npm postwatch Tailwind CSS.. auto refresh freeze in the browser and I got this error

Exception in thread "async-dispatch-6" java.net.SocketException: Socket closed
	at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
	at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)
	at nrepl.bencode$eval37479$fn__37480.invoke(bencode.clj:397)
	at clojure.lang.MultiFn.invoke(MultiFn.java:234)
	at nrepl.transport$bencode$fn__37627.invoke(transport.clj:117)
	at nrepl.transport.FnTransport.send(transport.clj:41)
	at shadow.cljs.devtools.server.nrepl04$send.invokeStatic(nrepl04.clj:33)
	at shadow.cljs.devtools.server.nrepl04$send.invoke(nrepl04.clj:20)
	at shadow.cljs.devtools.server.nrepl04$worker_exit.invokeStatic(nrepl04.clj:148)
	at shadow.cljs.devtools.server.nrepl04$worker_exit.invoke(nrepl04.clj:146)
	at shadow.cljs.devtools.server.nrepl04$cljs_select$fn__38805$fn__38807.invoke(nrepl04.clj:165)
	at shadow.cljs.devtools.api$nrepl_select$fn__21203$state_machine__7111__auto____21220$fn__21222.invoke(api.clj:383)
	at shadow.cljs.devtools.api$nrepl_select$fn__21203$state_machine__7111__auto____21220.invoke(api.clj:376)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:973)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:972)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:977)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:975)
	at clojure.core.async$ioc_alts_BANG_$fn__7340.invoke(async.clj:383)
	at clojure.core.async$do_alts$fn__7272$fn__7275.invoke(async.clj:252)
	at clojure.core.async.impl.channels.ManyToManyChannel$fn__2061.invoke(channels.clj:265)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Evaluation interrupted. 

onetom09:08:35

that sounds like a pretty complicated setup... the way im dealing with such issues is to avoid them, by using simpler tools and simpler approaches. for example, i just switched out the official sentry client to an unofficial one (https://github.com/source-c/sentry-tiny), which is just 169 lines and relies of well-tested, relatively-simple libraries (cheshire, clj-time, httpkit). then, i've even get rid of some of those dependencies and replaced them with more modern ones (clojure.data.json, java.time, hato). took me 2 hours, but after fighting with the official client for 4+ hours, i think it worth the tradeoff...

👍 3
👀 3
sb14:08:33

Thanks Tom! Sorry for this late response..

sb14:08:12

any idea how to fix? when I stop the execution in the CLJ REPL (with x) and restart the mount flows, everything is normal… not really big issue, but maybe.. somebody saw similar.. (between 30 mins and 2 hours happens)

cfleming03:08:47

Do you have any reason to suspect that this is Cursive-related? If not, it’s probably a better question for #shadow-cljs.

sb14:08:26

Cursive IDE freezing, from terminal np. That is what I got as error, maybe setup related true...