Closed samuell closed 9 years ago
I don't see this error on my laptop though, (running Xubuntu 14.04 LTS 64bit).
Well, I'm figuring now this might have to do with an over-loaded NFS-mounted storage, that my home-directory resides on, on the actual system :/ ... will continue to investigate ...
Well, it turns out the vim python module on that other system is missing the 'vars' attribute, among others.
If I run:
:python import vim; print 'vars' in dir(vim)
Then on the Scientific Linux system, i get "False", while on Xubuntu, I get "True".
Actually, there is quite a difference in the attributes list:
On Scientific Linux:
:python import vim; print dir(vim)
['__doc__', '__name__', '__package__', 'buffers', 'command', 'current', 'error', 'eval', 'windows']
On Xubuntu
:python import vim; print dir(vim)
['Buffer', 'Dictionary', 'Function', 'List', 'Options', 'Range', 'TabPage', 'VAR_DEF_SCOPE', 'VAR_FIXED'
, 'VAR_LOCKED', 'VAR_SCOPE', 'VIM_SPECIAL_PATH', 'Window', '_Loader', '__doc__', '__name__', '__package_
_', '_chdir', '_fchdir', '_find_module', '_get_paths', '_getcwd', '_load_module', 'bindeval', 'buffers',
'chdir', 'command', 'current', 'error', 'eval', 'fchdir', 'find_module', 'foreach_rtp', 'options', 'os'
, 'path_hook', 'strwidth', 'tabpages', 'vars', 'vvars', 'windows']
Ok, solved this now by compiling my own vim 7.4 in my home folder.
Just for reference:
cd vim74
./configure --disable-gui --enable-pythoninterp --prefix=$HOME
make
make install
Just for mention.
VIM: VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Apr 5 2012 05:28:37)
All of my vim plugins, including vim-pyenv, does not support Vim earlier than 7.3 (most does not support 7.3 as well).
@lambdalisue : Thanks, good to know!
I have a .vimrc file with only (everything else commented out):
... and only vim-pyenv in
~/.vim/bundle/
.Still I get the following errors when opening vim:
System info:
Any hints are very welcome.