Fork me on GitHub
#vim
<
2019-01-03
>
devth23:01:03

🤯 having a heckuva time trying to get either vim-iced or acid.nvim working. vim-iced sorta works but seems slow and get the Not found message quite a bit, like when trying to run all tests in a namespace. acid.nvim just blows up when i try to do anything.

devth23:01:21

nrepl 0.5.3
refactor-nrepl 2.4.0
cider-nrepl 0.19.0
leiningen 2.8.3

devth23:01:27

|| NvimError(b'Vim:E5300: Expected a Number or a String')
|| Traceback (most recent call last):
||   File "/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid/handlers/__init__.py", line 82, in <lambda>
||     nvim.async_call(lambda: on_handle(msg, wc, key))
||   File "/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid/handlers/doc.py", line 31, in on_handle
||     buf_win_nr = self.nvim.funcs.bufwinnr(self.doc_buf_nr)
||   File "/Users/thartman/Library/Python/3.7/lib/python/site-packages/pynvim/api/nvim.py", line 299, in call
||     return self.request('nvim_call_function', name, args, **kwargs)
||   File "/Users/thartman/Library/Python/3.7/lib/python/site-packages/pynvim/api/nvim.py", line 182, in request
||     res = self._session.request(name, *args, **kwargs)
||   File "/Users/thartman/Library/Python/3.7/lib/python/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
||     raise self.error_wrapper(err)
|| pynvim.api.nvim.NvimError: b'Vim:E5300: Expected a Number or a String'
||  
|| the call was requested at
||   File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 885, in _bootstrap
||     self._bootstrap_inner()
||   File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
||     self.run()
||   File "../../.config/nvim/plugged/acid.nvim/rplugin/python3/acid/nrepl/__init__.py", line 68, in run
||     callback(incoming, self, key)
||   File "/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid/handlers/__init__.py", line 82, in handler
||     nvim.async_call(lambda: on_handle(msg, wc, key))

devth23:01:11

|| Acid: Unable to require: couldn't find namespace from path.
|| error caught in async handler '/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid:command:AcidCommand [['NewFile', '....lein.profiles']]'
|| Traceback (most recent call last):
||   File "/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid/__init__.py", line 138, in acid_command
||     command.call(self, self.context(), *args)
||   File "/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid/commands/__init__.py", line 125, in call
||     payload = inst.prepare_payload(*args)
||   File "/Users/thartman/.config/nvim/plugged/acid.nvim/rplugin/python3/acid/commands/new.py", line 31, in prepare_payload
||     os.makedirs(directory)
||   File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/os.py", line 221, in makedirs
||     mkdir(name, mode)
|| PermissionError: [Errno 13] Permission denied: '////lein'

devth00:01:14

looks like there's an open issue so i posted this stuff there https://github.com/clojure-vim/acid.nvim/issues/28#issuecomment-451321017

uochan04:01:34

@U066S8QGH Could you report the issue about Not Found message with vim-iced?

5
dave14:01:16

i haven't seen the not found thing. could be something specific to your version of vim/neovim

dave14:01:55

off-hand, vim-iced works well for me on the latest dev version of neovim

devth15:01:45

good to know. i'll try again later today and report any issues

hkupty19:01:17

I will fix the lingering issue with acid soon. I'm deeply sorry that I broke master and it is sort in a bad state.

👍 5
uochan00:01:58

@U066S8QGH @U0AHJUHJN vim-iced expects test files that namespace named "*-test" currently. So I'll fix to work tests without "-test" namespaces.

👍 5
💯 5