Yggdroot / LeaderF

An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Apache License 2.0
2.13k stars 180 forks source link

Error detected while processing function leaderf#Any#start[4]..leaderf#LfPy #968

Closed JackPadan closed 1 year ago

JackPadan commented 1 year ago
lastest version. - vim or neovim?
- [x] vim
- [ ] neovim

Describe your question, feature request, or bug.

syntax=cppError detected while processing function leaderf#Any#start[4]..leaderf#LfPy: line 1: Traceback (most recent call last): File "", line 1, in File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 815, in start the_args.start(arguments, *args, kwargs) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 747, in _default_action manager.startExplorer(win_pos[2:], *args, *kwargs) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2305, in startExplorer content = self._getExplorer().getContent(args, kwargs) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/functionExpl.py", line 80, in getContent result = self._formatResult(*result) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/functionExpl.py", line 147, in _formatResult output = [line.split('\t') for line in result] File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/functionExpl.py", line 147, in output = [line.split('\t') for line in result] File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/asyncExecutor.py", line 105, in read raise Exception(lfBytes2Str(err, encoding)) Exception: /bin/sh: 1: ctags: not found

Steps to reproduce

ctrl+p in vim

Actual behaviour

syntax=cppError detected while processing function leaderf#Any#start[4]..leaderf#LfPy: line 1: Traceback (most recent call last): File "", line 1, in File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 815, in start the_args.start(arguments, *args, kwargs) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 747, in _default_action manager.startExplorer(win_pos[2:], *args, *kwargs) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2305, in startExplorer content = self._getExplorer().getContent(args, kwargs) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/functionExpl.py", line 80, in getContent result = self._formatResult(*result) File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/functionExpl.py", line 147, in _formatResult output = [line.split('\t') for line in result] File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/functionExpl.py", line 147, in output = [line.split('\t') for line in result] File "/home/lxq/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/asyncExecutor.py", line 105, in read raise Exception(lfBytes2Str(err, encoding)) Exception: /bin/sh: 1: ctags: not found

Expected behaviour

list all funtions

Yggdroot commented 1 year ago

Exception: /bin/sh: 1: ctags: not found

Please install ctags first.