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

gc error with .DS_Store #601

Closed
hessammehr opened this issue Aug 8, 2018 · 0 comments · Fixed by #634
Closed

gc error with .DS_Store #601

hessammehr opened this issue Aug 8, 2018 · 0 comments · Fixed by #634

Comments

@hessammehr
Copy link

It seems like Pkg.gc() chokes on .DS_Store files sprinkled by macOS:

Pkg.gc()

ERROR: SystemError: unable to read directory /Users/hessammehr/.julia/packages/.DS_Store: Not a directoryStacktrace:
 [1] #walkdir#14(::Bool, ::Bool, ::typeof(throw), ::Function, ::String) at ./file.jl:0
 [2] walkdir at ./file.jl:700 [inlined]
 [3] (::getfield(Pkg.API, Symbol("#recursive_dir_size#48")))(::String) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/API.jl:275
 [4] #gc#45(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/API.jl:314
 [5] gc at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/API.jl:273 [inlined] (repeats 2 times)
 [6] top-level scope at none:0
bors bot added a commit that referenced this issue Aug 13, 2018
634: fix gc in prescence of normal files r=KristofferC a=KristofferC

Fixes #601 

Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
bors bot added a commit that referenced this issue Aug 13, 2018
618: better info messages for activating new env r=fredrikekre a=fredrikekre



631: stop testing on 0.7 r=KristofferC a=KristofferC

No point

634: fix gc in prescence of normal files r=KristofferC a=KristofferC

Fixes #601 

Co-authored-by: Fredrik Ekre <fredrik.ekre@chalmers.se>
Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
bors bot added a commit that referenced this issue Aug 13, 2018
634: fix gc in prescence of normal files r=KristofferC a=KristofferC

Fixes #601 

Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
@bors bors bot closed this as completed in #634 Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants