Skip to content

Trying to extract a double compressed tar file with improper filename leads to confusing error #882

@lolbinarycat

Description

@lolbinarycat

Version

ouch 0.6.1

Description

If a filename ends in .tgz, but the actual format is .tar.gz.gz, this will lead to a very odd error:

[ERROR] numeric field did not have utf-8 text: �
��=� when getting cksum for �

Current Behavior

No response

Expected Behavior

No response

Additional Information

It would also be nice if there was a flag to make ouch ignore the file name of the input file and just rely on magic number detection instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions