Scratch.jl icon indicating copy to clipboard operation
Scratch.jl copied to clipboard

get_scratch! on read-only filesystem

Open olivierlabayle opened this issue 2 years ago • 2 comments

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

olivierlabayle avatar Oct 21 '22 10:10 olivierlabayle

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

giordano avatar Oct 21 '22 10:10 giordano

Indeed, thanks for the pointer!

olivierlabayle avatar Oct 21 '22 14:10 olivierlabayle