+Bug with making new directory with WCX plugins
Moderators: Hacker, petermad, Stefan2, white
+Bug with making new directory with WCX plugins
When making new directory using F7 key in some archive supported by external plugin, TC creates directory in windows TEMP, then calls PackFiles function to pack it to archive. The problem is that directory remains in TEMP, because TC neither deletes it itself, nor asks plugin to delete it by specifying PK_FLAG_MOVE_FILES flag. If I ask again to make directory with the same name (in the same or in another archive), the operation fails because directory with such name already exists in TEMP.
You can repeat it with any archive type, not supported by TC natively. Say, this one.
You can repeat it with any archive type, not supported by TC natively. Say, this one.
Hello, Eugene.
I can reproduce the reported behaviour.
Testing Environment:
+ Linux Mint 13, 32-bit, Wine 1.4.1
+ Total Commander 8.50 (final)
+ Packer Plugin: 7zip Plugin for Total Commander, 0.7.6.5a: 2011-10-24, Christian Ghisler, Recompiled for 64-bit Windows
Steps:
OK, I found the foldernames which each <F7> inside a 7z-archive will leave behind:
Hm, I guess this means I have fully reproduced your problem report.
Kind regards,
Karl
I can reproduce the reported behaviour.
Testing Environment:
+ Linux Mint 13, 32-bit, Wine 1.4.1
+ Total Commander 8.50 (final)
+ Packer Plugin: 7zip Plugin for Total Commander, 0.7.6.5a: 2011-10-24, Christian Ghisler, Recompiled for 64-bit Windows
Steps:
- Created temp.7z file holding some random files.
- copied temp.7z as temp2.7z
- opened temp.7z, pressed <F7> and created folder New1
- opened temp2.7z, pressed <F7> and created folder New1.
This frequently would fail on first try: "error while packing".
This would succeed on second try, however. - opened temp.7z, pressed <F7> and created folder New2
- opened temp2.7z, pressed <F7> and created folder New2.
This frequently would fail on first try: "error while packing".
This would succeed on second try, however. - repeated the steps 3-4, 5-6 with more folders.
Always the same result:
Creating folder NewX will succeed on first try in temp.7z, but will always fail on first try in temp2.7z.
Second try will always succeed.
OK, I found the foldernames which each <F7> inside a 7z-archive will leave behind:
Code: Select all
C:\users\karl\Temp\_tc\New1\
C:\users\karl\Temp\_tc\New2\
C:\users\karl\Temp\_tc\New3\
C:\users\karl\Temp\_tc\New4\
C:\users\karl\Temp\_tc\New5\
Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is intentional because TC cannot know when that directory is no longer needed.
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:
Actually it was a bug, so please test the fix in 8.51 beta 1!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello, Christian.
Summary:
The reported problem is no longer reproducible in Total Commander 8.51ß1.
Environment:
Testing Environment:
+ Linux Mint 13, 32-bit, Wine 1.4.1
+ Total Commander 8.51ß1
+ Packer Plugin: 7zip Plugin for Total Commander, 0.7.6.5a: 2011-10-24, Christian Ghisler, Recompiled for 64-bit Windows
Tests performed:
Same as explained above
Thanks for resolving the problem.
Karl
Summary:
The reported problem is no longer reproducible in Total Commander 8.51ß1.
Environment:
Testing Environment:
+ Linux Mint 13, 32-bit, Wine 1.4.1
+ Total Commander 8.51ß1
+ Packer Plugin: 7zip Plugin for Total Commander, 0.7.6.5a: 2011-10-24, Christian Ghisler, Recompiled for 64-bit Windows
Tests performed:
Same as explained above
Thanks for resolving the problem.
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
- 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: