-
Notifications
You must be signed in to change notification settings - Fork 133
Uninstalling python package from virtual env crashed language server #522
Comments
The DirectoryNotFoundException and FileNotFoundException exceptions from With 0.1.75 promoted to stable, all of these exceptions will now crash the server instead of silently breaking it, so these are likely to become much more visible. |
Ideally, we should get rid of // Do normal searches
if (!string.IsNullOrEmpty(_configuration?.InterpreterPath)) {
try {
module = ImportFromSearchPaths(name, pathResolver);
} catch (OperationCanceledException) {
_log?.Log(TraceLevel.Error, "ImportTimeout", name, "ImportFromSearchPaths");
return TryImportModuleResult.Timeout;
} catch (IOException) {
return TryImportModuleResult.ModuleNotFound;
}
} |
To also catch |
Doing some logging (like the timeout does) may be a good idea as well. |
Yep |
Seems like something we should fix before going GA |
Fixed in #525. |
@DonJayamanne commented on Tue Jan 08 2019
pip uninstall
)The text was updated successfully, but these errors were encountered: