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

Pkg.gc on mac fails to ignore .DS_Store #790

Closed
tlienart opened this issue Oct 2, 2018 · 5 comments
Closed

Pkg.gc on mac fails to ignore .DS_Store #790

tlienart opened this issue Oct 2, 2018 · 5 comments

Comments

@tlienart
Copy link
Sponsor

tlienart commented Oct 2, 2018

using Pkg
Pkg.gc()

on 0.7 and 1.0.1 give me

    Active manifests at:
        `/Users/tlienart/.julia/environments/v0.7/Manifest.toml`
        `/Users/tlienart/.julia/environments/v1.0/Manifest.toml`
ERROR: SystemError: unable to read directory /Users/tlienart/.julia/packages/.DS_Store: Not a directory
Stacktrace:
 [1] readdir(::String) at ./file.jl:620
 [2] macro expansion at ./logging.jl:321 [inlined]
 [3] #gc#43(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:326
 [4] gc at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:290 [inlined] (repeats 2 times)
 [5] top-level scope at none:0

The .DS_Store is a metadata file for folders which can be safely ignored I would think unless I've missed something?

@fredrikekre
Copy link
Member

#601 which should have been fixed by #634, but maybe the commit is not in Julia 1.0.1?

@tlienart
Copy link
Sponsor Author

tlienart commented Oct 2, 2018

apologies for the duplicate!

@fredrikekre
Copy link
Member

No worries. I can reproduce on Julia 1.0.1 so seems like this has not been fixed.

@KristofferC
Copy link
Sponsor Member

Aargh.

@fredrikekre
Copy link
Member

The fix is on the release-1.0 branch now, so should be fixed in Julia v1.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants