[9.20b4] CtrlArrowOpenArchive=4 tries to analyze archive
Moderators: Hacker, petermad, Stefan2, white
[9.20b4] CtrlArrowOpenArchive=4 tries to analyze archive
When CtrlArrowOpenArchive=4 is set (never open archives on Ctrl+Arrow, always focus), TC still tries to find a packer plugin for an archive on Ctrl+Arrow.
It is easy to notice with Total7zip plugin: create an empty file.7z and use Ctrl+Arrow on it, and you will see an error message. Some plugins cause hangs (e.g. lsop sometimes).
It is easy to notice with Total7zip plugin: create an empty file.7z and use Ctrl+Arrow on it, and you will see an error message. Some plugins cause hangs (e.g. lsop sometimes).
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I use Total7zip 0.8.5.6. I've tried with clean wincmd.ini (only associated 7z extension with plugin and added CtrlArrowOpenArchive=4 to INI) and the message still appears.
Detailed test with clean installation:
1. Extract TC installer to some dir.
2. Copy Total7zip.wcx to test TC dir (just this one file).
3. Create wincmd.ini:
4. Start TOTALCMD.exe, close first-time windows.
5. Focus empty .7z file and press Ctrl+Arrow.
6. Total7zip error appears:
Detailed test with clean installation:
1. Extract TC installer to some dir.
2. Copy Total7zip.wcx to test TC dir (just this one file).
3. Create wincmd.ini:
Code: Select all
[Configuration]
UseIniInProgramDir=7
CtrlArrowOpenArchive=4
[PackerPlugins]
7z=%COMMANDER_PATH%\Total7zip.wcx
5. Focus empty .7z file and press Ctrl+Arrow.
6. Total7zip error appears:
7. Click OK, another error appears:Total7zip
---------------------------
7-zip library is not found.
Download 7-Zip
http://www.7-zip.org/
---------------------------
ОК
Total Commander
---------------------------
Error in packed file d:\Stuff\1.7z!
---------------------------
ОК
ConfirmedMVV wrote:I still do a Ctrl+Arrow on empty file and get a error message "Error in packed file D:\Stuff\1.7z!"...
Still the same error using Total7zip 0.8.5.6
I only get
Total Commander
---------------------------
Error in packed file c:\temp\test\x.7z!
---------------------------
ОК
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I cannot reproduce it for Ctrl+Left arrow or Ctrl+Right arrow.
Maybe you used Ctrl+Up arrow or Ctrl+Shift+Up arrow? Then I can reproduce it.
Maybe you used Ctrl+Up arrow or Ctrl+Shift+Up arrow? Then I can reproduce it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
No, I tested with Ctrl+Left and Ctrl+Right arrow and get the error.ghisler(Author) wrote:I cannot reproduce it for Ctrl+Left arrow or Ctrl+Right arrow.
Maybe you used Ctrl+Up arrow or Ctrl+Shift+Up arrow? Then I can reproduce it.
If I use Ctrl-Up arrow an new tab with the name of the archive is opened.
If I enter this tab the error message is shown.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, cannot reproduce with CtrlArrowOpenArchive=4. Are you sure you have that in your wincmd.ini?
Edit:
I found one special case where I still get the error: When the file has a size of 0 bytes. Is this the case in your test?
Edit:
I found one special case where I still get the error: When the file has a size of 0 bytes. Is this the case in your test?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes of course, MVV started this thread with such a file.ghisler(Author) wrote:Sorry, cannot reproduce with CtrlArrowOpenArchive=4. Are you sure you have that in your wincmd.ini?
Edit:
I found one special case where I still get the error: When the file has a size of 0 bytes. Is this the case in your test?
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
MVV didn't write anything about a 0 bytes file. When I tested this error, I simply renamed a small text file from name.txt to name.7z.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC checked parameters by content for being archives if the size was >0 bytes, because 0 byte files couldn't contain anything to check by content. The 0 byte files were passed directly to the directory read function, where a separate check was made.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com