René's URL Explorer Experiment


Title: Crash after uninstalling package (ptvs) · Issue #576 · microsoft/python-language-server · GitHub

Open Graph Title: Crash after uninstalling package (ptvs) · Issue #576 · microsoft/python-language-server

X Title: Crash after uninstalling package (ptvs) · Issue #576 · microsoft/python-language-server

Description: Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\huvalo\source\repos\OpenFolderMixed\env\Lib\site-packages\cookies.py'. at System.IO.__Error....

Open Graph Description: Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\huvalo\source\repos\OpenFolderMixed\env\Lib\site-pac...

X Description: Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\huvalo\source\repos\OpenFolderMixed\env\Lib\s...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash after uninstalling package (ptvs)","articleBody":"```\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---\u003e System.IO.FileNotFoundException: Could not find file 'C:\\Users\\huvalo\\source\\repos\\OpenFolderMixed\\env\\Lib\\site-packages\\cookies.py'.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n   at Microsoft.PythonTools.Interpreter.Ast.PythonModuleLoader.FromFile(IPythonInterpreter interpreter, String sourceFile, PythonLanguageVersion langVersion, String moduleFullName) in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\Interpreter\\Ast\\PythonModuleLoader.cs:line 39\r\n   at Microsoft.PythonTools.Interpreter.Ast.AstModuleResolution.ImportFromSearchPaths(String name, PathResolverSnapshot pathResolver) in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\Interpreter\\Ast\\AstModuleResolution.cs:line 320\r\n   at Microsoft.PythonTools.Interpreter.Ast.AstModuleResolution.\u003cTryImportModuleAsync\u003ed__17.MoveNext() in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\Interpreter\\Ast\\AstModuleResolution.cs:line 204\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.\u003cImportModuleAsync\u003ed__33.MoveNext() in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\Interpreter\\Ast\\AstPythonInterpreter.cs:line 135\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.ImportModule(String name) in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\Interpreter\\Ast\\AstPythonInterpreter.cs:line 167\r\n   at Microsoft.PythonTools.Analysis.ModuleTable.Reload() in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\ModuleTable.cs:line 131\r\n   at Microsoft.Python.LanguageServer.Implementation.Server.Interpreter_ModuleNamesChanged(Object sender, EventArgs e) in E:\\A\\_work\\512\\s\\src\\LanguageServer\\Core\\Impl\\Implementation\\Server.cs:line 402\r\n   at Microsoft.PythonTools.Analysis.PythonAnalyzer.\u003cReloadModulesAsync\u003ed__26.MoveNext() in E:\\A\\_work\\512\\s\\src\\Analysis\\Engine\\Impl\\PythonAnalyzer.cs:line 151\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Python.LanguageServer.Implementation.Server.ReloadModulesQueueItem.Analyze(CancellationToken cancel) in E:\\A\\_work\\512\\s\\src\\LanguageServer\\Core\\Impl\\Implementation\\Server.cs:line 58\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Python.LanguageServer.Implementation.Server.\u003cReloadModulesAsync\u003ed__50.MoveNext() in E:\\A\\_work\\512\\s\\src\\LanguageServer\\Core\\Impl\\Implementation\\Server.cs:line 272\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()\r\n   at System.Threading.ThreadPoolWorkQueue.Dispatch()\r\n}\r\n```\r\n\r\nHere's a simple repro:\r\n\r\nCreate new bottle application\r\nClick Create when prompted to create a virtual env\r\nMake sure you have app.py open, where there's an `import bottle`\r\nWait for virtual env creation/installation to complete\r\nClick on Manage Packages on the python toolbar, click X to uninstall bottle.\r\n\r\nResult: analyzer process crashes\r\n","author":{"url":"https://github.com/huguesv","@type":"Person","name":"huguesv"},"datePublished":"2019-02-04T03:32:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/576/python-language-server/issues/576"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:166731c6-ac5d-d71b-dbea-e840b3f92a7a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id93B4:A56AD:64D6CD:9406B3:6A4E1082
html-safe-nonce74f76b3af2c21aad30894cfd0489f93e5800041d6a1d9fa011e0cf1842f0ef9d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0I0OkE1NkFEOjY0RDZDRDo5NDA2QjM6NkE0RTEwODIiLCJ2aXNpdG9yX2lkIjoiMTc3OTY3MDQwNzI2NDk5NzUwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac67ea3919020314ecc968f5358fe3c62ac79a7cb60615ce49d8d1475664e2a7d2
hovercard-subject-tagissue:406170665
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/576/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae5cc8199ab61352893eaa6c3ea8679a289c8d5af07640e355237c307ff63bee/microsoft/python-language-server/issues/576
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae5cc8199ab61352893eaa6c3ea8679a289c8d5af07640e355237c307ff63bee/microsoft/python-language-server/issues/576
og:image:altUnhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\huvalo\source\repos\OpenFolderMixed\env\Lib\site-pac...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehuguesv
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
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
release51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/576#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F576
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F576
Sign up https://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/576
Reloadhttps://github.com/microsoft/python-language-server/issues/576
Reloadhttps://github.com/microsoft/python-language-server/issues/576
Please reload this pagehttps://github.com/microsoft/python-language-server/issues/576
microsoft https://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Notifications https://github.com/login?return_to=%2Fmicrosoft%2Fpython-language-server
Fork 131 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-language-server
Star 921 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-language-server
Code https://github.com/microsoft/python-language-server
Issues 309 https://github.com/microsoft/python-language-server/issues
Pull requests 6 https://github.com/microsoft/python-language-server/pulls
Projects https://github.com/microsoft/python-language-server/projects
Models https://github.com/microsoft/python-language-server/models
Wiki https://github.com/microsoft/python-language-server/wiki
Security and quality 0 https://github.com/microsoft/python-language-server/security
Insights https://github.com/microsoft/python-language-server/pulse
Code https://github.com/microsoft/python-language-server
Issues https://github.com/microsoft/python-language-server/issues
Pull requests https://github.com/microsoft/python-language-server/pulls
Projects https://github.com/microsoft/python-language-server/projects
Models https://github.com/microsoft/python-language-server/models
Wiki https://github.com/microsoft/python-language-server/wiki
Security and quality https://github.com/microsoft/python-language-server/security
Insights https://github.com/microsoft/python-language-server/pulse
Crash after uninstalling package (ptvs)https://github.com/microsoft/python-language-server/issues/576#top
https://github.com/huguesv
huguesvhttps://github.com/huguesv
on Feb 4, 2019https://github.com/microsoft/python-language-server/issues/576#issue-406170665
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.