[TC8.0RC1 x64] File comparison bug
Moderators: Hacker, petermad, Stefan2, white
[TC8.0RC1 x64] File comparison bug
An odd intermittent bug. Steps to reproduce:
Install clean build of TC8
Add to Wincmd.ini [Packer] LzmaAllowed=1
Start TCx64
Navigate to C:\Windows (or any other folder with lots of biggish files)
Select all files only ( ctrl + shift + grey+ )
Pack files ( alt + F5 )
Packer = ZIP
Click "Configure..."
Internal ZIP Compression: Other = 10
Click OK then YES to warning dialog
Click OK to create archive
When done, double click archive to open it
Menu: Commands, Synchronize Dirs...
Compare options = by content
Display options = unequal files
Click "Compare"
Result is several lines in red (=different) with ? in result column
Double click one of these lines to perform compare
Compare results = "The two files are identical!"
Looks like the original comparison from sync dirs is failing.
As I said, the result is intermittent, but can replicate it most times.
Install clean build of TC8
Add to Wincmd.ini [Packer] LzmaAllowed=1
Start TCx64
Navigate to C:\Windows (or any other folder with lots of biggish files)
Select all files only ( ctrl + shift + grey+ )
Pack files ( alt + F5 )
Packer = ZIP
Click "Configure..."
Internal ZIP Compression: Other = 10
Click OK then YES to warning dialog
Click OK to create archive
When done, double click archive to open it
Menu: Commands, Synchronize Dirs...
Compare options = by content
Display options = unequal files
Click "Compare"
Result is several lines in red (=different) with ? in result column
Double click one of these lines to perform compare
Compare results = "The two files are identical!"
Looks like the original comparison from sync dirs is failing.
As I said, the result is intermittent, but can replicate it most times.
Giovanni, try to sync with other archive types (e.g. 7z or cab), it is a normal TC behaviour when it skips comparing of packed files (it supports only zip packer in Sync tool). It then leaves files with red ? - it means that files weren't compared, it doesn't mean that files are equal or unequal. But you can then compare them with doubleclick. Yes, I agree, that it is sad that TC doesn't mark files as equal after manual comparing.
But if you said that usually TC compares files from lzma-zip, so it may be really a bug that it doesn't work sometimes.
But if you said that usually TC compares files from lzma-zip, so it may be really a bug that it doesn't work sometimes.
LzmaAllowed=1
My TC 8.0 RC1 x32 can't even make such a type of zip. x64 works fine.Internal ZIP Compression: Other = 10
TCMDLZMA.DLL v9.20
TCLZMA64.DLL v4.63
Ukrainian Total Commander Translator. Feedback and discuss.
Thanks, but there is the same result with the "ignore date" option.Hacker wrote:Check the timestamps of the files.
It really does compare files from lzma-zip and it does it very well most of the time. It only seems to be from archives with many files of various sizes. I have not found a pattern yet. The 32bit version of TC does not exhibit this issue.MVV wrote:But if you said that usually TC compares files from lzma-zip, so it may be really a bug that it doesn't work sometimes.
Well that looks like a different problem for you - you should post another bug report. I reckon that my reported problem may be with the unzip library.MaxX wrote:My TC 8.0 RC1 x32 can't even make such a type of zip. x64 works fine.
2MaxX
Try and set LzmaAllowed=1 in wincmd.iniMy TC 8.0 RC1 x32 can't even make such a type of zip.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Sorry - I overlooked the quote in you post.Lol, but I did that twice.
But anyway - it works fine here with 32bit TC8.0rc1 under Windows XP 32bit and Windows 7 64bit.
Maybe you edited the wrong ini-file, maybe you didn't add it to the [Packer] section, maybe you don't have write permissions to the ini file, maybe you didn't restart TC after editing the ini file - just suggestions.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I could not reproduce the error. The '?' means that TC could not access some files. Maybe they were locked by the system?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Now (TC 8.0 RC2), withMaxX wrote:LzmaAllowed=1My TC 8.0 RC1 x32 can't even make such a type of zip. x64 works fine.Internal ZIP Compression: Other = 10
TCMDLZMA.DLL v9.20
TCLZMA64.DLL v4.63
TCMDLZMA.DLL v4.63
TCLZMA64.DLL v4.63
pack/unpack works good.
Can't reproduce...Result is several lines in red (=different) with ? in result column
Compare results = "The two files are identical!"