Closed crucialfelix closed 6 years ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!
Issue Type: Bug
Since I switched to the new Python Language Server (from Jedi), it seems the initial scan of my large python project is stuck.
There were about 700 files to analyze, then it got down to "Analyzing workspace, 5 items remaining..." and stuck there for all of yesterday.
Today it is stuck on "4 items"
This error in Output may be relevant:
[Error - 10:16:13 AM] System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.ImportModule(String name) at Microsoft.PythonTools.Analysis.ModuleTable.TryImport(String name, ModuleReference& res) at Microsoft.PythonTools.Analysis.Analyzer.DDG.TryImportModule(String modName, Boolean forceAbsolute, ModuleReference& moduleRef, IReadOnlyList
1& remainingParts) at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(FromImportStatement node) at Microsoft.PythonTools.Parsing.Ast.FromImportStatement.Walk(PythonWalker walker) at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(SuiteStatement node) at Microsoft.PythonTools.Parsing.Ast.SuiteStatement.Walk(PythonWalker walker) at Microsoft.PythonTools.Parsing.Ast.PythonAst.Walk(PythonWalker walker) at Microsoft.PythonTools.Analysis.AnalysisUnit.AnalyzeWorker(DDG ddg, CancellationToken cancel) at Microsoft.PythonTools.Analysis.Analyzer.DDG.Analyze(Deque
1 queue, CancellationToken cancel, Action`1 reportQueueSize, Int32 reportQueueInterval) at Microsoft.PythonTools.Analysis.PythonAnalyzer.AnalyzeQueuedEntries(CancellationToken cancel) at Microsoft.PythonTools.Intellisense.AnalysisQueue.GroupAnalysis.Analyze(CancellationToken cancel) at Microsoft.PythonTools.Intellisense.AnalysisQueue.HandleAnalyzable(IAnalyzable item, AnalysisPriority priority, CancellationToken cancellationToken) at Microsoft.PythonTools.Intellisense.AnalysisQueue.ConsumerLoop()VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:14:32.385Z) OS version: Darwin x64 17.4.0
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)| |GPU Status|2d_canvas: enabledchecker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 2, 2| |Memory (System)|16.00GB (1.06GB free)| |Process Argv|/Applications/Visual Studio Code.app/Contents/MacOS/Electron ./ ./| |Screen Reader|no| |VM|0%|
Extensions (57)
Extension|Author (truncated)|Version ---|---|--- clipboard-history|Anj|1.0.7 template-generator-vscode|Den|0.4.1 EditorConfig|Edi|0.12.4 lorem-ipsum|Tyr|1.2.0 project-manager|ale|8.0.0 vscode-color|ans|0.4.5 vscode-django|bat|0.17.0 django-html|bib|1.2.0 django-snippets|bib|1.1.0 vscode-opennewinstance|chr|0.0.4 path-intellisense|chr|1.4.2 bracket-pair-colorizer|Coe|1.0.59 transformer|dak|1.6.0 vscode-eslint|dba|1.6.0 vscode-quick-select|dba|0.2.6 jupyter|don|1.1.4 python-extension-pack|don|1.4.0 xml|Dot|2.3.2 gitlens|eam|8.5.6 tslint|eg2|1.0.38 vscode-npm-script|eg2|0.3.5 prettier-vscode|esb|1.6.1 vscode-open-in-npm|fab|1.0.1 simple-new-file|fay|1.0.1 vscode-pull-request-github|Git|0.1.3 gc-excelviewer|Gra|2.1.26 vscode-react-typescript|inf|1.0.17 hungry-delete|jas|1.5.0 nbpreviewer|jit|1.0.0 auto-comment-blocks|kev|1.0.1 regex-railroad-diagrams|kog|0.2.4 graphql-for-vscode|kum|1.12.1 restructuredtext|lex|77.0.0 MagicPython|mag|1.0.12 terraform|mau|1.3.4 markdown-shortcuts|mdi|0.8.1 rainbow-csv|mec|0.5.0 leadermode|mic|0.1.8 dotenv|mik|1.0.1 vscode-todo-parser|min|1.9.1 python|ms-|2018.8.0 vsliveshare|ms-|0.3.666 autodocstring|njp|0.2.3 vscode-docker|Pet|0.2.0 markdown-checkbox|PKi|1.3.0 typescript-hero|rbb|2.3.2 vscode-yaml|red|0.0.15 preview-vscode|sea|1.4.4 git-merger|sha|0.4.1 bash-beautify|sha|0.1.1 vscode-fileutils|sle|2.10.3 vscode-markdown-todo|Tom|9.0.0 vscodeintellicode|Vis|1.0.3 vim|vsc|0.16.4 jinja|who|0.0.8 markdown-pdf|yza|1.2.0 markdown-all-in-one|yzh|1.6.0 (11 theme extensions excluded)