Fork me on GitHub
#cursive
<
2023-10-25
>
cfleming00:10:18

https://twitter.com/CursiveIDE/status/1716971832589562018 > Cursive 1.13.1-eap7 is out. It fixes a problem where eap6 was not compatible with the Clojure Extras plugin, due to some Cursive classes being converted from Java to Kotlin. https://groups.google.com/g/cursive/c/-kaa5fqddH8/m/XxNA7ICUEQAJ

jbiserkov12:10:27

If you're getting "Unexpected end of ZLIB input stream" error, I found a simple workaround - downgraded the deps.clj version to 1.11.1.1403 or older ( Settings > Buid, Execution, Deployment > Build Tools > Clojure deps). https://github.com/cursive-ide/cursive/issues/2853

cfleming20:10:48

I can use both of those versions with no problem. That error looks to me like the downloads might have been corrupted somehow. If you try to use those versions with deps.clj on the command line, do you get the same error? You can install it following the doc here: https://github.com/borkdude/deps.clj, and use DEPS_CLJ_TOOLS_VERSION to specify the version (you probably don’t have to do this since 1.11.1.1413 is the latest version). Does deleting ~/.deps.clj/1.11.1.1413 and trying again help?

1
jbiserkov21:10:15

Deleting ~/.deps.clj/1.11.1.1413 did indeed fix the problem. But ~/.deps.clj/1.11.1.1411 didn't exist, and that's now fixed too. :man-shrugging::skin-tone-3: The ~/.deps.clj/1.11.1.1413 folder contained the following files:

TRANSACTION_START               0 b
tools.edn                     126 b
clojure-tools-1.11.1.1413.jar 9,9 M
clojure-tools.zip             9,3 M
Both the jar and zip are corrupted. The jar should be 19.4 megabytes. I've updated the issue with the new workaround.

cfleming21:10:59

Thanks, I’ve closed that issue because I don’t think there’s much Cursive can do about this. But I suspect there might be an issue with the version that’s being used (since 1411 didn’t exist for you), I’ll check that today and fix it if so.

jbiserkov21:10:14

I agree. There's not much Cursive can do. And hopefully if someone runs into it in the future they'll find either this conversation or the issue 😃