Skip to content

Fixing Unarchiver treats non-zero exits as errors only on empty outputs - #78

Merged
ChrisJefferson merged 1 commit into
dtrx-py:masterfrom
sr-verde:unarchiver-fatal-error
Sep 27, 2026
Merged

ChrisJefferson merged 1 commit into
dtrx-py:masterfrom
sr-verde:unarchiver-fatal-error

Conversation

@sr-verde

Copy link
Copy Markdown

The base Extractor.is_fatal_error returns False, so by default a non-zero exit is only treated as an error when no files came out. I wasn’t able to reproduce this error in a test because the current test setup doesn’t support to somehow fallback on unar instead of rar. But I added a test for unrar. Let me know if you would prefer me to remove this test instead.

@ChrisJefferson
ChrisJefferson merged commit e2ba967 into dtrx-py:master Sep 27, 2026
10 checks passed
@sr-verde

Copy link
Copy Markdown
Author

Thanks for merging and your maintenance, @ChrisJefferson.

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

Successfully merging this pull request may close these issues.

2 participants