Closed pdoak closed 7 years ago
Please update deoplete to the latest version.
In a new buffer, when I type some text, I get a screen full of error messages
Please upload the error messages.
@Shougo : Thanks for the reply.
The error messages that I get are:
minimal vimrc loaded
error caught in async handler 'deoplete_auto_completion_begin [{'max_menu_width': 59, 'cwd': '/Users/pdd/Developer/PDSetup/roles/dotfiles/files/nvim', 'vars': {'deoplete#deoplete_onmni_patterns': {}, 'deoplete#omni#functions': {}, 'deoplete#auto_complete_delay': 150, 'deoplete#max_abbr_width': 80, 'deoplete#delimiters': ['/'], 'deoplete#_rank': {}, 'deoplete#omni#input_patterns': {}, 'deoplete#max_list': 100, 'deoplete#_channel_id': 1, 'deoplete#ignore_sources': {}, 'deoplete#auto_refresh_delay': 50, 'deoplete#member#prefix_patterns': {}, 'deoplete#omni_patterns': {}, 'deoplete#enable_refresh_always': 0, 'deoplete#enable_camel_case': 0, 'deoplete#enable_smart_case': 1, 'deoplete#auto_complete_start_length': 2, 'deoplete#disable_auto_complete': 0, 'deoplete#sources': {'_': ['omni', 'buffer', 'member', 'tag', 'ultisnips', 'file']}, 'deoplete#enable_at_startup': 1, 'deoplete#enable_profile': 0, 'deoplete#skip_chars': [], 'deoplete#_context': {'position': [0, 1, 1, 0], 'refresh': 0}, 'deoplete#max_menu_width': 40, 'deoplete#_keyword_patterns': {'_': '[a-zA-Z_]\\k*'}, 'deoplete#keyword_patterns': {}, 'deoplete#_omni_patterns': {'mkd': ['<', '<[^>]*\\s[[:alnum:]-]*'], 'xhtml': ['<', '<[^>]*\\s[[:alnum:]-]*'], 'markdown': ['<', '<[^>]*\\s[[:alnum:]-]*'], 'xml': ['<', '<[^>]*\\s[[:alnum:]-]*'], 'html': ['<', '<[^>]*\\s[[:alnum:]-]*']}, 'deoplete#_neovim_python_version': ['0.1.13'], 'deoplete#enable_ignore_case': 0}, 'same_filetypes': [], 'smartcase': 1, 'runtimepath': '/Users/pdd/.config/nvim,/etc/xdg/nvim,/Users/pdd/.local/share/nvim/site,/usr/local/share/nvim/site,/usr/share/nvim/site,/usr/local/Cellar/neovim/HEAD-be65fd8/share/nvim/runtime,/usr/share/nvim/site/after,/usr/local/share/nvim/site/after,/Users/pdd/.local/share/nvim/site/after,/etc/xdg/nvim/after,/Users/pdd/.config/nvim/after,/Users/pdd/.config/nvim/plugins/deoplete.nvim,/Users/pdd/.config/nvim/plugins/vim-airline', 'bufvars': {}, 'bufnr': 1, 'changedtick': 2, 'start_complete': '\udc80\udcfdR_', 'custom': {'_': {}}, 'omni__omnifunc': 'syntaxcomplete#Complete', 'filetype': 'nothing', 'input': '', 'delay': 150, 'bufname': '', 'event': 'InsertEnter', 'max_abbr_width': 59, 'sources': ['omni', 'buffer', 'member', 'tag', 'ultisnips', 'file'], 'complete_str': '', 'camelcase': 0, 'ignorecase': 0, 'filetypes': ['nothing'], 'keyword_patterns': '[a-zA-Z_][a-zA-Z@0-9_À-ÿ]*', 'dict__dictionary': '', 'position': [0, 1, 1, 0], 'next_input': '', 'encoding': 'utf-8', 'rpc': 'deoplete_auto_completion_begin'}]'
Traceback (most recent call last):
File "/Users/pdd/Developer/PDSetup/roles/dotfiles/files/vim/plugins/deoplete.nvim/rplugin/python3/deoplete/__init__.py", line 62, in completion_begin
self._deoplete.completion_begin(context)
File "/Users/pdd/Developer/PDSetup/roles/dotfiles/files/vim/plugins/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 59, in completion_begin
self._vim.call('deoplete#handler#_async_timer_stop')
File "/usr/local/lib/python3.6/site-packages/neovim/api/nvim.py", line 230, in call
return self.request('nvim_call_function', name, args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/neovim/api/nvim.py", line 131, in request
res = self._session.request(name, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/neovim/msgpack_rpc/session.py", line 98, in request
raise self.error_wrapper(err)
neovim.api.nvim.NvimError: b'Error calling function.'
Thanks for your help.
I cannot reproduce the problem. I don't know why.
set runtimepath+=~/.config/nvim/plugged/vim-multiple-cursors
It conflicts with deoplete. Please remove it from minimal vimrc.
The error messages that I get are:
It is the full of error messages? Please upload the screenshot.
I have removed vim-multiple-cursors and still get the same errors.
Attached is a screen shot of the errors
Also, interestingly, I don't get these error messages when I run nvim with my full vimrc but I don't get any completions either.
Hello. I tried it.
I guess that you try to :UpdateRemotePlugins
.
Or you may set Neovim's Python provider.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" minimal init.vim "
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set runtimepath+=~/.config/nvim/plugins/deoplete.nvim
let g:deoplete#enable_at_startup = 1
filetype plugin indent on
syntax enable
"----------------------------------------------------------
" Neovim's Python provider
"----------------------------------------------------------
let g:python_host_prog = '/usr/local/bin/python'
let g:python3_host_prog = '/usr/local/bin/python3'
" Clipbord
set clipboard+=unnamedplus " use clipboard ( see : help clipboard )
" Mouse ( see :help mouse-using )
set mouse=nvic
Or ... python's problem?
Please check it up
Documents$ pip3 list
Package Version
-------------- -------
greenlet 0.4.12
msgpack-python 0.4.8
neovim 0.1.13
pip 9.0.1
setuptools 32.2.0
ujson 1.35
wheel 0.29.0
I hope your help :-)
@callmekohei : Thanks for your help. Using your minimal init.vim, deoplete works. However, when I put the same settings in my init.vim, I get the following error messages:
Also, pip3 list gives:
appdirs (1.4.3)
appnope (0.1.0)
bleach (2.0.0)
cycler (0.10.0)
decorator (4.0.11)
entrypoints (0.2.2)
greenlet (0.4.12)
html5lib (0.999999999)
ipdb (0.10.2)
ipykernel (4.6.0)
ipython (6.0.0)
ipython-genutils (0.2.0)
ipywidgets (6.0.0)
jedi (0.10.2)
Jinja2 (2.9.6)
jsonschema (2.6.0)
jupyter (1.0.0)
jupyter-client (5.0.1)
jupyter-console (5.1.0)
jupyter-core (4.3.0)
MarkupSafe (1.0)
matplotlib (2.0.1)
mistune (0.7.4)
msgpack-python (0.4.8)
nbconvert (5.1.1)
nbformat (4.3.0)
neovim (0.1.13)
notebook (5.0.0)
numpy (1.12.1)
packaging (16.8)
pandas (0.19.2)
pandas-datareader (0.3.0.post0)
pandocfilters (1.4.1)
pexpect (4.2.1)
pickleshare (0.7.4)
pip (9.0.1)
prompt-toolkit (1.0.14)
ptyprocess (0.5.1)
Pygments (2.2.0)
pyobjc (3.2.1)
pyobjc-core (3.2.1)
pyobjc-framework-Accounts (3.2.1)
pyobjc-framework-AddressBook (3.2.1)
pyobjc-framework-AppleScriptKit (3.2.1)
pyobjc-framework-AppleScriptObjC (3.2.1)
pyobjc-framework-ApplicationServices (3.2.1)
pyobjc-framework-Automator (3.2.1)
pyobjc-framework-AVFoundation (3.2.1)
pyobjc-framework-AVKit (3.2.1)
pyobjc-framework-CalendarStore (3.2.1)
pyobjc-framework-CFNetwork (3.2.1)
pyobjc-framework-CloudKit (3.2.1)
pyobjc-framework-Cocoa (3.2.1)
pyobjc-framework-Collaboration (3.2.1)
pyobjc-framework-Contacts (3.2.1)
pyobjc-framework-ContactsUI (3.2.1)
pyobjc-framework-CoreBluetooth (3.2.1)
pyobjc-framework-CoreData (3.2.1)
pyobjc-framework-CoreLocation (3.2.1)
pyobjc-framework-CoreText (3.2.1)
pyobjc-framework-CoreWLAN (3.2.1)
pyobjc-framework-CryptoTokenKit (3.2.1)
pyobjc-framework-DictionaryServices (3.2.1)
pyobjc-framework-DiskArbitration (3.2.1)
pyobjc-framework-EventKit (3.2.1)
pyobjc-framework-ExceptionHandling (3.2.1)
pyobjc-framework-FinderSync (3.2.1)
pyobjc-framework-FSEvents (3.2.1)
pyobjc-framework-GameCenter (3.2.1)
pyobjc-framework-GameController (3.2.1)
pyobjc-framework-ImageCaptureCore (3.2.1)
pyobjc-framework-IMServicePlugIn (3.2.1)
pyobjc-framework-InputMethodKit (3.2.1)
pyobjc-framework-InstallerPlugins (3.2.1)
pyobjc-framework-InstantMessage (3.2.1)
pyobjc-framework-Intents (3.2.1)
pyobjc-framework-IOSurface (3.2.1)
pyobjc-framework-LatentSemanticMapping (3.2.1)
pyobjc-framework-LaunchServices (3.2.1)
pyobjc-framework-LocalAuthentication (3.2.1)
pyobjc-framework-MapKit (3.2.1)
pyobjc-framework-MediaAccessibility (3.2.1)
pyobjc-framework-MediaLibrary (3.2.1)
pyobjc-framework-MediaPlayer (3.2.1)
pyobjc-framework-ModelIO (3.2.1)
pyobjc-framework-MultipeerConnectivity (3.2.1)
pyobjc-framework-NetFS (3.2.1)
pyobjc-framework-NetworkExtension (3.2.1)
pyobjc-framework-NotificationCenter (3.2.1)
pyobjc-framework-OpenDirectory (3.2.1)
pyobjc-framework-Photos (3.2.1)
pyobjc-framework-PhotosUI (3.2.1)
pyobjc-framework-PreferencePanes (3.2.1)
pyobjc-framework-PubSub (3.2.1)
pyobjc-framework-QTKit (3.2.1)
pyobjc-framework-Quartz (3.2.1)
pyobjc-framework-SafariServices (3.2.1)
pyobjc-framework-SceneKit (3.2.1)
pyobjc-framework-ScreenSaver (3.2.1)
pyobjc-framework-ScriptingBridge (3.2.1)
pyobjc-framework-SearchKit (3.2.1)
pyobjc-framework-ServiceManagement (3.2.1)
pyobjc-framework-Social (3.2.1)
pyobjc-framework-SpriteKit (3.2.1)
pyobjc-framework-StoreKit (3.2.1)
pyobjc-framework-SyncServices (3.2.1)
pyobjc-framework-SystemConfiguration (3.2.1)
pyobjc-framework-WebKit (3.2.1)
pyparsing (2.2.0)
python-dateutil (2.6.0)
pytz (2017.2)
pyzmq (16.0.2)
qtconsole (4.3.0)
queuelib (1.4.2)
requests (2.13.0)
requests-file (1.4.1)
requests-ftp (0.3.1)
setuptools (35.0.1)
simplegeneric (0.8.1)
simplejson (3.10.0)
six (1.10.0)
tabulate (0.7.7)
terminado (0.6)
testpath (0.3)
tornado (4.4.3)
traitlets (4.3.2)
wcwidth (0.1.7)
webencodings (0.5.1)
wheel (0.29.0)
widgetsnbextension (2.0.0)
xlrd (1.0.0)
yahoo-finance (1.4.0)
I think that I have now got it working within my init.vim. Removing
"----------------------------------------------------------
" Neovim's Python provider
"----------------------------------------------------------
let g:python_host_prog = '/usr/local/bin/python'
let g:python3_host_prog = '/usr/local/bin/python3'
gets it working.
Thanks for your help and suggestions.
👍
when I type include[SPC]
Error occurs
@amerysong Please create the new issue. Otherwise, I will ignore your problem.
Warning: I will close the issue without the minimal init.vim and the reproduce ways.
Problems summary
In a new buffer, when I type some text, I get a screen full of error messages
Expected
It should show completion options as I type
Environment Information
deoplete version(SHA1): c202045
OS: 10.12.4
neovim version: v0.2.0-704-gbe65fd88
:CheckHealth
result(neovim ver.0.1.5-452+):health#nvim#check
Configuration
Performance
Remote Plugins
terminal
tmux
health#provider#check
Clipboard
Python 2 provider
g:python_host_prog
is not set. Searching for python2 in the environment.Python 3 provider
g:python3_host_prog
is not set. Searching for python3 in the environment.Ruby provider
health#deoplete#check
deoplete.nvim
Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
Generate a logfile if appropriate
Two log files produced: /tmp/log_py3_rplugin /tmp/log_py3_script Both uploaded log_py3_rplugin.txt log_py3_script.txt
Screen shot (if possible)
Upload the log file
log_py3_rplugin.txt