Comments (9)
Maybe you didn't save your file, pyls only works on saved files.
from coc-pyls.
It's saved, it does it on all files of my codebase
from coc-pyls.
The error is from jedi, maybe the module is not loaded so jedi throw error.
Not sure about that, since I can't reproduce the problem
from coc-pyls.
It's strange because it all works fine when I use neovim_langclient. It looks like something it's calling jedi with the wrong args.
Are you on macos?
from coc-pyls.
Are you on macos?
Yes, I use mac and iTerm2, but I don't have error on completion, is this error happens on specified code or everytime on completion?
from coc-pyls.
Well, linting always works. Completion never does. Last time I opened the logs I found this:
2018-11-26T18:46:27.572 ERROR (pid:41106) [completion] - TypeError: Cannot read property 'linenr' of null
at Completion.<anonymous> (/snapshot/coc.nvim/lib/completion.js:62:32)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/coc.nvim/node_modules/tslib/tslib.js:104:62)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
2018-11-26T18:46:28.560 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:46:35.577 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:46:54.111 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:46:54.719 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:05.098 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:08.645 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:47:10.241 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:47:11.066 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:47:12.866 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:47:13.579 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:47:15.193 INFO (pid:41106) [model-complete] - Results from: pyls,around
2018-11-26T18:47:16.098 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:16.912 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:17.464 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:17.970 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:18.567 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:19.101 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:19.641 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:20.229 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:20.745 INFO (pid:41106) [model-complete] - Results from: pyls
2018-11-26T18:47:22.332 INFO (pid:41106) [model-complete] - Results from: pyls,around
But the completion suggestions only contained results from the buffer. Btw I am using the example configuration you posted in the README.md
from coc-pyls.
Maybe try upgrade you python modules by:
pip3 install --upgrade python-language-server
pip3 install --upgrade jedi
pyls could be bad performant when your project get bigger, try it within a folder with single python file.
from coc-pyls.
I can see completions if I , but not with tab or as I type. Maybe it's a denite problem?
from coc-pyls.
Maybe it's a denite problem?
Should be not, but it would cost 5s on my machine to do completion in denite's python file, it was fast before.
from coc-pyls.
Related Issues (6)
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 coc-pyls.