Skip to content

PV generator getstat permission denied error #1148

@ajm-ska

Description

@ajm-ska

Describe the bug
On the carta-controller implementation of CARTA v3.0.0-beta.3 at ASIAA, we can not generate a PV image.
Once the progress bar completes, no PV image appears. Looking at the log files, everything seems to be normal except for one error: File::getstat error on .: Permission denied.

To Reproduce
Unfortunately, I can not find a way to reproduce the error outside of our carta-controller implementation, and only ASIAA members can access it. But I'll just mentions the steps here.

  1. Load an image cube.
  2. Create a line region.
  3. Generate a PV image.
  4. Notice that no PV image appears.
  5. Look at the log and see File::getstat error on .: Permission denied.

Expected behavior
The PV image should appear.

Platform info:

  • OS [e.g. macOS Monterey]: AlmaLinux 8.5
  • Browser [e.g. chrome, safari, electron app]: Chrome
  • Browser version [e.g. 22]: 100
  • Backend branch [e.g. dev, v3b2 release]: v3.0.0-beta.3
  • Frontend branch [e.g. dev, v3b2 release]: v3.0.0-beta.3

Additional context
It seems to be carta-backend related rather than carta-controller specific, but it could be the way we authenticate the users and somehow they don't have write permissions to a certain folder. If that is the case, it might come up again in archive implementations of CARTA. So I'm mainly wondering where the "getstat" "permission denied" error is coming from.
@pford Do you know if the PV generator writes temporary files somewhere, and if so, where is it?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions