please detect corrupt archives (rar format)

Bug #61185 reported by finalbeta
42
This bug affects 1 person
Affects Status Importance Assigned to Milestone
File Roller
Confirmed
Medium
file-roller (Baltix)
New
Undecided
Unassigned
file-roller (Ubuntu)
Triaged
Wishlist
Ubuntu Desktop Bugs

Bug Description

At the moment when an archive is corrupted, file roller doesn't detect this. I am talking about corrupted rar files, so part of the problem might be with unrar-nonfree. (but I suspect other archive types suffer from the same problem.

When a archive is corrupted, file-roller asks for a password. You press enter because it has no password, when file roller comes at the corrupted part, it restarts, asks for a password again, and so on, and so on.

File roller should detect the corrupt package and notify the end user.

While I'm at it, time estimation on the unpacking process would be nice 2.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've just tried to delete some parts of a .zip and opened it with file-roller, it opens a dialog "An error occurred while loading the archive." with details of the command line. Could you provide an example of archive trigerring the issue?

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Untriaged → Wishlist
status: Unconfirmed → Needs Info
Revision history for this message
finalbeta (j-greenhouse) wrote :

I am talking about .rar files. And in my tests, any type will do, single rars, or split rar (files packed in multiple parts)

Al you have to do to reconstruct the event is open a .rar that is not complete. What I did to test was pack some files, upload them to an ftp, download them, and abort the download before it was completed.

When you click the archive, file roller opens, when you unpack it, file roller asks for a password. and again, and again..
I guess you could use this file to test, abort the download before it's complete : http://users.telenet.be/greenhouse/Ledenbeheer.rar (1,97Mb)

PS: I just tested, and you are right, when this happens to a .zip file, you get an error, alto the error does not say anything about a corrupt archive, it says the file might be part of a multi file archive. Perhaps room for improvement on that.

PPS: I'm on edgy; but had the issue on dapper 2.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the details, I've forwarded that upstream: http://bugzilla.gnome.org/show_bug.cgi?id=356754

Changed in file-roller:
status: Needs Info → Confirmed
Changed in fileroller:
status: Unknown → Unconfirmed
Changed in file-roller:
status: Confirmed → Triaged
Revision history for this message
Alexander Jones (alex-weej) wrote :

This is still affecting hardy.

Revision history for this message
Åskar (olskar) wrote :

The problem is not in unrar or unrar-unfree as it gives info about corrupt archives when using them from commandline

Revision history for this message
Åskar (olskar) wrote :

Finally is bug seems to be fading away! Partially fixed upstream in the current development version!

http://bugzilla.gnome.org/show_bug.cgi?id=504584

Revision history for this message
Åskar (olskar) wrote :

Bug is fixed upstream, now we get the message you can see in the attached screenshot.

The developer is now looking for a way to specify where the missing rar is but I do think this bug is fixed.

Revision history for this message
kimus (kimus) wrote :

File Roller 2.24.1 and still asking for a password on CRC failures?! Happen to me today!!
This bug was filled 3 years ago! :-S

Revision history for this message
Atlas (earth) wrote :

Any plans for a fix?

Changed in file-roller:
importance: Unknown → Medium
Changed in file-roller:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.