This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Internal 7z unpacker and 7zip.wcx stop unpacking half way

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
billiebub
Member
Member


Joined: 12 Apr 2011
Posts: 170

PostPosted: Thu Oct 05, 2017 6:28 am    Post subject: Internal 7z unpacker and 7zip.wcx stop unpacking half way Reply with quote

Both internal 7z unpacker and plugin 7zip.wcx (0.7.6.6) reach a point where they fail to unpack 7z archive. The error displayed is "Error writing ........". The 7z archive contains very long paths. Both seem to work for simple 7z archives but not for large 7z archives containing very long paths.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Fri Oct 06, 2017 3:38 am    Post subject: Reply with quote

Not confirmed. Please provide a sample 7z file with this problem. If possible, delete large files from it so the sample file is as small as possible while still causing the problem.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
billiebub
Member
Member


Joined: 12 Apr 2011
Posts: 170

PostPosted: Fri Oct 06, 2017 8:11 am    Post subject: Reply with quote

Ok I narrowed down the problem. If the destination directory has a path that's like 280 characters, the unpacking will fail for both 7zip.wcx and internal unpacker. I also tested a .zip version of the file and it works fine. The problem seems to only affect .7z. The problem exists for both 9.0a and 9.10B.

Steps to reproduce:

1- Create the following directory:
C:\fasfsadfsadfasdfweafrasfsadfsadfa\fasfsadfsadfasdfweafrasfsadfsadfa\fasfsadfsadfasdfweafrasfsadfsadfa\fasfsadfsadfasdfweafrasfsadfsadfa\fasfsadfsadfasdfweafrasfsadfsadfa\

2- Unpack the below .7z and .Zip files to above directory.

7z -> https://drive.google.com/open?id=0B5LHHrv-wH7ca1hsaU1lb2pvcVU

Zip -> https://drive.google.com/open?id=0B5LHHrv-wH7cWWxsNmp6ZzY3YkU
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Sun Oct 08, 2017 5:01 am    Post subject: Reply with quote

Most plugins do not support paths longer than 259 characters. This is a limitation in Windows, not Total Commander or the plugins. Windows functions need to be called in a special way to use longer paths. Total Commander supports this in some functions, but not all. I will check why there is a crash, though.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Tue Oct 10, 2017 3:36 am    Post subject: Reply with quote

So far neither the RAR nor the 7zip packer support names longer than 259 characters. I will keep it this way for now. I managed to fix a crash occuring in the long name warning dialog, though.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group