-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Errors related to file compression #183
Comments
How to use the - ssp switch, which was added in the 7-zip version of 20.02 |
Hi!
Uhm, strange, I'll try to replicate the issue!
I'll reply to this in the other issue you created (#184). |
After testing, it was found that this is an issue with the GHC library, and our project has found that there are some strange issues with the GHC library on the Windows platform. Now we have abandoned the option to enable the GHC library and compiled bit7z into a DLL using vs2019 for the main program to call |
Hi!
I could not reproduce the problem, at least on bit7z/tests/src/test_bitinputarchive.cpp Lines 1149 to 1171 in a5e5b87
bit7z/tests/src/test_bitoutputarchive.cpp Lines 35 to 62 in a5e5b87
This is really strange, as GHC is used only for paths and not much else! |
bit7z version
4.0.x
Compilation options
BIT7Z_AUTO_FORMAT, BIT7Z_DISABLE_ZIP_ASCII_PWD_CHECK, BIT7Z_USE_NATIVE_STRING
7-zip version
v23.01
7-zip shared library used
7z.dll / 7z.so
Compilers
MSVC
Compiler versions
MSVC2017
Architecture
x86_64
Operating system
Windows
Operating system versions
Windows 7 or later
Bug description
When the comments in the file properties are too long, it can lead to compression errors.
Using 7z can compress normally, but using bit7z for decompression will delete the file's note information.
After manually deleting the note information, bit7z can be used for compression without any errors.
The following image shows the file's properties page:
The following is a complete note:
{"data":{"pictureId":"738298be446d47f4b3933a4cc68ab6a2","appversion":"8.0.0","stickerId":"","filterId":"","infoStickerId":"","imageEffectId":"","playId":"","activityName":"","os":"android","product":"retouch"},"source_type":"douyin_beauty_me"}
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: