spyder: The ouline explorer doesn't populate for some files with latest 4.x
Problem Description
The outline explorer just doesn’t want to populate at all for some files on my system. Moreover, the code style and error analysis do not seem to work for these files too.
Here are some lsp logs that I have created by trying to open a very simple file for which the outline explorer doesn’t work.
transport_python_1716.log server_python_1716.log
The content of the file was simply:
# -*- coding: utf-8 -*-
def test_outline_explorer():
a = 3
c = b
return a
Versions
- Spyder version: 4.2.0.dev0 6e0666389
- Python version: 3.7.6 64-bit
- Qt version: 5.12.5
- PyQt5 version: 5.12.3
- Operating System: Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.5.0 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.16.1 (OK)
jedi =0.17.2 : 0.17.2 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 1.1.0 (OK)
paramiko >=2.4.0 : 2.7.1 (OK)
parso =0.7.0 : 0.7.0 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.7.2 (OK)
pygments >=2.0 : 2.6.1 (OK)
pylint >=1.0 : 2.5.3 (OK)
pyls >=0.35.0;<1.0.0 : 0.35.1+1.gd81c7ba (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 0.8.0.dev0 (OK)
qtconsole >=4.7.7 : 4.8.0.dev0 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.4 (OK)
sphinx >=0.6.6 : 3.1.2 (OK)
spyder_kernels >=1.9.4;<1.10.0 : 1.10.0.dev0 (OK)
watchdog : None (OK)
zmq >=17 : 19.0.1 (OK)
# Optional:
cython >=0.21 : 0.29.21 (OK)
matplotlib >=2.0.0 : 3.2.2 (OK)
numpy >=1.7 : 1.19.1 (OK)
pandas >=1.1.1 : 1.0.5 (NOK)
scipy >=0.17.0 : 1.5.0 (OK)
sympy >=0.7.3 : None (OK)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 25 (25 by maintainers)
This is great news! Thanks for the confirmation @jnsebgosselin!
I was investigating this problem yesterday and I think I found the cause. I’m preparing a PR now and I’ll ping you when it’s up.
Ok, I’ll take a look at that once my PRs are merged.