Skip to content

Datadep problem #15

@andrew-saydjari

Description

@andrew-saydjari

On a clean install, I have now repeatedly had issues unlinking during the MIST_DECam download. I don't think this is my fault... seems to be some issue with the specific way this datadep is being downloaded. (Fixed on the development version, which might suggest a new release soon would be helpful)

This program has requested access to the data dependency MIST_DECam.
which is not currently installed. It can be installed automatically, and you will not see this message again.

MIST bolometric corrections for the Dark Energy Camera (DECam)


Do you want to download the dataset from https://waps.cfa.harvard.edu/MIST/BC_tables/DECam.txz to "/uufs/chpc.utah.edu/common/home/u6039752/scratch/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MIST_DECam"?
[y/n]
stdin>  y
┌ Info: Downloading
│   source = "https://waps.cfa.harvard.edu/MIST/BC_tables/DECam.txz"
│   dest = "/uufs/chpc.utah.edu/common/home/u6039752/scratch/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MIST_DECam/DECam.txz"
│   progress = 1.0
│   time_taken = "0.6 s"
│   time_remaining = "0.0 s"
│   average_speed = "3.210 MiB/s"
│   downloaded = "1.935 MiB"
│   remaining = "0 bytes"
└   total = "1.935 MiB"

IOError: unlink("/uufs/chpc.utah.edu/common/home/u6039752/scratch/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/MIST_DECam/files/.nfs0000008708961c62000510dc"): resource busy or locked (EBUSY)

Stacktrace:
  [1] uv_error
    @ ./libuv.jl:106 [inlined]
  [2] unlink(p::String)
    @ Base.Filesystem ./file.jl:1105
  [3] rm(path::String; force::Bool, recursive::Bool)
    @ Base.Filesystem ./file.jl:283
  [4] rm(path::String; force::Bool, recursive::Bool) (repeats 2 times)
    @ Base.Filesystem ./file.jl:294
  [5] rm
    @ ./file.jl:273 [inlined]
  [6] download(datadep::DataDeps.DataDep, localdir::String; remotepath::String, i_accept_the_terms_of_use::Nothing, skip_checksum::Bool)
    @ DataDeps ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution_automatic.jl:86
  [7] download(datadep::DataDeps.DataDep, localdir::String)
    @ DataDeps ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution_automatic.jl:63
  [8] handle_missing
    @ ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution_automatic.jl:10 [inlined]
  [9] _resolve
    @ ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution.jl:83 [inlined]
 [10] resolve(datadep::DataDeps.DataDep, inner_filepath::String, calling_filepath::String)
    @ DataDeps ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution.jl:29
 [11] resolve(datadep_name::String, inner_filepath::String, calling_filepath::String)
    @ DataDeps ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution.jl:54
 [12] resolve
    @ ~/scratch/.julia/packages/DataDeps/Y2lje/src/resolution.jl:73 [inlined]
 [13] MISTBCGrid(grid::String)
    @ BolometricCorrections.MIST ~/scratch/.julia/packages/BolometricCorrections/Tef8p/src/MIST/MIST.jl:224
 [14] top-level scope
    @ In[6]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions