Fork me on GitHub
#conjure
<
2022-04-21
>
rafaeldelboni16:04:47

Is anybody using conjure with nvim 0.7.0 successfully?

Olical16:04:07

Working for me!

rafaeldelboni16:04:36

When I'm trying to manually connect to a bb nrepl-server 1667 server with ConjureConnect 1667 I get the following error message:

E5108: Error executing lua .../nvim/site/pack/packer/start/conjure/lua/conjure/net.lua:53: bad argument #1 to 'connect' (string expected, got nil)
stack traceback:
        [C]: in function 'connect'
        .../nvim/site/pack/packer/start/conjure/lua/conjure/net.lua:53: in function 'connect'
        ...e/pack/packer/start/conjure/lua/conjure/remote/nrepl.lua:129: in function 'connect'
        ...tart/conjure/lua/conjure/client/clojure/nrepl/server.lua:302: in function 'connect-command'

Olical16:04:32

I just tried that on 0.7 and it works :thinking_face:

Olical16:04:50

Are you on the conjure Dev branch?

rafaeldelboni16:04:53

same with develop branch, is a brand fresh linux install, maybe I'm missing some dependency

rafaeldelboni16:04:01

I will investigate further

Olical17:04:41

You're definitely in a Clojure file? And what happens if you provide a host and port?

rafaeldelboni17:04:59

is a babashka file, but it has .clj extension, I will try with a normal clojure project here.

rafaeldelboni17:04:46

I made it work in my old machine

rafaeldelboni17:04:52

Updated to 0.7.0

rafaeldelboni17:04:08

so is something in the new machine, sorry for the trouble Olical 🙂

Olical17:04:17

Hmm that's odd 😞 not great!

Olical17:04:20

I wonder what it's doing

rafaeldelboni17:04:36

don't know, I get the same error with a normal clojure project

rafaeldelboni17:04:44

With auto connect

rafaeldelboni17:04:45

fennel files works fine

rafaeldelboni17:04:46

uhm is something with the function resolve(host) is not finding my local ip, maybe is something I did wrong in the network config

Olical17:04:23

Oh maybe!!!

Olical17:04:29

Which I should definitely guard against, amazing guess

Olical17:04:52

Would you be able to raise an issue so I can look into it? Currently debugging a prod issue while on another call and taking notes

Olical17:04:55

My brain is melting

rafaeldelboni17:04:54

solved, I made a typo on my /etc/hosts file w.0.0.1 instead 127.0.0.1, that's what happens when you do you arch linux install by hand 🙃

rafaeldelboni17:04:23

Good luck with your debugging 🙂

rafaeldelboni17:04:30

Thanks again for all your great work

gratitude 1