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.

Language server issues in outline pane

See original GitHub issue

Problem Description

Several “symptoms” involving the outline pane; I’m unsure how best to document, so looking for direction:

  1. The outline often collapses. e.g. I expand all, then when working in the code it collapses.
  2. The server busy spinner (next to the dropdown in the pane) randomly starts spinning. Sometimes this is accompanied by the editor and console hanging

What steps reproduce the problem?

  1. Open a project
  2. Work in some code

What is the expected output? What do you see instead?

Outline retains state (what is collapsed or not remains collapsed or not) UI does not hang with spinning server

Paste Traceback/Error Below (if applicable)


<many more of these messages>
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...
WARNING:spyder.plugins.completion.languageserver.client:The send queue is full! Retrying...

<a few of these messages>
QProcess: Destroyed while process ("c:\\users\\bbate\\envs\\keras-gpu-6\\scripts\\pythonw.exe") is still running.

Versions

Python 3.7.4 64-bit  
Qt 5.12.9  
PyQt5 5.12.3  
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.3.0 (OK)
diff_match_patch >=20181111     :  20181111 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=4.0                   :  7.19.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
nbconvert >=4.0                 :  5.6.1 (OK)
numpydoc >=0.6.0                :  0.9.2 (OK)
paramiko >=2.4.0                :  2.7.2 (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.3 (OK)
pygments >=2.0                  :  2.5.2 (OK)
pylint >=1.0                    :  1.9.4 (OK)
pyls >=0.36.1;<1.0.0            :  0.36.1 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.1.1             :  0.2.1 (OK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  0.7.3 (OK)
qtconsole >=4.7.7               :  4.7.7 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
setuptools >=39.0.0             :  41.0.0 (OK)
sphinx >=0.6.6                  :  1.8.5 (OK)
spyder_kernels >=1.10.0;<1.11.0 :  1.10.0 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3               :  0.10.3 (OK)
zmq >=17                        :  19.0.2 (OK)

# Optional:
cython >=0.21                   :  0.29.14 (OK)
matplotlib >=2.0.0              :  3.3.2 (OK)
numpy >=1.7                     :  1.19.3 (OK)
pandas >=1.1.1                  :  1.1.4 (OK)
scipy >=0.17.0                  :  1.4.1 (OK)
sympy >=0.7.3                   :  None (NOK)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
eafprescommented, Feb 25, 2021

eafpres 4.2.2 is out, FYI

As far as I can tell, the collapsing issue is solved (actually at least from 4.2.1). The spinning issue is there, but I need to attempt some kind of reproducible example in 4.2.2 If anything new / else appears, I’ll open a new issue. More to come, and as always, thanks.

1reaction
eafprescommented, Feb 13, 2021

please test it once 4.2.2 is out.

Okay, will do. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow to control the name of the outline view #617 - GitHub
To match the VS Code implementation, this would involve adding label to DocumentSymbolOptions . Alternatively, I suppose a language client ...
Read more >
Language Server Extension Guide - Visual Studio Code
Explain how to run, debug, log, and test the Language Server extension. Point you to some advanced topics on Language Servers. Implementing a...
Read more >
UI Freeze when opening outline (starting language server)
The main problem is that launch starts the language server in an UI Thread: when launch is started LaunchConfigurationDelegate#saveBeforeLaunch ...
Read more >
Troubleshooting Common Issues | Salesforce for VSCode
VS Code uses the Apex Language Server to show outlines of Apex classes and triggers, code completion suggestions, and syntactic errors. To see...
Read more >
Troubleshooting, known issues and limitations for IBM Z Open ...
IBM Z Open Editor: Pause the Assembler Language Server : Stops the HLASM language server and restarts it when you open an HLASM...
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