Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 of 6 tasks
JackPadan opened this issue Nov 19, 2022 · 1 comment
Closed
2 of 6 tasks

Comments

@JackPadan
Copy link

lastest version.
  • vim or neovim?
    • vim
    • neovim
  • Output of vim --version or nvim --version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 13 2022 09:35:02)
  • Output of :echo has("python"): 0
  • Output of :echo has("python3"): 1
  • Output of :echo &pythondll(only vim, not neovim):
  • Output of :echo &pythonthreedll(only vim, not neovim):
  • Output of :py print(sys.version): 5.15.0-53-generic 59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Output of :py3 print(sys.version): Python 3.10.6
  • Output of :echo g:Lf_Debug_Cmd:
  • Output of :echo g:Lf_FilesFromCache:
  • Operating system:
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Configurations related to LeaderF in vimrc:

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
Copy link
Owner

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

Please install ctags first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants