Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

BadSourceException being raised #65

@brettcannon

Description

@brettcannon

microsoft/vscode-python#2501

Reloading modules... Unhandled Exception: Microsoft.PythonTools.Parsing.BadSourceException: Exception of type 'Microsoft.PythonTools.Parsing.BadSourceException' was thrown. at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.ImportModule(String name) at Microsoft.PythonTools.Interpreter.Ast.AstNestedPythonModule.GetModule() at Microsoft.PythonTools.Interpreter.Ast.AstNestedPythonModule.GetChildrenModules() at Microsoft.PythonTools.Analysis.ModuleTable.ReInit() at Microsoft.PythonTools.Analysis.LanguageServer.Server.Interpreter_ModuleNamesChanged(Object sender, EventArgs e) at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory.NotifyImportNamesChanged() at Microsoft.PythonTools.Analysis.PythonAnalyzer.ReloadModulesAsync(CancellationToken token) at Microsoft.PythonTools.Analysis.LanguageServer.Server.ReloadModulesQueueItem.Analyze(CancellationToken cancel) --- End of stack trace from previous location where exception was thrown --- at Microsoft.PythonTools.Analysis.LanguageServer.Server.ReloadModulesAsync(CancellationToken token) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ThreadPoolWorkQueue.Dispatch() [Info - 3:42:56 PM] Connection to server got closed. Server will restart. Initializing for /home/cllamach/.virtualenvs/panopta_env/bin/python 

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions