-
-
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
realpath
errors for shared network drives on Julia 1.3 on windows
#33956
Comments
Sounds like a permission error. Do you get the same error if you run julia as admin? Do you have access to |
Does |
Yes |
Hmm when I run Julia as an administrator, I get
so I don't have access to But in a regular Julia REPL, I can do |
We're using libuv for Here are the warnings: |
For myself, I haven't encountered any issues with |
@ckingdon95 and I just looked into this a bit more, and we think we know what is going on: her drive The documentation for I do think that the setup at her workplace is a common one, though, and that it would be good if one could activate an environment on such a network location with this permission structure. So maybe this is actually more a Pkg.jl issue, that the environment activation path should somehow avoid calling |
@StefanKarpinski and @KristofferC, do you think there is a way that Pkg.jl could work around these problems with |
Sure, although someone who has this setup should implement and test it. Perhaps a way to implement it is to have a |
There's even already a |
That sounds like a plan. @ckingdon95 do you want to take a crack at this? I think https://github.com/JuliaLang/Pkg.jl has the instructions on how to develop Pkg.jl, and maybe it would be enough to modify https://github.com/JuliaLang/Pkg.jl/blob/8322d21c11ddf721cc9d68580cef5e37b7cfdea6/src/utils.jl#L16 accordingly? |
That and you'll probably want to audit other calls to |
Thank you both! I will try to make those changes |
realpath
errors for network drives on Julia 1.3 on windowsrealpath
errors for shared network drives on Julia 1.3 on windows
I opened the draft pull request (linked above). I just have it return Regarding @StefanKarpinski's last comment, it looks like all calls to |
I'm wondering if we should try to answer the original question about why we need |
Changing the So I think this means we would also need to make changes there in order to fully resolve this problem? |
@StefanKarpinski I was having trouble building julia from source (I'm on Windows and @davidanthoff said he's also had a hard time doing it on windows). Would it be possible for you (or someone else) to compile the modified version and then send it to me to test it out with my setup? I'd be happy to make the changes, as you've noted they are small, I just won't be able to test it out on my own. |
If you open a PR with the change you can download the built binary after CI has built it. |
That is super convenient, didn't know about that! That might be good information to put into some sort of README (if it is not already there)? |
I didn't know that either! |
Thanks @fredrikekre! where on the PR can I find the option to download? |
I get the following error:
This seems like this could be related to a previous issue on 1.2: #33127
This results in an error when trying to activate an environment on a network drive:
The text was updated successfully, but these errors were encountered: