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.

Analyzing in background runs forever. The python tools server crashes 5 times in the last 3 minutes

See original GitHub issue

Issue Type: Bug

When I save files (ex: https://github.com/freqtrade/freqtrade/blob/develop/tests/strategy/test_interface.py )

I get analyzing in background at the bottom of my VSCode running forever and eventually I get “The Python tools server crashed 5 times in the last 3 minutes. The server will not restart”

This is my list of extensions in my workspace

aaron-bond.better-comments
alefragnani.Bookmarks
alefragnani.rtf
alexcvzz.vscode-sqlite
almenon.arepl
bierner.markdown-preview-github-styles
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer
dunstontc.dark-plus-syntax
eamodio.gitlens
evgeniypeshkov.syntax-highlighter
GitHub.vscode-pull-request-github
GrapeCity.gc-excelviewer
ionutvmi.path-autocomplete
janisdd.vscode-edit-csv
mechatroner.rainbow-csv
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
mtxr.sqltools
mtxr.sqltools-driver-sqlite
naumovs.color-highlight
njqdev.vscode-python-typehint
rsbondi.highlight-words
tomoki1207.pdf
Tyriar.sort-lines
usernamehw.remove-empty-lines
VisualStudioExptTeam.vscodeintellicode

and this is the full list including disabled extensions

aaron-bond.better-comments
adamwalzer.scss-lint
alefragnani.Bookmarks
alefragnani.rtf
alexcvzz.vscode-sqlite
almenon.arepl
andrewdircks.google-cloud-platform-ssh
bierner.markdown-preview-github-styles
bradgashler.htmltagwrap
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer
cssho.vscode-svgviewer
dbaeumer.vscode-eslint
dsznajder.es7-react-js-snippets
dunstontc.dark-plus-syntax
eamodio.gitlens
ecmel.vscode-html-css
esbenp.prettier-vscode
evgeniypeshkov.syntax-highlighter
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
GitHub.vscode-pull-request-github
GrapeCity.gc-excelviewer
ionutvmi.path-autocomplete
janisdd.vscode-edit-csv
jock.svg
kisstkondoros.vscode-gutter-preview
leizongmin.node-module-intellisense
mechatroner.rainbow-csv
meganrogge.template-string-converter
mkaufman.HTMLHint
mrmlnc.vscode-scss
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
mtxr.sqltools
mtxr.sqltools-driver-sqlite
naumovs.color-highlight
njqdev.vscode-python-typehint
OfHumanBondage.react-proptypes-intellisense
pentium10.vscode-gcp-project-switcher
plievone.vscode-template-literal-editor
riazxrazor.html-to-jsx
rsbondi.highlight-words
rvest.vs-code-prettier-eslint
sibiraj-s.vscode-scss-formatter
SimonSiefke.svg-preview
stylelint.vscode-stylelint
tomoki1207.pdf
Tyriar.sort-lines
usernamehw.remove-empty-lines
VisualStudioExptTeam.vscodeintellicode
waleedj1699.css-dictionary

Extension version: 2021.8.1105858891 VS Code version: Code 1.59.0 (Universal) (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:14:40.191Z) OS version: Darwin x64 20.5.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i3-8100B CPU @ 3.60GHz (4 x 3600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 20.00GB (2.81GB free)
Process Argv –crash-reporter-id ff400021-a583-49cd-bc06-f61e35efd2d1
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwtct:30329789
pythonvssor306:30344512
bridge0708:30335490
vstre464:30346472

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
karthiknadigcommented, Aug 16, 2021

@timothyshaw Change language server to either Default (selects Pylance or Jedi based on the python version), Pylance or JediLSP. Microsoft Python Language server is not actively developed on.

0reactions
karthiknadigcommented, Aug 20, 2021

@samgermain what you are seeing there looks like a network issue. and seems to be related to mtxr.sqltools-0.23.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Python Tools server crashed 5 times in the last 3 minutes ...
The Python Server Crashes Unexpectedly. Am able to run in debug mode but the Linting is not working. Could anybody help me out...
Read more >
Free for Developers
Pulumi — Modern infrastructure as code platform that allows you to use familiar programming languages and tools to build, deploy, and manage cloud ......
Read more >
Troubleshoot Cloud Run issues
This page shows you how to resolve issues with Cloud Run. For other issues not listed below, check to see if they may...
Read more >
Monitoring and managing system status and performance
Monitoring performance using RHEL System Roles" Collapse section "5. ... Analysis tools can use the Python, C++, C client APIs directly, and rich...
Read more >
Ubuntu 22.04: Beautiful Outside, Ugly Inside!
Debian and KDE Neon that are also installed on this laptop, boot within 15 sec. Shutdown time is also quite long. 3. Firefox...
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