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

Add error handling if tar is not made #24

Open
amhanson9 opened this issue Dec 14, 2023 · 0 comments
Open

Add error handling if tar is not made #24

amhanson9 opened this issue Dec 14, 2023 · 0 comments

Comments

@amhanson9
Copy link
Contributor

package()

Have had cases where the tar is not made. Capture results from subprocess and test for errors. Could not use move_error due to Permissions problem. I think 7zip must not let go of the file but there doesn't seem to be a way to close it (should be automatic). I tried absolute and relative paths and making sure the paths exist, but no luck. Instead, I'm having manifest() check if an AIP exists and if not it stops. If so, it finishes the log as complete. Don't need to do this for zip because if the tar can run, it should be able to zip.

For testing, can reproduce the error by changing the source path in the tar command.

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