+[TC 8.50 betas and RC1] Unable to open non-full RAR file

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

+[TC 8.50 betas and RC1] Unable to open non-full RAR file

Post by *MaxX »

How to reproduce:
1. Open any browser you wish (my case - Opera 12.x)
2. Start a download of any RAR file (v 4.x).
3.(While downloading) try to open target file in TC.
4a. TC 8.01 - works fine, I can see what's inside RAR file and can't unpack - it's normal.
4b. TC 8.50 (betas and rc1) - get an error: can't go inside (See screenshot: http://iceimg.com/Juayinv6/clip463.png).

Tested with TC 8.01 final, TC 8.50 last betas and RC1 on Win 7 SP1 x64 and with internal unrar*.dll files.
Also I've tested TC with the lastest unrar*.dll from rarlab.com - get the same result.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

But why should I look into an archive which is not yet fully downloaded ?
User avatar
atomix
Junior Member
Junior Member
Posts: 33
Joined: 2003-02-05, 13:35 UTC
Location: TotalCmd Planet

Post by *atomix »

Why not? For the simple reason that you want to extract just one file of interest to you. Instead of asking why better focus on how to solve the problem? :)

This bug has basically the same cause as reported here: http://www.ghisler.ch/board/viewtopic.php?t=39301
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

atomix wrote:Why not? For the simple reason that you want to extract just one file of interest to you. Instead of asking why better focus on how to solve the problem? :)
If youd really care for solving this problem then why not go to the root (rarlabs) instead of talking here about it?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is a misfeature of unrar.dll: It cannot open RAR archives which are open in any other program. Older TC versions didn't use unrar.dll to read names. TC 8.5 has to use it to support RAR5 format.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2ghisler(Author)
Can you add some function to open archive in legacy mode (just the same as it was before in 8.0x)?
Any command I could use via user-defined hotkey.
I need such a feature due to the specific backup system.
User avatar
atomix
Junior Member
Junior Member
Posts: 33
Joined: 2003-02-05, 13:35 UTC
Location: TotalCmd Planet

Post by *atomix »

I fully support this request, please make it happen. :)
MaxX wrote:2ghisler(Author)
Can you add some function to open archive in legacy mode (just the same as it was before in 8.0x)?
Any command I could use via user-defined hotkey.
I need such a feature due to the specific backup system.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately not, because the old functions had other limitations, like
- not opening files with encrypted file names
- only opening current part of multi-part RAR
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

ghisler(Author) wrote:- not opening files with encrypted file names
- only opening current part of multi-part RAR
I know it and don't need these extras for additional legacy-mode with it's own hotkey.
User avatar
atomix
Junior Member
Junior Member
Posts: 33
Joined: 2003-02-05, 13:35 UTC
Location: TotalCmd Planet

Post by *atomix »

MaxX wrote:I know it and don't need these extras for additional legacy-mode with it's own hotkey.
I am also happy with the behaviour of TC 8.01 (and earlier) and I see this change in 8.50 as a regression, so a legacy-mode would be most welcome. :)

As for people suggesting to contact rarlab - I did that already but I don't put my hopes too high since this is not an issue in their WinRAR product.
Perhaps Christian can get their attention as a software developer using unrar.dll :roll:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have sent an e-mail to the RAR author, but I don't have high hopes for a change. I have added code to open the archive with the old method when it is locked, but this doesn't allow to unpack files from it because this needs the unrar.dll again. But the same problem was true for TC 8.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ZIPs also can't be opened while they are downloaded, but ZIPs are handled by TC 100% internally...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually it can when you enable the option to open partial zips in menu configuration - options - zip packer.

Btw, great news: The RAR author has replied to my request! It's now not only possible to browse RAR archives which are open, but also extract files from them! It's included in RC2 now, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Quick test's done, works fine.
Ukrainian Total Commander Translator. Feedback and discuss.
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

WOWWWWWW i didn't expect this to happen anymore.

that problem really kept me off from upgrading to 8.5 so far.


this *seems* now to fix

http://www.ghisler.ch/board/viewtopic.php?t=38858

and

http://www.ghisler.ch/board/viewtopic.php?t=38867

not thoroughly tested yet though.


btw, the people at RARLAB were also helpful when i contacted them because of another RAR problem.

so, well done. :)
licenced and happy TC user since 1994 (#11xx)
Post Reply