ratt-ru / radiopadre

(Radio) Python Astronomy Data Reductions Examiner
MIT License
10 stars 0 forks source link

carta 1.2.2 not working in Singularity mode (works in Docker or virtualenv) #73

Closed o-smirnov closed 4 years ago

o-smirnov commented 4 years ago

As of rc8, at least. Very annoying, as it seems to work perfectly fine under Docker, and the Singularity image is built directly from the Docker image....

o-smirnov commented 4 years ago

This is purely a Singularity+1.2.2 problem. Docker works fine. 1.2.1 works fine.

Reported here: https://github.com/CARTAvis/carta/issues/12

In the meantime, I'll just roll a separate docker image with 1.2.1.

o-smirnov commented 4 years ago

Workaround for now is to run with --docker-image :1.0pre8-carta-1.2.1 (replacing 1.0pre8 with whatever the working release of the moment is...)

Another option is to add a run-radiopadre option to mount a host-specific CARTA dirctory into the container, but I'd rather not waste time on that now.

o-smirnov commented 4 years ago

Note to self -- if this persists, then I should just make the default image name different for docker and singularity modes, and ship with a working default.

o-smirnov commented 4 years ago

Grrr, same problem with Docker on Ubuntu 16.04. And no answer from the CARTA folks. I'll just roll all the containers back to 1.2.1 for now.

o-smirnov commented 4 years ago

Yep, permissions inside the tarball changed (rwx------ on static/, why?) Added a chmod to work around this in the setup script.