[Olical/conjure] Issue closed by Olical
[Olical/conjure] Issue closed by Olical
[Olical/conjure] New release https://github.com/Olical/conjure/releases/tag/v4.20.0 published by Olical
Ohh interesting! Thank you so much! I'd be more than happy to test it yeah.
I think that'll be enough information, although the full verbose output with context etc that you get at the REPL would be amazing some day, I appreciate that it might not be accessible from the right part of the code though. Honestly just knowing roughly where the error came from and what it is will help a lot.
Assuming linux: https://19505-201467090-gh.circle-artifacts.com/0/release/babashka-0.4.4-SNAPSHOT-linux-amd64-static.tar.gz
I'll probably have to do some patch elf magic since I'm on NixOS 😅
But thanks!
Oh static
might be fine
Thank you so much
yeah, the static should be good in nixos
This is more for a user of Conjure than myself, I don't use bb toooo much right now, but I want to have first class integration since it's so amazing. The fact that I can just do nvim foo.clj
and then eval immediately is pretty fun. Great for demoing Conjure and teaching
yeah, sure
[Olical/conjure] Issue closed by Olical
Ah! So I get the exception and line / char now (fantastic!!!)
; eval (file): .../conjure/dev/clojure/src/dev/bb-sandbox.clj
; (err) java.lang.IndexOutOfBoundsExceptionconjure.internal /home/olical/repos/Olical/conjure/dev/clojure/src/dev/bb-sandbox.clj:7:1
However that conjure.internal on the end of the exception name is the namespace I think... let me confirm
Yes, it is indeed
ah slight formatting thing?
Possibly just needs a new line or space to separate the printed namespace name from the exception? Or a new line?
I think so
Will debug my end to check that's how the nREPL message is formatted and it's not my doing
; eval (root-form): (nth test-vector 3)
; debug: send
{:code "(nth test-vector 3)"
:column 1
:file "/home/olical/repos/Olical/conjure/dev/clojure/src/dev/bb-sandbox.clj"
:id "8fd9f968-e959-4135-8763-71ffe83e4584"
:line 7
:nrepl.middleware.print/options {:associative 1 :length 500 :level 50}
:nrepl.middleware.print/print "conjure.internal/pprint"
:ns "bb-sandbox"
:op "eval"
:session "aa17d859-08c2-4530-be0f-0e079ee879b4"}
; debug: receive
{:err "java.lang.IndexOutOfBoundsExceptionbb-sandbox /home/olical/repos/Olical/conjure/dev/clojure/src/dev/bb-sandbox.clj:1:1
"
:id "8fd9f968-e959-4135-8763-71ffe83e4584"
:session "aa17d859-08c2-4530-be0f-0e079ee879b4"}
; (err) java.lang.IndexOutOfBoundsExceptionbb-sandbox /home/olical/repos/Olical/conjure/dev/clojure/src/dev/bb-sandbox.clj:1:1
; debug: receive
{:ex "class java.lang.IndexOutOfBoundsException"
:id "8fd9f968-e959-4135-8763-71ffe83e4584"
:root-ex "class java.lang.IndexOutOfBoundsException"
:session "aa17d859-08c2-4530-be0f-0e079ee879b4"
:status ["eval-error"]}
; debug: receive
{:id "8fd9f968-e959-4135-8763-71ffe83e4584"
:session "aa17d859-08c2-4530-be0f-0e079ee879b4"
:status ["done"]}
Yeah, deffo from the nREPL server, I can change it if you want?
please :)
https://github.com/babashka/babashka.nrepl/pull/41 I hope that looks okay! I think it's correct to always put a space between the loc-str and whatever comes before it.
Thanks, merged. New binary is building
The new auto bb repl feature is awwwesooommeee 🎸 🎶
1🎉Yup, a truely great addition
auto-repl is a great feature and idea 👏
Will Conjure kill the auto-started bb nrepl-server if I ConjureConnect
to a different one?
Doesn't look like it
It doesn't at the moment but I'm sure I can implement that. I was mostly concerned with killing the process if you close Neovim or the terminal buffer for now. I thought babashka was such a small process that it didn't warrant more plumbing but thought someone might ask for that eventually 😊 I can definitely add it if you really want it, I'm going to be busy for a while though so an issue would be appreciated!