chadtree
chadtree copied to clipboard
Opening a file in home folder yields error
trafficstars
When I open a file that is in home folder, it yields the following error:
Failed to switch to window 1003
Traceback (most recent call last):
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/.vars/runtime/lib/python3.8/site-packages/pynvim_pp/logging.py", line 31, in with_suppress
yield None
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/chadtree/client.py", line 146, in wait
threadsafe_call(nvim, cdraw)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree /.vars/runtime/lib/python3.8/site-packages/pynvim_pp/lib.py", line 74, in threadsafe_call
return cast(_T, fut.result())
File "/home/th4tkh13m/miniconda3/envs/myenv/lib/python3.8/concurrent/futures/_base.py", line 444, in result
return self.__get_result()
File "/home/th4tkh13m/miniconda3/envs/myenv/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/.vars/runtime/lib/python3.8/site-packages/pynvim_pp/lib.py", line 65, in cont
ret = fn(*args, **kwargs)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/chadtree/client.py", line 124, in cdraw
stage = handler(nvim, self._state, settings, *args)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/.vars/runtime/lib/python3.8/site-packages/pynvim_p/rpc.py", line 55, in __call__
return cast(_T, self._handler(nvim, *args, **kwargs))
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/chadtree/transitions/click.py", line 70, in _primary
return _click(
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/chadtree/transitions/click.py", line 46, in _click
nxt = open_file(
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/chadtree/transitions/shared/open_file.py", line 110, in open_file
_show_file(nvim, state=new_state, settings=settings, click_type=click_type)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/chadtree/transitions/shared/open_file.py", line 65, in _show_file
set_cur_win(nvim, win=win)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/.vars/runtime/lib/python3.8/site-packages/pynvim_pp/api.py", line 83, in
set_cur_win
nvim.api.set_current_win(win)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree/.vars/runtime/lib/python3.8/site-packages/pynvim/api/nvim.py", line 182, in request
res = self._session.request(name, *args, **kwargs)
File "/home/th4tkh13m/.local/share/nvim/site/pack/packer/start/chadtree
/.vars/runtime/lib/python3.8/site-packages/pynvim/msgpack_rpc/session.py", line 104, in request
raise self.error_wrapper(err)
pynvim.api.common.NvimError: Failed to switch to window 1003
after using q to exit the error, the file is opened but it only show a partion of a file on the upper part of CHADtree, I can edit the file there.
My vim.init and plugin is in this repo:
dotfiles