Title: UnauthorizedAccessException crash · Issue #136 · microsoft/python-language-server · GitHub
Open Graph Title: UnauthorizedAccessException crash · Issue #136 · microsoft/python-language-server
X Title: UnauthorizedAccessException crash · Issue #136 · microsoft/python-language-server
Description: From a diagnostics log. We catch IOException but not UnauthorizedAccessException. Application: Microsoft.PythonTools.Analyzer.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Except...
Open Graph Description: From a diagnostics log. We catch IOException but not UnauthorizedAccessException. Application: Microsoft.PythonTools.Analyzer.exe Framework Version: v4.0.30319 Description: The process was terminat...
X Description: From a diagnostics log. We catch IOException but not UnauthorizedAccessException. Application: Microsoft.PythonTools.Analyzer.exe Framework Version: v4.0.30319 Description: The process was terminat...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/136
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UnauthorizedAccessException crash","articleBody":"From a diagnostics log.\r\n\r\nWe catch `IOException` but not `UnauthorizedAccessException`.\r\n\r\n```\r\nApplication: Microsoft.PythonTools.Analyzer.exe\r\nFramework Version: v4.0.30319\r\nDescription: The process was terminated due to an unhandled exception.\r\nException Info: System.UnauthorizedAccessException\r\n at System.IO.__Error.WinIOError(Int32, System.String)\r\n at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)\r\n at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean, Boolean, Boolean)\r\n at System.IO.StreamReader..ctor(System.String, System.Text.Encoding, Boolean, Int32, Boolean)\r\n at System.IO.StreamReader..ctor(System.String)\r\n at System.IO.File.OpenText(System.String)\r\n at Microsoft.PythonTools.Analysis.PythonLibraryPath.GetCachedDatabaseSearchPaths(System.String)\r\n at Microsoft.PythonTools.Analysis.PythonLibraryPath+\u003cGetDatabaseSearchPathsAsync\u003ed__14.MoveNext()\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)\r\n at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory+\u003cGetCurrentSearchPathsAsync\u003ed__48.MoveNext()\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)\r\n at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory+\u003cGetSearchPathsAsync\u003ed__49.MoveNext()\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)\r\n at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory+\u003cGetImportableModulesAsync\u003ed__43.MoveNext()\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)\r\n at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.GetModuleNames()\r\n at Microsoft.PythonTools.Analysis.ModuleTable.ReInit()\r\n at Microsoft.PythonTools.Analysis.LanguageServer.Server.Interpreter_ModuleNamesChanged(System.Object, System.EventArgs)\r\n at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.Factory_ImportableModulesChanged(System.Object, System.EventArgs)\r\n at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory.NotifyImportNamesChanged()\r\n at Microsoft.PythonTools.Analysis.PythonAnalyzer+\u003cReloadModulesAsync\u003ed__66.MoveNext()\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)\r\n at Microsoft.PythonTools.Analysis.LanguageServer.Server+ReloadModulesQueueItem.Analyze(System.Threading.CancellationToken)\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)\r\n at Microsoft.PythonTools.Analysis.LanguageServer.Server+\u003cDidChangeConfiguration\u003ed__68.MoveNext()\r\n at Microsoft.PythonTools.Infrastructure.TaskExtensions+\u003c\u003ec.\u003cDoNotWaitThreadContinuation\u003eb__2_0(System.Object)\r\n at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)\r\n at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\r\n at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\r\n at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()\r\n at System.Threading.ThreadPoolWorkQueue.Dispatch()\r\n at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()\r\n```\r\n","author":{"url":"https://github.com/huguesv","@type":"Person","name":"huguesv"},"datePublished":"2018-09-25T21:36:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/136/python-language-server/issues/136"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dfa85d1e-8d8c-7e81-c8d9-f889b1b2d531 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C700:12B1F0:E1D329:14B4446:6A4E30E3 |
| html-safe-nonce | 03425a7266d9e45e8815005933503779f6a2e0aeee049464404fd4f0005830f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzAwOjEyQjFGMDpFMUQzMjk6MTRCNDQ0Njo2QTRFMzBFMyIsInZpc2l0b3JfaWQiOiIxNzk3NTEyNzAyMTM5OTY5NzYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8d4b1c076552cd5703725a4c8ab25f5de2f43c70ab34825c410d78cb76e0b77a |
| hovercard-subject-tag | issue:363776078 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/09af3c0da0da5688c402ba67402d33b79eb4b294cc7df4a59d6d3b5d9a8349c4/microsoft/python-language-server/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/09af3c0da0da5688c402ba67402d33b79eb4b294cc7df4a59d6d3b5d9a8349c4/microsoft/python-language-server/issues/136 |
| og:image:alt | From a diagnostics log. We catch IOException but not UnauthorizedAccessException. Application: Microsoft.PythonTools.Analyzer.exe Framework Version: v4.0.30319 Description: The process was terminat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | huguesv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width