conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
2020-10-12T19:47:19.133300Z

Has anyone experienced exception output interrupting print output in the log buffer?

; eval (current-form): (some-expression
; (err) Execution error (ClassCastException) at (REPL:1).
; (err) null
; (out) {:coll (
; --------------------------------------------------------------------------------
I am on an earlier version of conjure

Olical 2020-10-12T20:05:27.133700Z

Hmm so you're seeing err output and then stdout?

Olical 2020-10-12T20:05:59.133900Z

I'd love to see a minimal repro for this if you can find one :thinking_face: I appreciate that it might be super tricky though

2020-10-12T20:09:12.134100Z

yeah, I'd love to provide a minimal repro -- though we're in a firedrill at the moment. was generally curious if this had come up. I"m able to work around it with the old core.async log channel trick

Olical 2020-10-12T20:12:11.134300Z

Oh no! Definitely deal with that first. It does seem like it's a feature rather than a bug at first glance, but I could definitely be wrong. Like you have two chunks of code running and one is throwing an error while the other prints out. But I may be totally misunderstanding.

Olical 2020-10-12T20:12:32.134500Z

Is it mashing together the two output strings? Because I didn't get that impression but that'd be BAD

2020-10-12T20:32:45.134700Z

I may have seen mashing at one point when we were printing more than one thing, but in the case above it's just truncating the print output

2020-10-12T20:36:28.134900Z

I suspect this isn't related to conjure at all, just wanted to check though if on the off chance it rang any bells

Olical 2020-10-12T20:43:38.135100Z

Hmm well if it can be reproduced consistently then I'll take a deep dive to try and work out if it's Conjure

Olical 2020-10-12T20:43:51.135300Z

The other way of checking is run the same code in a regular nREPL

Olical 2020-10-12T20:44:01.135500Z

If it looks fine there, then Conjure is probably doing something weird

Olical 2020-10-12T20:44:22.135700Z

And I guess not nREPL at the CLI as started by Lein, but a nREPL connected to the port to properly simulate it