-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Unable to install packages when Package directory is placed on a Network Drive #14205
Comments
The "could not create leading directories error message" is coming from https://github.com/git-for-windows/git/blob/104a5fedf701cf75dbba874d91c63b60766a73b1/builtin/clone.c#L903, and from what I can see the single quotes look like part of the output formatting. Something in this function https://github.com/git-for-windows/git/blob/104a5fedf701cf75dbba874d91c63b60766a73b1/sha1_file.c#L112-L162 is failing. Unfortunately that error message isn't preserving what the return value was from |
I was able to reproduce this. I think it's due to NTFS junctions not working properly on network drives. When the target is a directory we default to trying to create a junction in the If we had a way of identifying network drives, then maybe we could not set the junction flag in that case. In #12166 it sounded like we'd need to add Unfortunately with the "could not create leading directories" error fixed, I now get errors that look a lot like #12166 (comment)
Still looking into this, but this might be an upstream git bug. Separately, we should probably make our |
Reported the "not a valid packed reference!" issue at git-for-windows/git#554, let's see what happens there. edit: I found a workaround, adding the |
also see #12166 and git-for-windows/git#554 and https://groups.google.com/forum/#!msg/msysgit/5J3ELvZND0s/2VPm-eUf0YMJ when doing a clone from a local bare repository, need file:// prefix for it to work correctly when on a Windows network drive this is only an issue on release-0.4, libgit2 on master appears to work correctly
Issue is, I'm encountering an error whenever I use Pkg.add() or Pkg.clone() in Julia.
Here is my configuration
Exact error message when Pkg.add() is executed
Error message when Pkg.clone() is executed
Additional Information
Julia version 0.4.1 (64 bit)
Julia 0.5.0-bae49b97a8-win64.exe (Inspired by following issue #12166)
Julia 0.4.2 Pre-release binaries 64 bit (#14186)
The text was updated successfully, but these errors were encountered: