Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spython execute not capturing stderr in streaming logs #7

Closed
tjgalvin opened this issue Oct 25, 2023 · 2 comments
Closed

spython execute not capturing stderr in streaming logs #7

tjgalvin opened this issue Oct 25, 2023 · 2 comments

Comments

@tjgalvin
Copy link
Owner

It appears as though that aegean within the singularity container outputs it logs to the stderr. In the current form I am not currently capturing the stderr in the prefect logs. It seems that the actual subprocess call is managed within spython (the python module that constructs singularity commands) does not output the stderr to the logger object I am looping over in flint.sclient.run_singularity_command.

I am not sure whether we can easily hijack this output object ourselves, or whether an upstream pr should be considered.

@tjgalvin
Copy link
Owner Author

I have raised an initial PR in spython: singularityhub/singularity-cli#209

@tjgalvin
Copy link
Owner Author

This fix has been brought into spythong 0.3.1. Pinging this as a dependency, updated the call into the execute method. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant