Title: Error when go to definition of PyQt5's module · Issue #440 · microsoft/python-language-server · GitHub
Open Graph Title: Error when go to definition of PyQt5's module · Issue #440 · microsoft/python-language-server
X Title: Error when go to definition of PyQt5's module · Issue #440 · microsoft/python-language-server
Description: I have code like following from PyQt5.QtChart import QChart, QChartView, QLineSeries, QValueAxis from PyQt5.QtWidgets import QApplication, QTabWidget, QVBoxLayout, QWidget When I go to the definition of PyQt5.QtChart or PyQt5.QtWidgets, ...
Open Graph Description: I have code like following from PyQt5.QtChart import QChart, QChartView, QLineSeries, QValueAxis from PyQt5.QtWidgets import QApplication, QTabWidget, QVBoxLayout, QWidget When I go to the definiti...
X Description: I have code like following from PyQt5.QtChart import QChart, QChartView, QLineSeries, QValueAxis from PyQt5.QtWidgets import QApplication, QTabWidget, QVBoxLayout, QWidget When I go to the definiti...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when go to definition of PyQt5's module","articleBody":"I have code like following\r\n```python\r\nfrom PyQt5.QtChart import QChart, QChartView, QLineSeries, QValueAxis\r\nfrom PyQt5.QtWidgets import QApplication, QTabWidget, QVBoxLayout, QWidget\r\n```\r\n\r\nWhen I go to the definition of `PyQt5.QtChart` or `PyQt5.QtWidgets`, then VSCode popup\r\nthe OUTPUT panel and print like following\r\n\r\n\u003e [Error - 7:18:34 PM] Request textDocument/definition failed.\r\n Message: Value cannot be null.\r\nParameter name: source\r\n Code: -32000 \r\n at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)\r\n at Microsoft.Python.LanguageServer.Implementation.Server.GetModuleReferences(IPythonProjectEntry entry, PythonAst tree, BufferVersion version, ReferencesParams params)\r\n at Microsoft.Python.LanguageServer.Implementation.Server.FindReferences(ReferencesParams params, CancellationToken cancellationToken)\r\n at Microsoft.Python.LanguageServer.Implementation.Server.GotoDefinition(TextDocumentPositionParams params, CancellationToken cancellationToken)\r\n at Microsoft.Python.LanguageServer.Implementation.LanguageServer.GotoDefinition(JToken token, CancellationToken cancellationToken)\r\n","author":{"url":"https://github.com/ppaanngggg","@type":"Person","name":"ppaanngggg"},"datePublished":"2018-11-30T11:21:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/440/python-language-server/issues/440"}
| 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:5125c1ef-641c-2815-6044-fdba334cad9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A554:3046CB:5BA6DC:8610A8:6A4E0FDE |
| html-safe-nonce | 91d8a8b536c6c62d14d1db167f54709187bff6461c88a4a1e35ca78ad7bb32e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTU0OjMwNDZDQjo1QkE2REM6ODYxMEE4OjZBNEUwRkRFIiwidmlzaXRvcl9pZCI6IjUyMDgxMzk3NDIxOTc5NzcwNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 11a5f0edaf6203f34b782b4bb664e02f5ecd13f26629e7ea1b679e80387c8d1b |
| hovercard-subject-tag | issue:386146933 |
| 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/440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c3cb972a2d0271db9264049e989fcf15679972523a88fc9a3c82ad7acf9155f/microsoft/python-language-server/issues/440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c3cb972a2d0271db9264049e989fcf15679972523a88fc9a3c82ad7acf9155f/microsoft/python-language-server/issues/440 |
| og:image:alt | I have code like following from PyQt5.QtChart import QChart, QChartView, QLineSeries, QValueAxis from PyQt5.QtWidgets import QApplication, QTabWidget, QVBoxLayout, QWidget When I go to the definiti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppaanngggg |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| 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 | 51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width