René's URL Explorer Experiment


Title: ImportError on latest GitPython 3.1.16 · Issue #1238 · gitpython-developers/GitPython · GitHub

Open Graph Title: ImportError on latest GitPython 3.1.16 · Issue #1238 · gitpython-developers/GitPython

X Title: ImportError on latest GitPython 3.1.16 · Issue #1238 · gitpython-developers/GitPython

Description: Hey all, Our CI doesn't pin GitPython versions (always use latest) and some of our automated tests failed today with a mysterious GitPython ImportError. Here's the stack trace: [2021-05-13T15:23:58.759Z] ERROR launching hyper random, std...

Open Graph Description: Hey all, Our CI doesn't pin GitPython versions (always use latest) and some of our automated tests failed today with a mysterious GitPython ImportError. Here's the stack trace: [2021-05-13T15:23:58...

X Description: Hey all, Our CI doesn't pin GitPython versions (always use latest) and some of our automated tests failed today with a mysterious GitPython ImportError. Here's the stack trace: [2021-05-13T...

Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1238

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportError on latest GitPython 3.1.16","articleBody":"Hey all,\r\n\r\nOur CI doesn't pin GitPython versions (always use latest) and some of our automated tests failed today with a mysterious GitPython ImportError. Here's the stack trace:\r\n\r\n```\r\n[2021-05-13T15:23:58.759Z] ERROR launching hyper random, stderr: sh: 0: getcwd() failed: No such file or directory\r\n\r\n[2021-05-13T15:23:58.759Z] Traceback (most recent call last):\r\n\r\n[2021-05-13T15:23:58.759Z]   File \"/usr/local/lib/python3.7/site-packages/git/__init__.py\", line 83, in \u003cmodule\u003e\r\n\r\n[2021-05-13T15:23:58.759Z]     refresh()\r\n\r\n[2021-05-13T15:23:58.759Z]   File \"/usr/local/lib/python3.7/site-packages/git/__init__.py\", line 73, in refresh\r\n\r\n[2021-05-13T15:23:58.759Z]     if not Git.refresh(path=path):\r\n\r\n[2021-05-13T15:23:58.759Z]   File \"/usr/local/lib/python3.7/site-packages/git/cmd.py\", line 215, in refresh\r\n\r\n[2021-05-13T15:23:58.759Z]     cls().version()\r\n\r\n[2021-05-13T15:23:58.759Z]   File \"/usr/local/lib/python3.7/site-packages/git/cmd.py\", line 542, in \u003clambda\u003e\r\n\r\n[2021-05-13T15:23:58.759Z]     return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)\r\n\r\n[2021-05-13T15:23:58.759Z]   File \"/usr/local/lib/python3.7/site-packages/git/cmd.py\", line 1005, in _call_process\r\n\r\n[2021-05-13T15:23:58.759Z]     return self.execute(call, **exec_kwargs)\r\n\r\n[2021-05-13T15:23:58.759Z]   File \"/usr/local/lib/python3.7/site-packages/git/cmd.py\", line 686, in execute\r\n\r\n[2021-05-13T15:23:58.759Z]     cwd = self._working_dir or os.getcwd()\r\n\r\n[2021-05-13T15:23:58.759Z] FileNotFoundError: [Errno 2] No such file or directory\r\n\r\n[2021-05-13T15:23:58.759Z] \r\n\r\n[2021-05-13T15:23:58.759Z] The above exception was the direct cause of the following exception:\r\n\r\n[2021-05-13T15:23:58.760Z] \r\n\r\n[2021-05-13T15:23:58.760Z] Traceback (most recent call last):\r\n\r\n[2021-05-13T15:23:58.760Z]   File \"/usr/local/bin/spell\", line 7, in \u003cmodule\u003e\r\n\r\n[2021-05-13T15:23:58.760Z]     from spell.cli.main import main\r\n\r\n[2021-05-13T15:23:58.760Z]   File \"/usr/src/spell/python/spell/cli/main.py\", line 47, in \u003cmodule\u003e\r\n\r\n[2021-05-13T15:23:58.760Z]     from spell.cli.commands.run import run\r\n\r\n[2021-05-13T15:23:58.760Z]   File \"/usr/src/spell/python/spell/cli/commands/run.py\", line 11, in \u003cmodule\u003e\r\n\r\n[2021-05-13T15:23:58.760Z]     from spell.cli.utils import (\r\n\r\n[2021-05-13T15:23:58.760Z]   File \"/usr/src/spell/python/spell/cli/utils/git_utils.py\", line 8, in \u003cmodule\u003e\r\n\r\n[2021-05-13T15:23:58.760Z]     import git\r\n\r\n[2021-05-13T15:23:58.760Z]   File \"/usr/local/lib/python3.7/site-packages/git/__init__.py\", line 85, in \u003cmodule\u003e\r\n\r\n[2021-05-13T15:23:58.760Z]     raise ImportError('Failed to initialize: {0}'.format(exc)) from exc\r\n\r\n[2021-05-13T15:23:58.760Z] ImportError: Failed to initialize: [Errno 2] No such file or directory\r\n\r\n```\r\n\r\nI think this might be a regression in the new 3.1.16.\r\n\r\nMany of our other tests also seem to import the gitpython library but they don't error. The only difference I can see between the failed and passed tests is that the failed tests run in a parallel thread executor, all passing tests run one at a time.","author":{"url":"https://github.com/wwwaldo","@type":"Person","name":"wwwaldo"},"datePublished":"2021-05-13T18:58:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1238/GitPython/issues/1238"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8007735d-b742-a001-6cd2-ecd6b18d3d19
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC86A:1DA91B:40F740:59357C:69695D9E
html-safe-nonceae5601f6a0f264c37306d71ac11cd5e6d75c959a4c647ba75cd13b58738d4a41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODZBOjFEQTkxQjo0MEY3NDA6NTkzNTdDOjY5Njk1RDlFIiwidmlzaXRvcl9pZCI6Ijg3MzMwNjAzMzMwNDg1MjAwOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca0c782f64ecb1a116a2762595582ef2627271d0fa14b3596998ce08f6bf4f3c8
hovercard-subject-tagissue:891290705
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/gitpython-developers/GitPython/1238/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a19357478c778b27288632e01357e81d3d3cd0944a5625ce7ea0ab88acecd123/gitpython-developers/GitPython/issues/1238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a19357478c778b27288632e01357e81d3d3cd0944a5625ce7ea0ab88acecd123/gitpython-developers/GitPython/issues/1238
og:image:altHey all, Our CI doesn't pin GitPython versions (always use latest) and some of our automated tests failed today with a mysterious GitPython ImportError. Here's the stack trace: [2021-05-13T15:23:58...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewwwaldo
hostnamegithub.com
expected-hostnamegithub.com
None48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1
turbo-cache-controlno-preview
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
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
release669463fcc54773a88c1f5a44eef6b99a5504b9c7
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/issues/1238#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fissues%2F1238
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fgitpython-developers%2FGitPython%2Fissues%2F1238
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=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/issues/1238
Reloadhttps://github.com/gitpython-developers/GitPython/issues/1238
Reloadhttps://github.com/gitpython-developers/GitPython/issues/1238
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/issues/1238
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 169 https://github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://github.com/gitpython-developers/GitPython/issues/1238
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
New issuehttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/1238
New issuehttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/1238
#1240https://github.com/gitpython-developers/GitPython/pull/1240
ImportError on latest GitPython 3.1.16https://github.com/gitpython-developers/GitPython/issues/1238#top
#1240https://github.com/gitpython-developers/GitPython/pull/1240
v3.1.17 - Bugfixeshttps://github.com/gitpython-developers/GitPython/milestone/49
https://github.com/wwwaldo
https://github.com/wwwaldo
wwwaldohttps://github.com/wwwaldo
on May 13, 2021https://github.com/gitpython-developers/GitPython/issues/1238#issue-891290705
v3.1.17 - Bugfixeshttps://github.com/gitpython-developers/GitPython/milestone/49
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.