Closed nickma82 closed 6 years ago
@nickma82 can you show me the output of vim --version
?
Hi @wsdjeg
vim --version
``` VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 7 2017 07:53:41) Included patches: 1-488, 576 Extra patches: 8.0.0378, 8.0.0377, 8.0.0322, 8.0.0056 Modified by pkg-vim-maintainers@lists.alioth.debian.org Compiled by buildd@ Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static -balloon_eval +float +mouse_urxvt -tag_any_white -browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects -clientserver -hangul_input +netbeans_intg +title -clipboard +iconv +path_extra -toolbar +cmdline_compl +insert_expand -perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak -python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con -lua +rightleft +windows +diff +menu -ruby +writebackup +digraphs +mksession +scrollbind -X11 -dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent -xim +emacs_tags -mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra +mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl ```
For those familiar with docker
If you'r not on raspberry/armv7 you need to run the following first (see https://hub.docker.com/r/multiarch/qemu-user-static/)
$ docker run --rm --privileged multiarch/qemu-user-static:register --reset
Than execute the container, install vim, git and SpaceVim and run in..
$ docker run -ti resin/rpi-raspbian:jessie bash
# then inside the dockers bash...
$ apt-get update -qq; apt-get install -qq -y git vim
$ curl -sLf https://spacevim.org/install.sh | bash
$ vim
This could be the failing trace:
Followed by (as mentioned above)
E121: Undefined variable: v:t_list E15: Invalid expression: type(a:expr) ==# v:t_list ? copy(a:expr) : type(a:expr) ==# v:t_string ? (a:expr ==# '' ? [] : split(a:expr, '\r\?\n', 1)) : [a:expr]
This is because the latest version of dein use a new variable v:t_list
which only available in vim 7.4.2071, so you need to update your vim.
But I think dein Should support vim 7.4, as I know It works well in dein version 1.5
@Shougo dein should support vim v7.4.1689 , in ubuntu 16.04, the default version of vim is 7.4.1689
On SpaceVim on RaspberryPi a) In the more recent raspbian 9 (stretch) it works out of the box b) As a workaround to get it done on raspbian 8 (jessie)
spacevim_plugin_manager
in autoload/SpaceVim.vim
to neobundle like: sed -i "s/'dein'/'neobundle'/" ~/.SpaceVim/autoload/SpaceVim.vim
apt-get install build-essential make
git clone https://github.com/Shougo/vimproc.vim; cd vimproc.vim; make
vim
and inside vim type
:VimProcInstall
I have a similar issue in Ubuntu 16.04.1, when I try to open vim after I install the package with
curl -sLf https://spacevim.org/install.sh | bash
The installation finishes successfully, but after running vim
, I get this:
Error detected while processing function >SpaceVim#end[78]..SpaceVim#plugins#load[2]..zvim#plug#begin[11]..dein#begin[1]..dein#util#_begin[>6]..dein#util#_error[1]..
47_msg2list:
line 1:
E121: Undefined variable: v:t_list
E15: Invalid expression: type(a:expr) ==# v:t_list ? a:expr : split(a:expr, '\n')
Error detected while processing function >SpaceVim#end[78]..SpaceVim#plugins#load[2]..zvim#plug#begin[11]..dein#begin[1]..dein#util#_begin[>6]..dein#util#_error:
line 1:
E714: List required Press ENTER or type command to continue`What `vim --version` returns
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48) Included patches: 1-1689 Extra patches: 8.0.0056 Modified by pkg-vim-maintainers@lists.alioth.debian.org Compiled by pkg-vim-maintainers@lists.alioth.debian.org Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +tag_binary +arabic +file_in_path +mouse_sgr +tag_old_static +autocmd +find_in_path -mouse_sysmouse -tag_any_white -balloon_eval +float +mouse_urxvt -tcl -browse +folding +mouse_xterm +terminfo ++builtin_terms -footer +multi_byte +termresponse +byte_offset +fork() +multi_lang +textobjects +channel +gettext -mzscheme +timers +cindent -hangul_input +netbeans_intg +title -clientserver +iconv +packages -toolbar -clipboard +insert_expand +path_extra +user_commands +cmdline_compl +job -perl +vertsplit +cmdline_hist +jumplist +persistent_undo +virtualedit +cmdline_info +keymap +postscript +visual +comments +langmap +printer +visualextra +conceal +libcall +profile +viminfo +cryptv +linebreak -python +vreplace +cscope +lispindent +python3 +wildignore +cursorbind +listcmds +quickfix +wildmenu +cursorshape +localmap +reltime +windows +dialog_con -lua +rightleft +writebackup +diff +menu -ruby -X11 +digraphs +mksession +scrollbind -xfontset -dnd +modify_fname +signs -xim -ebcdic +mouse +smartindent -xsmp +emacs_tags -mouseshape +startuptime -xterm_clipboard +eval +mouse_dec +statusline -xterm_save +ex_extra +mouse_gpm -sun_workshop -xpm +extra_search -mouse_jsbterm +syntax system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2 -fPIE -fstack-protector-strong >-Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim ->lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu ->lpython3.5m -lpthread -ldl -lutil -lm
Any help would be greatly appreciated.
@IT-Turtle
Any help would be greatly appreciated.
Is it an option for you to switching over to 'neobundle' as I mentioned in https://github.com/SpaceVim/SpaceVim/issues/1723#issuecomment-391260039 ?
Thanks @nickma82
I should probably have tried that first. It actually does fix the problem.
So the problem exists on Ubuntu 16.04 too, but the aforementioned fix works.
I had the same issue using the Linux Mint version 18.3, the problem was solved by switching over to neobundle as @nickma82 suggested.
Expected behavior, english is required
spaceVim opens
The reproduce ways from Vim starting (Required!)
curl -sLf https://spacevim.org/install.sh | bash
Reproduction with docker: https://github.com/SpaceVim/SpaceVim/issues/1723#issuecomment-388908850
Debug info
System information:
NAME="Raspbian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)
Debug outputs
vim
is comes up with the following mesage before opening vim (not SpaceVim)CLICK ME
:SPDebugInfo
shows E121 and E15CLICK ME
Screenshots
nothing special to show - sorry