-
Notifications
You must be signed in to change notification settings - Fork 1.2k
get/import: can't import directory #4079
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
Comments
This was happening for a long time in my machine, I thought something was wrong on my machine (and, it was an intermittent issue). I get different sets of error messages, some of them are:
Looks like an issue with GitPython, at least I found one similar issue: gitpython-developers/GitPython#1016 and gitpython-developers/GitPython#584 |
Am able to reproduce if I change the directories around in the command. Get different errors though. Very interesting |
Ok, I think I found it. There is a bug in gitpython where |
@efiop, I tried running this on 0.94, and it did not fail once. I was able to bisect the problem to 9ead641. At the moment, Maybe, this is the reason why it has started hitting |
We are computing the checksum in a thread pool, while |
@skshetry Yeah, that's the one for sure. Nothing inherently wrong with it, we just forgot that some gitpython methods are not thread safe. Looking into solving it somehow... Thanks for bisecting! Have a good rest 🙂 |
@efiop, okay, but shouldn't it read through the checked-out directory rather than git objects? |
@skshetry No, we are trying to go away from checking out git repos and doing everything in-memory instead. So we are on the right path. |
GitPython is not threadsafe, which was causing issues when we were computing hash for a directory. Fixes iterative#4079 Related to tree generalization iterative#4050
Uh oh!
There was an error while loading. Please reload this page.
And with
-v
it hangs on computing hashes 😱The text was updated successfully, but these errors were encountered: