JuliaPackaging / Scratch.jl

Scratch spaces for all your persistent mutable data needs
MIT License
58 stars 11 forks source link

get_scratch! on read-only filesystem #33

Closed olivierlabayle closed 1 year ago

olivierlabayle commented 2 years ago

Hi,

I am currently trying to use a singularity container that has TimeZones.jl and thus Scratch.jl as a dependency. The initialization of TimeZones.jl seems to call get_scratch! which tries to write a manifest_usage.toml file at run time. Unfortunately, singularity containers are read-only and thus I can't even load the original module.

Could you please provide some guidance on how I could fix this issue? Also please let me know if this issue should instead be opened on TimeZones.jl.

Thanks

giordano commented 2 years ago

Sounds like a duplicate of #32: the first depot is always assumed to be writable, not just by this package.

olivierlabayle commented 2 years ago

Indeed, thanks for the pointer!