mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Unknown Rar Header: 238 #675
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @majorro on GitHub (Jan 21, 2025).
Exception:
Code:
Happens when moving to the 8th track in archive
No issues with winrar
@Nanook commented on GitHub (Feb 6, 2025):
This error is raised when Visual Studio is set to raise all exceptions (full check). Set "Common Language Runtime Exceptions" to defaults (or off) and the archive can be processed without error.
I've not tested moving directly to the 8th track though.
@majorro commented on GitHub (Feb 6, 2025):
I don't think so, just doublechecked the code without any ide/debug modes/etc. using
dotnet run, it throws the error on 0.39.0By moving to the 8th track I just meant iteration 7->8 btw
@Nanook commented on GitHub (Feb 6, 2025):
I used the unit test for rar2 (latest master/main). Replaced the name of file the test archive for your archive (full path). I had renamed the archive to .rar (from .rar1, although that won't matter). I think I had to set solid mode to true when calling the shared helper function. It extracted the full archive to the test scratch folder. I can check it out properly tomorrow