Fork me on GitHub
#cursive
<
2021-02-23
>
kenny03:02:00

Problem fixed for me. Thanks for the quick update!

Alex Miller (Clojure team)14:02:52

Additionally, the latest version of Clojure CLI 1.10.2.796 also fixes the issues so upgrading either should address this - this one was on me, apologies

👍 12
borkdude14:02:17

And probably brew, automatically upgrading things when you don't ask for it ;)

Daniel Wellman20:02:18

Have there been any changes about how to work with lein v projects recently? I have a project I’ve been working with for several weeks and just in the last few days I’ve done something that prevents me from starting a new REPL in Cursive, though I can connect to a remote one fine. I get an error like this: ERROR - intellij.openapi.progress.Task - resources/version.edn (No such file or directory) .FileNotFoundException: resources/version.edn (No such file or directory)`. I have an existing workaround in prep-tasks in the format described here: https://github.com/roomkey/lein-v/issues/26

cfleming21:02:46

@U01LG1KAC65 I don’t think anything has changed in any of that code for ages. I’ll see if I can reproduce this and fix it properly.

Daniel Wellman22:02:08

Thank you — it may be my workaround which is no longer necessary — I had this, per that GitHub issue for lein-v:

:prep-tasks [~(when (System/getenv "PWD") ["v" "cache" "resources" "edn"])]
I will look and see if this is no longer necessary in my setup. The other thing I had to do was documented in here (for opening the project the first time), which I believe is unrelated to the current issue I’m seeing. https://github.com/cursive-ide/cursive/issues/1999

cfleming23:02:27

I’ll take a look at that one too, thanks.

Daniel Wellman23:02:13

Thanks - I tried the pre-tasks without the check and still yields an error, so I think it’s behaving similarly to the lein-v issue posted at the start of this thread.

:prep-tasks [["v" "cache" "resources" "edn"]]

cfleming04:02:23

@U01LG1KAC65 Ok, I’ve fixed both #1999 and also lein-v/#26, so they (and other cases) should hopefully work without workarounds now. I’m not sure which release that will make it into since it’s a change to a fairly sensitive part of the lein integration. I’ll probably release 1.10.1 and then get this into the first release of the 1.10.2 EAP.

Daniel Wellman13:02:39

Thank you so much! Please let me know if I can assist in any way. I appreciate your quick help here - I’m relatively new to Clojure, so this change will remove one little hurdle as I get acclimated. It’s a big help for me.