gendx/lzma-rs

Extraction fails with `Unknown filter id 8`

オープン

#98 opened on 2023/04/08

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (37 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (151 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Test code

fn main() {
    let file = std::fs::File::open("/tmp/dump.xz").unwrap();
    lzma_rs::xz_decompress(&mut std::io::BufReader::new(file), &mut std::io::sink()).unwrap();
}

Output of above program

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: XzError("Unknown filter id 8")', src/main.rs:5:86
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Output of xz -l dump.xz

Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename
    1       1    683.7 KiB  2,048.0 KiB  0.334  None    dum

Link to file (please extract the dump.zip to get xz file): dump.zip

コントリビューターガイド