question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't seem to work

See original GitHub issue

Running latest deoplete and deoplete-ternjs, I get this when autocompletion starts:

[deoplete] Traceback (most recent call last):
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", lin
e 64, in completion_begin
[deoplete]     complete_position, candidates = self.gather_candidates(context)
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", lin
e 99, in gather_candidates
[deoplete]     results = self.gather_results(context)
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", lin
e 174, in gather_results
[deoplete]     context['candidates'] = source.gather_candidates(context)
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.
py", line 335, in gather_candidates
[deoplete]     result = self.completation(pos)
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.
py", line 295, in completation
[deoplete]     data = self.run_command(command, pos)
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.
py", line 206, in run_command
[deoplete]     raise e
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.
py", line 200, in run_command
[deoplete]     data = self.make_request(doc, silent)
[deoplete]   File "/Users/wavded/.config/nvim/plugged/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.
py", line 148, in make_request
[deoplete]     req = opener.open("http://" + self.localhost + ":" + str(self.port) + "/", payload, self._tern_
timeout)
[deoplete]   File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urll
ib/request.py", line 465, in open
[deoplete]     response = self._open(req, data)
[deoplete]   File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urll
ib/request.py", line 483, in _open
[deoplete]     '_open', req)
[deoplete]   File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urll
ib/request.py", line 443, in _call_chain
[deoplete]     result = func(*args)
[deoplete]   File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urll
ib/request.py", line 1268, in http_open
[deoplete]     return self.do_open(http.client.HTTPConnection, req)

Tern is installed globally:

└── tern@0.17.0

This is my tern config:

{
  "libs": [ "browser", "ecma6", "ecma5" ],
  "loadEagerly": [],
  "dontLoad": ["node_modules"],
  "plugins": {
    "complete_strings": true,
    "doc_comment": true,
    "modules": true,
    "node": true,
    "node_require": true
  }
}

Any ideas?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
carlituxcommented, Mar 28, 2016

Yeah read the timeout settings on README file.

0reactions
wavdedcommented, Mar 28, 2016

nvm @carlitux , see there are some docs for that, bumped timeout, working so far.

Read more comments on GitHub >

github_iconTop Results From Across the Web

it seems not working or it doesn't seem to work?
The correct phrase would be "it doesn't seem to work." it doesn't seem to work. This is correct. If you keep trying to...
Read more >
What is the difference between "It doesn't seem to work. " and ...
they both mean the same thing. But, “ it doesn't seem to work. “ you are stating that something does not appear to...
Read more >
it doesn't seems to be working | English examples in context
High quality example sentences with “it doesn't seems to be working” in context from reliable sources - Ludwig is the linguistic search engine...
Read more >
What are the differences between "seems not" and "doesn't ...
"It seems to not be working for me"; "It doesn't seem to work for me" would be the same meaning. "It seems to...
Read more >
it does not seem to work vs it seems not to work - Online Editor
Looking on the internet deeply has found these results: it does not seem to work is the most popular phrase on the web....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found