[BUG 11.50ß8] Error during testing a zip Archiv

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Kipish101
Junior Member
Junior Member
Posts: 8
Joined: 2024-11-22, 06:45 UTC

[BUG 11.50ß8] Error during testing a zip Archiv

Post by *Kipish101 »

Hello all,

would like to report, if you´re testing a ZIP Archiv using Alt-F and then T with every ZIP Archiv you´re getting the error
message,

Explorer:
Pack method not supported, file wget.exe cannot be unpacked.


PS1: It is looks like TC try to unpack and fail, but i would like only test the file

PS2: my testfile is this one:
https://eternallybored.org/misc/wget/
https://eternallybored.org/misc/wget/releases/wget-1.21.4-win64.zip

it is reproducible at any time.

The Archiv isnt defect.

Thanks a lot for a look and a fix
K.
User avatar
MaxX
Power Member
Power Member
Posts: 1167
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *MaxX »

Confirm that.
TC 11.03 gives the same error (both 32 and 64 bit).
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Dalai
Power Member
Power Member
Posts: 9963
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *Dalai »

Confirmed. This also occurs in TC 11.03 and 11.02, but it works properly in 11.00; I didn't check in 11.01. It's interesting that entering the archive and extracting the wget.exe works without issues.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *white »

This explains it:
HISTORY.TXT wrote: 05.10.23 Release Total Commander 11.02 release candidate 1
...
25.09.23 Added: wincmd.ini [Packer] ZipTestWarnExplorer=0 turns off warning when testing archives that a file can't be unpacked by Windows Explorer (32/64)
25.09.23 Added: Menu Files - Test archives: Show warning when a ZIP file (created by the new libdeflate) can't be unpacked by Windows Explorer due to an Explorer bug (32/64)
...
10.09.23 Fixed: In rare cases, the Windows 7/8/10/11 Explorer couldn't unpack ZIP archives created with the new libdeflate dll, although all other packers including Windows XP Explorer, pkzip, winzip, winrar and 7zip could (32/64)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *ghisler(Author) »

Not a bug, just a warning that the file could not be unpacked by Explorer.

If you don't want this warning, open wincmd.ini via menu Configuration - Change settings files directly, look for the heaader
[Packer]
and add the following line below it:
ZipTestWarnExplorer=0
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *white »

ghisler(Author) wrote: 2024-11-29, 10:11 UTC Not a bug, just a warning that the file could not be unpacked by Explorer.
The warning text is not very clear though. Perhaps you can change:
Explorer:
Pack method not supported, file wget.exe cannot be unpacked.
into:
Warning:
Incompatible pack method, file wget.exe may not unpack with Explorer.
Kipish101
Junior Member
Junior Member
Posts: 8
Joined: 2024-11-22, 06:45 UTC

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *Kipish101 »

@Mr. Ghisler
Thanks for looking this up and thanks for the information.

Btw, as already noted by white, the message is not clear for the user.

Adding this line:
ZipTestWarnExplorer=0
didnt fix the problem.

Whats wrong again?

Thanks!
K.
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *white »

Kipish101 wrote: 2024-11-29, 15:00 UTC Adding this line:
ZipTestWarnExplorer=0
didnt fix the problem.

Whats wrong again?
Did you restart TC?
Kipish101
Junior Member
Junior Member
Posts: 8
Joined: 2024-11-22, 06:45 UTC

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *Kipish101 »

Yes, of course.

Strange, i have 3 time the wincmd.ini on my HDD C:

1. C:\Windows
2. AppData/Roaming/Ghisler
3. Programs/TotalCmd

I add the line in all 3 files.
Didnt working.
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *white »

Kipish101 wrote: 2024-11-29, 15:17 UTC Strange, i have 3 time the wincmd.ini on my HDD C:
You can see which wincmd.ini is used by selecting menu options Help/About.
You can edit the wincmd.ini file directly by selecting menu option Configuration/Change Settings Files Directly.
Kipish101 wrote: 2024-11-29, 15:17 UTC I add the line in all 3 files.
Didnt working.
Did you add the line under the [Packer] header?
Kipish101
Junior Member
Junior Member
Posts: 8
Joined: 2024-11-22, 06:45 UTC

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *Kipish101 »

Yes, i do and yes i have edit the correct wincmd.ini (used Configuration/Change Settings Files Directly)

[Packer]
ZipTestWarnExplorer=0
ZIPlikeDirectory=1
InternalUnarj=1
ARJlongnames=0
InternalUnlzh=1
InternalUnrar=1
InternalUnace=1
LinuxCompatible=1
ARJ=arj32.exe
LHA=lha32.exe
RAR=""C:\Program Files\7-Zip\7z.exe""
UC2=uc.exe
ACE=winace.exe
RememberLastPassword=1
InternalZip=1
InternalUnzip=1
zipnt=0
ZIP=pkzip.exe
UnZIP=pkunzip.exe
InternalZipRate=9
Zip83Name=0
ZipSetDateToNewest=0
nodelete=0
OpenPartial=0
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *white »

Kipish101 wrote: 2024-11-29, 17:28 UTC Yes, i do and yes i have edit the correct wincmd.ini (used Configuration/Change Settings Files Directly)
Weird. It works for me when testing wget-1.21.4-win64.zip.

Do you have one [Packer] section in your wincmd.ini file?
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *AntonyD »

For me ZipTestWarnExplorer=0 is also does work, from the first attempt.
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *petermad »

ZipTestWarnExplorer=0 also woks fine for me with the archive https://eternallybored.org/misc/wget/releases/wget-1.21.4-win64.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
Kipish101
Junior Member
Junior Member
Posts: 8
Joined: 2024-11-22, 06:45 UTC

Re: [BUG 11.50ß8] Error during testing a zip Archiv

Post by *Kipish101 »

@white

Checked, i have only one [Packer] section.

Still not working for me.
Post Reply