Git Product home page Git Product logo

Comments (6)

selmf avatar selmf commented on May 23, 2024

7z t swiss_r922.7z

`7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz (206A7),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3622848 bytes (3538 KiB)

Testing archive: ../test/swiss_r922.7z
--
Path = ../test/swiss_r922.7z
Type = 7z
Physical Size = 3622848
Headers Size = 715
Method = LZMA:24 BCJ PPC
Solid = +
Blocks = 3

Everything is Ok                                                     

Folders: 11
Files: 19
Size:       33161999
Compressed: 3622848
`

Method = LZMA:24 BCJ PPC

The decompression code for 7z archives is taken from the ANSI-C implementation of the LZMA SDK. As far as I can tell, that code only includes filters for x86 and IA64 but not for PPC and other architectures, which is the reason the decompression is failing.

from unarr.

coolaj86 avatar coolaj86 commented on May 23, 2024

Is that to say this is an endianness issue?

from unarr.

selmf avatar selmf commented on May 23, 2024

No, this is simply a missing decompression method/filter. There is a good chance I can fix this by adding the missing method from 7z code, but I need to look into it.

from unarr.

selmf avatar selmf commented on May 23, 2024

So I just had a closer look at this and it appears the filter is not missing. The errors unarr shows indicate a problem with CRC values (Error 3) and unsupported format (Error 4).
p7zip 16.02 on my machine reports it as a valid file while the ANSI-C decoder from LZMA-SDK 19.00 reports it as unsupported. This archive was likely not created with standard parameters and I need to do a more thorough investigation what exactly is happening here.

from unarr.

mastercoms avatar mastercoms commented on May 23, 2024

Seems like the archival step has changed since this issue was created (possibly prompted by the report). emukidid/swiss-gc@db7c168

from unarr.

selmf avatar selmf commented on May 23, 2024

Thanks for the follow-up. I checked and the new files provided by swiss-gc work fine. I am not sure why the old files do not work, but this is likely due to a bug or edge case in the lzma-sdk.
Funny thing is, p7zip actually reports the same filter/compression combination for both the 'broken' and the new files on my system.

from unarr.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.