Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for MinGW #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

MihailJP
Copy link

@MihailJP MihailJP commented Nov 9, 2024

Fix error like 'git.exc.NoSuchPathError: C:/c/Users/parrot/git/wp43'

The issue occurs after upgrading Python on MinGW64 to version 3.12.7

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:/msys64/mingw64/bin/git-up.exe/__main__.py", line 7, in <module>
  File "C:/msys64/mingw64/lib/python3.12/site-packages/PyGitUp/gitup.py", line 570, in run
    gitup = GitUp()
            ^^^^^^^
  File "C:/msys64/mingw64/lib/python3.12/site-packages/PyGitUp/gitup.py", line 134, in __init__
    self.repo = Repo(repo_dir, odbt=GitCmdObjectDB)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:/msys64/mingw64/lib/python3.12/site-packages/git/repo/base.py", line 236, in __init__
    raise NoSuchPathError(epath)
git.exc.NoSuchPathError: C:/c/Users/parrot/git/wp43

Fix error like 'git.exc.NoSuchPathError: C:/c/Users/parrot/git/wp43'

The issue occurs after upgrading Python on MinGW64 to version 3.12.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant