After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 356754 - please detect corrupt archives (rar format)
please detect corrupt archives (rar format)
Status: RESOLVED OBSOLETE
Product: file-roller
Classification: Applications
Component: general
2.16.x
Other Linux
: Normal normal
: ---
Assigned To: file-roller-maint
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-09-19 15:57 UTC by Sebastien Bacher
Modified: 2020-11-11 19:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sebastien Bacher 2006-09-19 15:57:41 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/file-roller/+bug/61185

"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.
...
> 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?
...


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."
Comment 1 Stefano 2007-02-11 23:11:21 UTC
This is the same issue when a part of a multiple rar is missing or is misplelled.
Comment 2 Alexander “weej” Jones 2007-12-02 18:43:15 UTC
It seems that any error condition is being treated as a need for a password.
Comment 3 Mårten Woxberg 2008-01-09 17:23:20 UTC
I had rar files that where corrupted when I tried to extract them I got the above error, not only that, File-roller deletes ALL files extracted when it fails to continue to extract, this is not good.
Comment 4 Askar Andersson 2008-07-17 22:05:07 UTC
This is a dublicate of bug 504584 (Or the other way around? :))
Comment 5 André Klapper 2020-11-11 19:12:00 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use file-roller and if you still see this bug / want this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/file-roller/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (volunteer workforce and time is limited).