You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BitFileExtractor extractor{ lib, BitFormat::Auto };
I have a file that is damaged and has a size of 1.5GB
If I use the extractor. extract (zipFile, strOutDir) function, I may only be able to extract a few files and exit abnormally
If I use the extractor.xtractMatching function to extract all files in sequence, I can continue to extract many more files
But the performance is really low and the speed is very slow!
try
{
extractor.extractMatching(zipFile, iten.first, strTemp.GetString());
}
catch (const bit7z::BitException& ex)
{
string strMsg = ex.what();
auto failedFiles = ex.failedFiles();
//auto errorType = ZipErrorType(strMsg);
OutputDebugStringA(strMsg.c_str());
}
Is there any way to solve this problem?
The exception reported in this file is:
Failed to extract the archive: Data error.
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
Code of Conduct
By submitting this issue, I agree to follow bit7z's Code of Conduct
The text was updated successfully, but these errors were encountered:
bit7z version
3.2.x, 4.0.x
Compilation options
BIT7Z_7ZIP_VERSION, BIT7Z_AUTO_FORMAT, BIT7Z_USE_NATIVE_STRING
7-zip version
v23.01
7-zip shared library used
7z.dll / 7z.so
Compilers
MSVC
Compiler versions
vs2022
Architecture
x86
Operating system
Windows
Operating system versions
windows11
Bug description
BitFileExtractor extractor{ lib, BitFormat::Auto };
I have a file that is damaged and has a size of 1.5GB
If I use the extractor. extract (zipFile, strOutDir) function, I may only be able to extract a few files and exit abnormally
If I use the extractor.xtractMatching function to extract all files in sequence, I can continue to extract many more files
But the performance is really low and the speed is very slow!
try
{
extractor.extractMatching(zipFile, iten.first, strTemp.GetString());
}
catch (const bit7z::BitException& ex)
{
string strMsg = ex.what();
auto failedFiles = ex.failedFiles();
//auto errorType = ZipErrorType(strMsg);
OutputDebugStringA(strMsg.c_str());
}
Is there any way to solve this problem?
The exception reported in this file is:
Failed to extract the archive: Data error.
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
Code of Conduct
The text was updated successfully, but these errors were encountered: