Skip to content

Decompress tar.lz tar.bz2 cause exception #1068

@zhuxb711

Description

@zhuxb711

I tried to decompress the tar.bz2 or tar.lz that created from the SharpCompress

But unfortunately, I got the exception:
Cannot determine compressed stream type. Supported Archive Formats: Zip, Rar, 7Zip, GZip, Tar

StackTrace:
    at SharpCompress.Archives.ArchiveFactory.FindFactory[T](Stream stream) in /_/src/SharpCompress/Archives/ArchiveFactory.cs:line 164
    at SharpCompress.Archives.ArchiveFactory.Open(Stream stream, ReaderOptions readerOptions) in /_/src/SharpCompress/Archives/ArchiveFactory.cs:line 24

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions