liquidz / vim-iced

Clojure Interactive Development Environment for Vim8/Neovim
https://liquidz.github.io/vim-iced/
MIT License
518 stars 35 forks source link

cider wrap-refresh doesn't find namespace #410

Open geekingfrog opened 2 years ago

geekingfrog commented 2 years ago

Hello

I'm experiencing a really weird and hard to figure out bug. When refreshing all namespaces with (iced_refresh), on a project I hit CompilerException […] namespace xxx not found, compiling foo.clj

The project actually works, and if I'm using vim-fireplace, everything works fine. In the repl, invoked through iced repl, I can use the "missing" namespace without trouble either. Similar, it shows in the classpath (lein classpath).

I can't reproduce this bug on a simple project, I have this issue on a big enterprisy (and closed source) project :/

What are the tools I can use to debug that? I failed to find any way to enable more logging, or similar. I'm not even sure it's a bug in vim-iced, but I'd like to gather more info before raising something against cider.

liquidz commented 2 years ago

@geekingfrog Sorry for late reply. I have had that error on rare occasions, but have not yet figured out how to reproduce it... But (iced_refresh) just uses cider-nrepl's feature, so it may be the problem about cider-nrepl.