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.

Completion and linting stop working

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Completion and linting stop working after a few minutes using Spyder.

What steps reproduce the problem?

  1. Start Spyder
  2. Start coding. After a few minutes completion and linting stop working.

Versions

  • Spyder version: 4.1.2
  • Python version: 3.7.6
  • Qt version: 5.12.5
  • PyQt version: 5.12.3
  • Operating System name/version: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.3.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                   :  None (OK)
IPython >=4.0                  :  7.13.0 (OK)
jedi =0.15.2                   :  0.15.2 (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  0.9.2 (OK)
paramiko >=2.4.0               :  2.7.1 (OK)
parso =0.5.2                   :  0.5.2 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.0 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=0.25                  :  2.4.4 (OK)
pyls >=0.31.9;<0.32.0          :  0.31.9 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.0 (OK)
qtconsole >=4.6.0              :  4.7.2 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.0.0 (OK)
spyder_kernels >=1.9.0;<1.10.0 :  1.9.0 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.0 (OK)

# Optional:
cython >=0.21                  :  0.29.16 (OK)
matplotlib >=2.0.0             :  3.2.1 (OK)
numpy >=1.7                    :  1.18.1 (OK)
pandas >=0.13.1                :  1.0.3 (OK)
scipy >=0.17.0                 :  1.4.1 (OK)
sympy >=0.7.3                  :  1.5.1 (OK)

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
UniqASLcommented, Aug 24, 2020

I worked one hour with it and so far the problem seems to have disappeared. Thanks for that!

2reactions
ChemicalSailorcommented, Aug 21, 2020

I’ve had a short run at testing on 4.1.4, it seems to be working ok for me now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Completion and linting in the editor for Python files will not ...
To check if either your firewall or antivirus is causing the problem you could try to deactivate/disable them temporarly and try to launch ......
Read more >
Completion and linting not working · Issue #16098 - GitHub
A simple way to test if the problem is actually related to your firewall or antivirus is to disable them momentarily and launch...
Read more >
Completion And Linting In The Editor For Python ... - ADocLib
I'm working at a company behind a. Error Image This error started appearing once I have upgraded to Spyder 4.1.1. I have tried...
Read more >
Include Dependencies For Spyder 4.1.5 To Ensure Linting ...
Upon implementing debug mode there were multiple dependencies not included ... Ensure that Preferences -> Completion and Linting -> Linting ...
Read more >
Editor — Spyder 5 documentation
Many issues with completion and linting are outside of Spyder's control, and are either limitations with the LSP or the code that is...
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