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
Can't add packages in v0.5 on 'new' macOS installation #19873
Comments
Relevant code is here: Lines 43 to 65 in b53cd8b
What's left inside |
Trouble is, there's nothing there. Running it again:
Presumably the temp dir got deleted after the error... |
maybe add a |
Do I have to re-build Julia or something first? (There's a first time for everything, I suppose, but I've not done that before...) |
At least the system image (I'm actually moderately amazed this question doesn't get asked more often). See https://github.com/JuliaLang/julia/blob/d7625dd7dccab548025fa8b5b9d4c7941336fb24/doc/src/devdocs/sysimg.md#building-the-julia-system-image and https://github.com/JuliaLang/julia/blob/d7625dd7dccab548025fa8b5b9d4c7941336fb24/contrib/build_sysimg.jl |
Oh, cool, I didn't know about this! I'll try it first thing tomorrow. |
I modified this bit of
to
and I got this:
so I'm guessing that the final I don't think I'm quite up to submitting a PR that modifies code at the heart of the base Julia system, though... |
ah, I agree with your assessment. all it should need is making that last rm recursive then I believe |
Well I had a go at a PR (#19894) after saying I wouldn't... :) |
fixed by #19894, right? |
Issue #19873. If the macOS Finder inserts a .DS_Store file while Pkg.update/Pkg.add operation is in progress, a plain `rm(temp_dir)` will not succeed.
@tkelman yes it will be—or rather it was! Thanks. |
An apparently empty directory, and a newly downloaded copy of Julia DMG on macOS:
Trying again gives different error of course, because things are no longer empty:
The text was updated successfully, but these errors were encountered: