jedi-vim icon indicating copy to clipboard operation
jedi-vim copied to clipboard

Why manual not found for jedi-vim?

Open EmilyGraceSeville7cf opened this issue 3 years ago • 9 comments

Issue

When I try to execute :help jedi-vim I obtain E149: Sorry, no help for jedi-vim. I've installed this plugin via Git inside /home/emilyseville7cfg/.vim/pack/completion/start/jedi-vim.

Steps to reproduce

Output of “:verbose JediDebugInfo”

EmilyGraceSeville7cf avatar Apr 24 '22 10:04 EmilyGraceSeville7cf

@davidhalter, :redir @+> | silent verb JediDebugInfo | redir END doesn't work with E475: Invalid argument: @+>. I am not Vim expert so I don't know how to fix it.

EmilyGraceSeville7cf avatar Apr 24 '22 10:04 EmilyGraceSeville7cf

I feel like jedi-vim is really not installed at this point. You should probably use a plugin manager like vim-plug and report back. What VIM version are you using? There is a possibility that it is too old for native packaging. Also I haven't used native packaging myself, so you have to make sure it really is installed that way...

davidhalter avatar Apr 25 '22 07:04 davidhalter

My Vim version is:

VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32)
Included patches: 1-2269, 3612, 3625, 3669, 3741
Modified by [email protected]
Compiled by [email protected]
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_any_white
+arabic            +file_in_path      +mouse_urxvt       -tcl
+autocmd           +find_in_path      +mouse_xterm       +termguicolors
+autochdir         +float             +multi_byte        +terminal
-autoservername    +folding           +multi_lang        +terminfo
-balloon_eval      -footer            -mzscheme          +termresponse
+balloon_eval_term +fork()            +netbeans_intg     +textobjects
-browse            +gettext           +num64             +textprop
++builtin_terms    -hangul_input      +packages          +timers
+byte_offset       +iconv             +path_extra        +title
+channel           +insert_expand     -perl              -toolbar
+cindent           +job               +persistent_undo   +user_commands
-clientserver      +jumplist          +postscript        +vartabs
-clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +virtualedit
+cmdline_hist      +langmap           -python            +visual
+cmdline_info      +libcall           +python3           +visualextra
+comments          +linebreak         +quickfix          +viminfo
+conceal           +lispindent        +reltime           +vreplace
+cryptv            +listcmds          +rightleft         +wildignore
+cscope            +localmap          -ruby              +wildmenu
+cursorbind        -lua               +scrollbind        +windows
+cursorshape       +menu              +signs             +writebackup
+dialog_con        +mksession         +smartindent       -X11
+diff              +modify_fname      +sound             -xfontset
+digraphs          +mouse             +spell             -xim
-dnd               -mouseshape        +startuptime       -xpm
-ebcdic            +mouse_dec         +statusline        -xsmp
+emacs_tags        +mouse_gpm         -sun_workshop      -xterm_clipboard
+eval              -mouse_jsbterm     +syntax            -xterm_save
+ex_extra          +mouse_netterm     +tag_binary        
+extra_search      +mouse_sgr         -tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/build/vim-9EpYYi/vim-8.1.2269=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lcanberra -lacl -lattr -lgpm -ldl     -L/usr/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm

EmilyGraceSeville7cf avatar Apr 25 '22 07:04 EmilyGraceSeville7cf

My guess is that /home/emilyseville7cfg/.vim/pack/completion/start/jedi-vim is not the correct path to install it OR that it needs additional changes in .vimrc. But I'm not using the nativ plugin management, so I have no clue.

davidhalter avatar Apr 27 '22 22:04 davidhalter

I have the same issue with native plugin management. :help jedi-vim fails and I also don't the the completions to work. I installed the plugin to .vim/pack/my_plugins/start/jedi-vim by cloning the git repository. Afterwards I executed git submodule update --init --recursive in the jedi-vim folder, as recommended in the README.md. For the purpose of using jedi, I have re-installed Vim and am now running version 9.0 with python3 support. When I execute :py3 import jedi this does not produce any errors. Also, running :scriptnames shows me that several files in the jedi-vim folder are executed. The output of JediDebugInfo is shown below [1]. @EmilyGraceSeville7cf I think you can use :redir @* to redirect the output directly to the clipboard. @davidhalter I kindly ask you to implement a way to natively install jedi-vim without plugin managers. Any help is very appreciated.

[1]


#### Jedi-vim debug information


##### jedi-vim version


 - jedi-vim git version: v0.11.2-2-gb82da7d
 - jedi git submodule status:  4e175ca82bbd680cb90f462545c10a8b1c0b5f2e pythonx/jedi (v0.19.1)
 - parso git submodule status:  ee5edaf22ff3941cbdfa4efd8cb3e8f69779fd56 pythonx/parso (v0.8.3)


##### Global Python


Using Python version 3 to access Jedi.
 - global sys.executable: `/opt/homebrew/bin/vim`
 - global sys.version: `3.12.0 (main, Oct  5 2023, 15:44:07) [Clang 14.0.3 (clang-1403.0.22.14.1)]`
 - global site module: `/opt/homebrew/Cellar/[email protected]/3.12.0/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site.py`

##### Jedi

 - path: `/Users/paulstahlhofen/.vim/pack/my_plugins/start/jedi-vim/pythonx/jedi/jedi/__init__.py`
 - version: 0.19.1

##### Jedi environment: <Environment: 3.10.12 in /Users/paulstahlhofen/mambaforge>


 - executable: /Users/paulstahlhofen/mambaforge/bin/python
 - sys_path:
    - `/Users/paulstahlhofen/mambaforge/lib/python310.zip`
    - `/Users/paulstahlhofen/mambaforge/lib/python3.10`
    - `/Users/paulstahlhofen/mambaforge/lib/python3.10/lib-dynload`
    - `/Users/paulstahlhofen/mambaforge/lib/python3.10/site-packages`

##### Known environments


 - <Environment: 3.10.12 in /Users/paulstahlhofen/mambaforge> (/Users/paulstahlhofen/mambaforge/bin/python)

 - <Environment: 3.12.0 in /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12> (/opt/homebrew/opt/[email protected]/bin/python3.12)

 - <Environment: 3.11.6 in /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11> (/opt/homebrew/opt/[email protected]/bin/python3.11)

 - <Environment: 3.10.12 in /Users/paulstahlhofen/mambaforge> (/Users/paulstahlhofen/mambaforge/bin/python3.10)



##### Settings


omnifunc=jedi#completions Zuletzt gesetzt in ~/.vim/pack/my_plugins/start/jedi-vim/autoload/jedi.vim Zeile 723 completeopt=menuone,preview,noselect Zuletzt gesetzt in ~/.vimrc Zeile 30



#### :version

VIM - Vi IMproved 9.0 (2022 Jun 28 kompiliert am Oct 19 2023 08:52:34) MacOS Version - arm64 Inklusive der Patches: 1-2049 Übersetzt von Homebrew Riesige Version ohne GUI. Ein- (+) oder ausschließlich (-) der Eigenschaften: +acl +file_in_path +mouse_urxvt -tag_any_white +arabic +find_in_path +mouse_xterm -tcl +autocmd +float +multi_byte +termguicolors +autochdir +folding +multi_lang +terminal -autoservername -footer -mzscheme +terminfo -balloon_eval +fork() +netbeans_intg +termresponse +balloon_eval_term +gettext +num64 +textobjects -browse -hangul_input +packages +textprop ++builtin_terms +iconv +path_extra +timers +byte_offset +insert_expand +perl +title +channel +ipv6 +persistent_undo -toolbar +cindent +job +popupwin +user_commands -clientserver +jumplist +postscript +vartabs +clipboard +keymap +printer +vertsplit +cmdline_compl +lambda +profile +vim9script +cmdline_hist +langmap -python +viminfo +cmdline_info +libcall +python3 +virtualedit +comments +linebreak +quickfix +visual +conceal +lispindent +reltime +visualextra +cryptv +listcmds +rightleft +vreplace +cscope +localmap +ruby +wildignore +cursorbind +lua +scrollbind +wildmenu +cursorshape +menu +signs +windows +dialog_con +mksession +smartindent +writebackup +diff +modify_fname +sodium -X11 +digraphs +mouse +sound -xattr -dnd -mouseshape +spell -xfontset -ebcdic +mouse_dec +startuptime -xim +emacs_tags -mouse_gpm +statusline -xpm +eval -mouse_jsbterm -sun_workshop -xsmp +ex_extra +mouse_netterm +syntax -xterm_clipboard +extra_search +mouse_sgr +tag_binary -xterm_save -farsi -mouse_sysmouse -tag_old_static
System-vimrc-Datei: "$VIM/vimrc" Benutzer-vimrc-Datei: "$HOME/.vimrc" zweite Benutzer-vimrc-Datei: "~/.vim/vimrc" Benutzer-exrc-Datei: "$HOME/.exrc" defaults Datei: "$VIMRUNTIME/defaults.vim" Voreinstellung für $VIM: "/opt/homebrew/share/vim" Übersetzt: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linken: clang -o vim -lm -lncurses -lsodium -liconv -lintl -framework AppKit -L/opt/homebrew/opt/lua/lib -llua5.4 -mmacosx-version-min=13.5 -fstack-protector-strong -L/opt/homebrew/opt/perl/lib/perl5/5.38/darwin-thread-multi-2level/CORE -lperl -L/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/lib/python3.12/config-3.12-darwin -lpython3.12 -framework CoreFoundation -lruby.3.2 -L/opt/homebrew/Cellar/ruby/3.2.2_1/lib



#### :messages

Übersetzt von Christian Brabandt [email protected] "find_lsp.py" 1281L, 44697B VIM - Vi IMproved 9.0 (2022 Jun 28 kompiliert am Oct 19 2023 08:52:34) VIM - Vi IMproved 9.0 (2022 Jun 28 kompiliert am Oct 19 2023 08:52:34)



<details><summary>:scriptnames</summary>


1: ~/.vimrc 2: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/filetype.vim 3: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/ftplugin.vim 4: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/syntax/syntax.vim 5: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/syntax/synload.vim 6: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/syntax/syncolor.vim 7: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/colors/lists/default.vim 8: ~/.vim/colors/realpablo.vim 9: /usr/share/vim/vim90/ftplugin/man.vim 10: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/getscriptPlugin.vim 11: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/gzip.vim 12: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/logiPat.vim 13: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/manpager.vim 14: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/matchparen.vim 15: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/netrwPlugin.vim 16: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/rrhelper.vim 17: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/spellfile.vim 18: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/tarPlugin.vim 19: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/tohtml.vim 20: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/vimballPlugin.vim 21: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/plugin/zipPlugin.vim 22: ~/.vim/pack/my_plugins/start/ale/plugin/ale.vim 23: ~/.vim/pack/my_plugins/start/ale/autoload/ale/events.vim 24: ~/.vim/pack/my_plugins/start/asyncomplete.vim/plugin/asyncomplete.vim 25: ~/.vim/pack/my_plugins/start/jedi-vim/plugin/jedi.vim 26: ~/.vim/pack/my_plugins/start/vim-tmux-navigator/plugin/tmux_navigator.vim 27: ~/.vim/pack/my_plugins/start/jedi-vim/ftplugin/python/jedi.vim 28: ~/.vim/pack/my_plugins/start/jedi-vim/autoload/jedi.vim 29: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/ftplugin/python.vim 30: ~/.vim/pack/my_plugins/start/jedi-vim/after/ftplugin/python/jedi.vim 31: /opt/homebrew/Cellar/vim/9.0.2050/share/vim/vim90/syntax/python.vim 32: ~/.vim/pack/my_plugins/start/jedi-vim/after/syntax/python.vim 33: ~/.vim/after/syntax/python.vim 34: ~/.vim/pack/my_plugins/start/ale/autoload/ale.vim 35: ~/.vim/pack/my_plugins/start/ale/autoload/ale/util.vim 36: ~/.vim/pack/my_plugins/start/ale/autoload/ale/linter.vim 37: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/bandit.vim 38: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/cspell.vim 39: ~/.vim/pack/my_plugins/start/ale/autoload/ale/handlers/cspell.vim 40: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/flake8.vim 41: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/flakehell.vim 42: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/jedils.vim 43: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/mypy.vim 44: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/prospector.vim 45: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pycln.vim 46: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pycodestyle.vim 47: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pydocstyle.vim 48: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pyflakes.vim 49: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pylama.vim 50: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pylint.vim 51: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pylsp.vim 52: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pyre.vim 53: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/pyright.vim 54: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/refurb.vim 55: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/ruff.vim 56: ~/.vim/pack/my_plugins/start/ale/autoload/ale/fix/registry.vim 57: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/unimport.vim 58: ~/.vim/pack/my_plugins/start/ale/ale_linters/python/vulture.vim 59: ~/.vim/pack/my_plugins/start/ale/autoload/ale/engine.vim 60: ~/.vim/pack/my_plugins/start/ale/autoload/ale/semver.vim 61: ~/.vim/pack/my_plugins/start/ale/autoload/ale/command.vim 62: ~/.vim/pack/my_plugins/start/ale/autoload/ale/job.vim 63: ~/.vim/pack/my_plugins/start/ale/autoload/ale/history.vim 64: ~/.vim/pack/my_plugins/start/asyncomplete.vim/autoload/asyncomplete.vim 65: ~/.vim/pack/my_plugins/start/asyncomplete.vim/autoload/asyncomplete/utils/_on_change/textchangedp.vim 66: ~/.vim/pack/my_plugins/start/ale/autoload/ale/cursor.vim 67: ~/.vim/pack/my_plugins/start/ale/autoload/ale/python.vim 68: ~/.vim/pack/my_plugins/start/ale/autoload/ale/path.vim 69: ~/.vim/pack/my_plugins/start/ale/autoload/ale/sign.vim 70: ~/.vim/pack/my_plugins/start/ale/autoload/ale/list.vim 71: ~/.vim/pack/my_plugins/start/ale/autoload/ale/highlight.vim 72: ~/.vim/pack/my_plugins/start/ale/autoload/ale/virtualtext.vim

</details>

pstahlhofen avatar Oct 20 '23 11:10 pstahlhofen

Any help is very appreciated.

Any help is indeed very appreciated, but I'm myself no VIM plugin expert. So feel free to shoot over a pull request that fixes this and I'll try to review it.

davidhalter avatar Oct 20 '23 16:10 davidhalter

Okay, thanks for the honest reply. I'm not sure if I'll be able to do it. I'll try if I find time.

pstahlhofen avatar Oct 23 '23 07:10 pstahlhofen