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

win long paths problem with gitpython? #1011

Closed
maybeec opened this issue May 20, 2020 · 1 comment
Closed

win long paths problem with gitpython? #1011

maybeec opened this issue May 20, 2020 · 1 comment

Comments

@maybeec
Copy link

@maybeec maybeec commented May 20, 2020

I have --long-paths set to be true on win10 + latest git version, which works like a charm.
Anyhow, executing gitpython clone command, the cloning of a repository with extra long paths does not work out and throws

Exception ignored in: <finalize object at 0x1da516aff90; dead>
Traceback (most recent call last):
  File "weakref.py", line 566, in __call__
  File "tempfile.py", line 818, in _cleanup
  File "tempfile.py", line 814, in _rmtree
  File "shutil.py", line 737, in rmtree
  File "shutil.py", line 610, in _rmtree_unsafe
  File "shutil.py", line 610, in _rmtree_unsafe
  File "shutil.py", line 610, in _rmtree_unsafe
  [Previous line repeated 15 more times]
  File "shutil.py", line 619, in _rmtree_unsafe
  File "shutil.py", line 617, in _rmtree_unsafe
OSError: [WinError 145] The directory is not empty <long path here>:

does gitpython have an issue with long paths?

@maybeec
Copy link
Author

@maybeec maybeec commented May 20, 2020

ok, seems, that it was a problem with tempfile... closing this again.

@maybeec maybeec closed this May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.