René's URL Explorer Experiment


Title: NRE from ToAbsolutePath via DefinitionSourceBase.TryFromVariable · Issue #1534 · microsoft/python-language-server · GitHub

Open Graph Title: NRE from ToAbsolutePath via DefinitionSourceBase.TryFromVariable · Issue #1534 · microsoft/python-language-server

X Title: NRE from ToAbsolutePath via DefinitionSourceBase.TryFromVariable · Issue #1534 · microsoft/python-language-server

Description: at Microsoft.Python.Core.UriExtensions.ToAbsolutePath(Uri uri) in E:\A\_work\3\s\src\Core\Impl\Extensions\UriExtensions.cs:line 22 at Microsoft.Python.Analysis.Modules.PythonModule.get_Definition() in E:\A\_work\3\s\src\Analysis\Ast\Impl...

Open Graph Description: at Microsoft.Python.Core.UriExtensions.ToAbsolutePath(Uri uri) in E:\A\_work\3\s\src\Core\Impl\Extensions\UriExtensions.cs:line 22 at Microsoft.Python.Analysis.Modules.PythonModule.get_Definition()...

X Description: at Microsoft.Python.Core.UriExtensions.ToAbsolutePath(Uri uri) in E:\A\_work\3\s\src\Core\Impl\Extensions\UriExtensions.cs:line 22 at Microsoft.Python.Analysis.Modules.PythonModule.get_Definition()...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/1534

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NRE from ToAbsolutePath via DefinitionSourceBase.TryFromVariable","articleBody":"```\r\n   at Microsoft.Python.Core.UriExtensions.ToAbsolutePath(Uri uri) in E:\\A\\_work\\3\\s\\src\\Core\\Impl\\Extensions\\UriExtensions.cs:line 22\r\n   at Microsoft.Python.Analysis.Modules.PythonModule.get_Definition() in E:\\A\\_work\\3\\s\\src\\Analysis\\Ast\\Impl\\Modules\\PythonModule.cs:line 173\r\n   at Microsoft.Python.LanguageServer.Sources.DefinitionSourceBase.TryFromVariable(String name, IDocumentAnalysis analysis, SourceLocation location, Node statement, ILocatedMember& definingMember) in E:\\A\\_work\\3\\s\\src\\LanguageServer\\Impl\\Sources\\DefinitionSource.cs:line 209\r\n   at Microsoft.Python.LanguageServer.Sources.DefinitionSourceBase.FindDefinition(IDocumentAnalysis analysis, SourceLocation location, ILocatedMember& definingMember) in E:\\A\\_work\\3\\s\\src\\LanguageServer\\Impl\\Sources\\DefinitionSource.cs:line 105\r\n   at Microsoft.Python.LanguageServer.Implementation.Server.GotoDefinition(TextDocumentPositionParams params, CancellationToken cancellationToken) in E:\\A\\_work\\3\\s\\src\\LanguageServer\\Impl\\Implementation\\Server.Editor.cs:\r\n```\r\n\r\nSimilar to #1018 but a different backtrace. This comes from a `PythonModule` with a null URI. The code in `PythonModule` is written to allow null URIs `uri?.LocalPath`, but the `Definition` property still constructs a `LocationInfo` unconditionally.\r\n\r\nI almost think `LocationInfo` could do with some cleanup; it double-stores paths via URI and filepath, among some other weirdness with `PythonModule.FilePath` being inconsistent with `LocationInfo` being \"absolute\" in some places but not others...","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-09-10T22:55:34Z","url":"https://github.com/microsoft/python-language-server/issues/1534"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e3e781f1-1b6f-cd29-2db4-5b5f41656ca7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC3CA:2530C8:359790:489CD7:6AFE5252
html-safe-nonce7a49176a3ffd164ac81f88a7098d4882a65d98b711bb574f9a54ca34dab3973e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0NBOjI1MzBDODozNTk3OTA6NDg5Q0Q3OjZBRkU1MjUyIiwidmlzaXRvcl9pZCI6Ijg4MzA0NjMwNzAyOTI1NjI1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd87b7b93533da36d896e30eac5a814a98beae0cf3726f450d7aeb2989f09fa2e
hovercard-subject-tagissue:491936111
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1534/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aa73f64af3b21a985cf42e061afbfdc5f12c63acb12efe58baa5ced54054cfba/microsoft/python-language-server/issues/1534
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa73f64af3b21a985cf42e061afbfdc5f12c63acb12efe58baa5ced54054cfba/microsoft/python-language-server/issues/1534
og:image:altat Microsoft.Python.Core.UriExtensions.ToAbsolutePath(Uri uri) in E:\A\_work\3\s\src\Core\Impl\Extensions\UriExtensions.cs:line 22 at Microsoft.Python.Analysis.Modules.PythonModule.get_Definition()...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakebailey
hostnamegithub.com
expected-hostnamegithub.com
None3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8df44dbe1c8091b38c3e0165c05a1e5c1563762e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/1534#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1534
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1534
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/1534
Reloadhttps://github.com/microsoft/python-language-server/issues/1534
Reloadhttps://github.com/microsoft/python-language-server/issues/1534
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
#1482https://github.com/microsoft/python-language-server/pull/1482
NRE from ToAbsolutePath via DefinitionSourceBase.TryFromVariablehttps://github.com/microsoft/python-language-server/issues/1534#top
#1482https://github.com/microsoft/python-language-server/pull/1482
https://github.com/MikhailArkhipov
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
September 2019.1https://github.com/microsoft/python-language-server/milestone/25
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Sep 10, 2019https://github.com/microsoft/python-language-server/issues/1534#issue-491936111
#1018https://github.com/microsoft/python-language-server/issues/1018
Jake Bailey (jakebailey)https://github.com/jakebailey
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Sep 10, 2019https://github.com/microsoft/python-language-server/issues/1534#event-2623929164
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Sep 12, 2019https://github.com/microsoft/python-language-server/issues/1534#event-2627481944
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
September 2019.1https://github.com/microsoft/python-language-server/milestone/25
on Sep 12, 2019https://github.com/microsoft/python-language-server/issues/1534#event-2627482075
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Sep 12, 2019https://github.com/microsoft/python-language-server/issues/1534#issuecomment-530918796
#1482https://github.com/microsoft/python-language-server/pull/1482
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/python-language-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1482https://github.com/microsoft/python-language-server/pull/1482
on Sep 16, 2019https://github.com/microsoft/python-language-server/issues/1534#event-2637627162
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1534
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1534
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
September 2019.1https://github.com/microsoft/python-language-server/milestone/25
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.