Comments (15)
/cc @tweekmonster Do you know the cause?
from deoplete-jedi.
That means that the server failed to start. Try setting deoplete#sources#jedi#python_path
to a Python path and see if that fixes it.
from deoplete-jedi.
I am getting the same error.
from deoplete-jedi.
You may need to upgrade Deoplete.
from deoplete-jedi.
Deoplete is already up to date.
from deoplete-jedi.
Did you guys install this by cloning the repo? If so, you will need to run: git submodule update --init
in the repo directory.
from deoplete-jedi.
I used vim-plug to install it. It works fine in my work machine but wont work at home. There is also the possibility of improper configuration on my part. Also running git submodule update --init
displayed nth, it silently exists.
from deoplete-jedi.
@ludbek Oh, wait. Are you saw the error message at line 3~6?
It means Please disable ~/.dotfiles/vim/plugged/SimpyIFold/ftplugin/python/SimpyIFold.vim or insall FastFold plugin
.
Do you try it? If no, could you check it?
from deoplete-jedi.
I get following error.
[deoplete] Traceback (most recent call last):
[deoplete] Traceback (most recent call last):
[deoplete] Traceback (most recent call last):
[deoplete] File "/home/user/.config/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 272, in
load_sources
[deoplete] File "/home/user/.config/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 272, in
load_sources
[deoplete] File "/home/user/.config/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 272, in
load_sources
[deoplete] source.on_init(context)
[deoplete] source.on_init(context)
[deoplete] source.on_init(context)
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi.py",
line 66, in on_init
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi.py",
line 66, in on_init
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi.py",
line 66, in on_init
[deoplete] self.debug_enabled, self.python_path)
[deoplete] self.debug_enabled, self.python_path)
[deoplete] self.debug_enabled, self.python_path)
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/work
er.py", line 81, in start
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/work
er.py", line 81, in start
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/work
er.py", line 81, in start
[deoplete] show_docstring, debug, python_path)
[deoplete] show_docstring, debug, python_path)
[deoplete] show_docstring, debug, python_path)
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/work
er.py", line 24, in __init__
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/work
er.py", line 24, in __init__
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/work
er.py", line 24, in __init__
[deoplete] python_path)
[deoplete] python_path)
[deoplete] python_path)
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 502, in __init__
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 502, in __init__
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 502, in __init__
[deoplete] self.restart()
[deoplete] self.restart()
[deoplete] self.restart()
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 518, in restart
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 518, in restart
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 518, in restart
[deoplete] self.version = stream_read(self._server.stdout)
[deoplete] self.version = stream_read(self._server.stdout)
[deoplete] self.version = stream_read(self._server.stdout)
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 83, in stream_read
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 83, in stream_read
[deoplete] File "/home/user/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/serv
er.py", line 83, in stream_read
[deoplete] raise StreamEmpty
[deoplete] raise StreamEmpty
from deoplete-jedi.
@ludbek You may need to reinstall deoplete-jedi.
from deoplete-jedi.
@Shougo problem persists. I am in Ubuntu 16 (deoplete-jedi fails) and my work box is running Ubuntu 14(deoplete-jedi works) if that is any help.
from deoplete-jedi.
I have tested it in Ubuntu 16.04 and it worked.
neovim ver.0.1.4 is old. You should build it manually.
from deoplete-jedi.
I've found the cause of my case.
In my case, the problem was locale setting.
These are my previous lacale setting
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
However, 'UTF-8' for LC_CTYPE is actually not a proper locale. (there is no code 'UTF-8' for locale setting)
I couldn't figure out why it is set as such a weird code, but the error messages have gone after setting LC_CTYPE as 'en_US.UTF-8' (a proper one).
I think there is no exception handling regarding locale setting in deoplete-jedi.
@ludbek I hope this solution works for you.
And, Let me close this issue.
from deoplete-jedi.
@sungminoh Are those VIM settings?
from deoplete-jedi.
@ludbek nope. It is global shell setting.
I'm using zsh, so I add
export
LC_CTYPE="en_US.UTF-8"
in my zsh profile
from deoplete-jedi.
Related Issues (20)
- Python completion sometimes produce noise HOT 2
- deoplete-jedi fails to load on vim + pynvim 0.4.0 HOT 6
- Deoplete-jedi causes vim to crash when editing a specific file HOT 4
- Option to disable/remove advanced/private members like __init__() HOT 1
- Add call signatures HOT 1
- broken with pandas completion HOT 10
- long stacktraces when completing docstring HOT 16
- no module named 'deoplete.base' HOT 3
- Deoplete throws error between two strings HOT 6
- Should `which pyenv` return a shell function in Fish? HOT 3
- Latest version of jedi crash on Windows HOT 8
- Changing the kind/type of completion-matches HOT 8
- Dont add parameter-information to functions HOT 6
- PosixPath object has not attribute 'endswidth' HOT 1
- Error from jedi: __init__() got an unexpected keyword argument 'code' HOT 4
- How I can turn off preview windows HOT 1
- deoplete-jedi crashes when trying to complete pandas DataFrame attributes HOT 3
- How to set autocomplete key to TAB? HOT 5
- Preview window doesn't show method signature HOT 5
- python versions for virtualenv HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deoplete-jedi.