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.

The ouline explorer doesn't populate for some files with latest 4.x

See original GitHub issue

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)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Oct 6, 2020

tried with PR #13828 and … this solve the broken code analysis for those files and there isn’t any traceback in the log files anymore…

This is great news! Thanks for the confirmation @jnsebgosselin!

Anyway, I don’t know. I suggest not to close this yet, I’ll go through my day and I’ll report back if the problem is indeed completely resolved or not.

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.

1reaction
ccordoba12commented, Oct 7, 2020

Ok, I’ll take a look at that once my PRs are merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outline Explorer Spyder 5 does not show the modules, cells ...
So I resent and went about turning things off systematically. Finally got a responsive Spyder and outline workign with just "Enable basic ...
Read more >
Editor — Spyder 4 documentation
Outline Explorer (function/class/method browser) and horizontal/vertical splitting ... A “code cell” in Spyder is a block of lines, typically in a script, ...
Read more >
How do I use Windows Explorer to manage my files and folders?
To select several contiguous files, select the first file then hold down the Shift key and select the last file. All the files...
Read more >
Create a new folder - Microsoft Support
With your document open, click File > Save As. Under Save As, select where you want to create your new folder. You might...
Read more >
Visual Studio Code User Interface
Tip: You can drag and drop files into the Explorer from outside VS Code to ... There are several Outline view settings which...
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