Title: InvalidOperationException in PythonClassType.GetMemberNames in datetime caching test · Issue #1678 · microsoft/python-language-server · GitHub
Open Graph Title: InvalidOperationException in PythonClassType.GetMemberNames in datetime caching test · Issue #1678 · microsoft/python-language-server
X Title: InvalidOperationException in PythonClassType.GetMemberNames in datetime caching test · Issue #1678 · microsoft/python-language-server
Description: Just saw this while running the full suite: Datetime Source: LibraryModulesTests.cs line 94 Duration: 13 sec Message: Assert.Fail failed. One not awaited tasks has failed: System.InvalidOperationException: Collection was modified; enumer...
Open Graph Description: Just saw this while running the full suite: Datetime Source: LibraryModulesTests.cs line 94 Duration: 13 sec Message: Assert.Fail failed. One not awaited tasks has failed: System.InvalidOperationEx...
X Description: Just saw this while running the full suite: Datetime Source: LibraryModulesTests.cs line 94 Duration: 13 sec Message: Assert.Fail failed. One not awaited tasks has failed: System.InvalidOperationEx...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1678
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"InvalidOperationException in PythonClassType.GetMemberNames in datetime caching test","articleBody":"Just saw this while running the full suite:\r\n\r\n```\r\n Datetime\r\n Source: LibraryModulesTests.cs line 94\r\n Duration: 13 sec\r\n\r\n Message: \r\n Assert.Fail failed. One not awaited tasks has failed:\r\n \r\n System.InvalidOperationException: Collection was modified; enumeration operation may not execute.\r\n at bool System.Collections.Generic.Dictionary\u003cTKey, TValue>+KeyCollection+Enumerator.MoveNext()\r\n at void System.Collections.Generic.HashSet\u003cT>.UnionWith(IEnumerable\u003cT> other)\r\n at new System.Collections.Generic.HashSet\u003cT>(IEnumerable\u003cT> collection, IEqualityComparer\u003cT> comparer)\r\n at IEnumerable\u003cstring> Microsoft.Python.Analysis.Types.PythonClassType.GetMemberNames() in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Types/PythonClassType.cs:line 73\r\n at IEnumerable\u003cstring> Microsoft.Python.Analysis.Types.PythonClassType.GetMemberNames() in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Types/PythonClassType.cs:line 75\r\n at IEnumerable\u003cstring> Microsoft.Python.Analysis.Types.PythonClassType.GetMemberNames() in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Types/PythonClassType.cs:line 75\r\n at void Microsoft.Python.Analysis.Analyzer.StubMerger.MergeClass(IVariable v, IPythonClassType sourceClass, IPythonType stubType, CancellationToken cancellationToken) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/StubMerger.cs:line 187\r\n at void Microsoft.Python.Analysis.Analyzer.StubMerger.TryReplaceMember(IVariable v, IPythonType sourceType, IPythonType stubType, CancellationToken cancellationToken) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/StubMerger.cs:line 114\r\n at void Microsoft.Python.Analysis.Analyzer.StubMerger.TransferTypesFromStub(IDocumentAnalysis stubAnalysis, CancellationToken cancellationToken) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/StubMerger.cs:line 97\r\n at void Microsoft.Python.Analysis.Analyzer.StubMerger.MergeStub(IDocumentAnalysis stubAnalysis, CancellationToken cancellationToken) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/StubMerger.cs:line 57\r\n at void Microsoft.Python.Analysis.Analyzer.ModuleWalker.Complete() in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/ModuleWalker.cs:line 206\r\n at IDocumentAnalysis Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.DoAnalyzeEntry(IDependencyChainNode\u003cPythonAnalyzerEntry> node, IPythonModule module, PythonAst ast, int version) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs:line 358\r\n at void Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.AnalyzeEntry(IDependencyChainNode\u003cPythonAnalyzerEntry> node, PythonAnalyzerEntry entry, IPythonModule module, PythonAst ast, int version) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs:line 336\r\n at void Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.Analyze(IDependencyChainNode\u003cPythonAnalyzerEntry> node, AsyncCountdownEvent ace, Stopwatch stopWatch) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs:line 256\r\n at void Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.LogException(IPythonModule module, Exception exception) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs:line 455\r\n at void Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.Analyze(IDependencyChainNode\u003cPythonAnalyzerEntry> node, AsyncCountdownEvent ace, Stopwatch stopWatch) in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs:line 265\r\n at Task Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.StartAnalysis(IDependencyChainNode\u003cPythonAnalyzerEntry> node, AsyncCountdownEvent ace, Stopwatch stopWatch)+() => { } in C:/Users/jabaile/python-language-server/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs:line 242\r\n at void System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, object state)\r\n at void System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref Task currentTaskSlot, Thread threadPoolThread)\r\n \r\n \r\n Stack Trace: \r\n TaskObserver.Summarize() line 150\r\n TaskObserver.WaitForObservedTask() line 65\r\n TestEnvironmentImpl.AfterTestRun() line 117\r\n TestEnvironmentImpl.TestCleanup() line 54\r\n LibraryModulesTests.Cleanup() line 39\r\n\r\n Open additional output for this result\r\n\r\n```","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-10-11T20:59:35Z","url":"https://github.com/microsoft/python-language-server/issues/1678"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:79b356a1-1aee-0ae4-cd64-7621973db160 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90F6:3C86C1:294464:3571F9:6AFE5B49 |
| html-safe-nonce | 0b208a8eaa0279b009411f3d7cf95a4abded321f5fe0f507590e4abdff415b0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEY2OjNDODZDMToyOTQ0NjQ6MzU3MUY5OjZBRkU1QjQ5IiwidmlzaXRvcl9pZCI6IjcwMDU0NjA4MjY4OTUwNDc0OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b023e63592e4dd1e22d5f63940d8f591eca0babf9ae7663befbb21d5433d4757 |
| hovercard-subject-tag | issue:506055576 |
| 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/1678/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ffc2fcc3176c6f33b33349aff308c06d6158305c7f3a6dc6c7c7c1ef6008fdb/microsoft/python-language-server/issues/1678 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ffc2fcc3176c6f33b33349aff308c06d6158305c7f3a6dc6c7c7c1ef6008fdb/microsoft/python-language-server/issues/1678 |
| og:image:alt | Just saw this while running the full suite: Datetime Source: LibraryModulesTests.cs line 94 Duration: 13 sec Message: Assert.Fail failed. One not awaited tasks has failed: System.InvalidOperationEx... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width