Non-stop error messages from atom/python - Jedi?

Every time I’m writing Python code, whenever the editor tries to autocomplete anything, I get an error messagem like:

[IPKernelApp] ERROR | Exception in message handler: Traceback (most recent call last): File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/ipykernel/", line 268, in dispatch_shell yield gen.maybe_future(handler(stream, idents, msg)) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/tornado/", line 735, in run value = future.result() File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/tornado/", line 209, in wrapper yielded = next(result) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/ipykernel/", line 583, in complete_request matches = yield gen.maybe_future(self.do_complete(code, cursor_pos)) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/ipykernel/", line 360, in do_complete return self._experimental_do_complete(code, cursor_pos) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/ipykernel/", line 385, in _experimental_do_complete completions = list(_rectify_completions(code, raw_completions)) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 484, in rectify_completions completions = list(completions) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 1819, in completions for c in self._completions(text, offset, _timeout=self.jedi_compute_type_timeout/1000): File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 1876, in _completions signature = _make_signature(jm) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 991, in _make_signature return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for signature in completion.get_signatures() File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 991, in return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for signature in completion.get_signatures() File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 992, in for p in signature.defined_names()) if f]) File "/venv/.virtualenvs/flask_dash/lib/python3.7/site-packages/IPython/core/", line 969, in _formatparamchildren 'Expected "param ...", found %r".' % description) ValueError: Jedi function parameter description have change format.Expected "param ...", found 'instance **delattr** '".

This will happen even if I desable Jedi.
Do you guys can help me?

My enviro:

  • atom 1.52.0
  • Hydrogen 2.14.6
  • atom-ide-ui 0.13.0
  • ide-python 1.5.2
  • Python 3.7.3

Just in case anybody else is having this problem, I figured it out:

from ipython exclusively crashes · Issue #12134 · ipython/ipython · GitHub
I learnt that I should purge the jedi cache. Then I just deleted the folder


and new everything seems to be fine on my atom hydrogen sessions.

1 Like

Aditionaly, I had to disable autocomplete on hydrogen setup tab