-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subfile in certain RAR cannot be read #373
Comments
Comment #1 originally posted by Google Code user
|
Comment #2 originally posted by Google Code user
|
Comment #4 originally posted by Google Code user
|
Comment #7 originally posted by Google Code user
See attachment: sample.rar |
Comment #8 originally posted by kientzle on 2014-08-16T20:31:14.000Z:
|
Comment #9 originally posted by Google Code user
|
Comment #10 originally posted by Google Code user
|
The Unarchiver, unlike libarchive, supports RAR5. Libarchive ticket: libarchive/libarchive#373
(may happen on standard files because of libarchive's incomplete support of filters libarchive/libarchive#373)
Because this has just hit me as well, i went looking and found this bug, untouched since a practical eternity and found myself wondering if there is in fact life - going by other places, it seems that way, but this bug's a bit on the low side... The RARVM code linked above has (on account of the google code hosting shutdown) been relocated to here on github: https://github.com/sumatrapdfreader/sumatrapdf/tree/master/ext/unarr |
I am running Ubuntu GNOME 16.04 with GNOME 3.20 and I am also affected by this bug. |
Same here on Fedora 24. |
This reverts commit da09ee4. Some of the main compressed archive formats are not still supported by libarchive, for example, RAR5. This is a major issue for the Nautilus builtin compression handling, so for now, and until libarchive adds support for RAR5, let's enable the nautilus extension of file-roller for the "Extract here" menu item. See libarchive/libarchive#373 for libarchive support of RAR5. https://bugzilla.gnome.org/show_bug.cgi?id=772765
Unfortunately rar is not well supported by libarchive, so for now let's drop its support so we don't expect users of autoar to extract files that are corrupted. The upstream documentation of what rar parts are supported or not are not clear, so far I found: libarchive/libarchive#373 vitasdk/packages#4 (comment) https://github.com/libarchive/libarchive/wiki/LibarchiveFormats it says read only for rar, but that is should work for any rar. However seems rar5 is not supported. This patch drops support for rar, and in case of some clients like Nautilus will use file-roller for rar until libarchive fixes. https://bugzilla.gnome.org/show_bug.cgi?id=779437
v8: - Fix double-free in error path when decompressing images v7: - Bump buffer size in ev-archive, good performance increase for local files v6: - Fix 2 pretty big memory leaks - Remove unneeded archive_read_data_skip() calls - Optimise the "no rotation" case (could also be done for gnome-3-24) - Use render_pixbuf_size_prepared_cb() - Add debug to "next header" archive calls v5: - Remove unused members of ComicsDocument struct - Split archive handling into an EvArchive object - Fix copy/paste error in configure.ac v4: - Fix crash caused by a bug in comics_document_list() (the array was not NULL terminated) - Remove duplicate "!cb_files" check - Use "size-prepared" instead of "area-prepared" to get the doc size - Fix link to libarchive bug in code, not working yet :/ v3: - Rebase against latest evince, making sure to bring back: - Use Unicode in translatable strings - Sort pages in natural order - Fix mime-type comparisons - libarchive/libarchive#373 looks like it's fixed! v2: - Rebase against latest evince - Update libarchive bug URL https://bugzilla.gnome.org/show_bug.cgi?id=720742
@antekone what do you think about this? Is it worth implementing without impact on the license? |
I'd need some time to research this. I'll do some reading and I'll report back. |
Hello team, checking in if there's been any findings with regards to impact on licensing to integrate this? |
@antekone the licensing problem can be solved easily. The LGPL code must be compiled as a separate library we optionally link against. That won't happen e.g. in base FreeBSD but should be no problem on Linux distros and FreeBSD ports. We also might bundle the source code in contrib/ if absolutely necessary. Otherwise we need a reimplementation from scratch. |
I just got bit by this issue when trying again to enable libarchive RAR support using 3.4.2 which now supports "solid" archives. Getting closer, but still not useable as a rarlabs replacement Would love to get this working because rarlabs code requires writing to disk and so is slow |
#1503 got merged, should this be closed? |
libarchive-tools 3.6.2-1
rarv5 solid works! but rarv4 solid isn't! |
Both sample files can be extracted successfully with v3.7.2. |
Original issue 262 created by Google Code user
simon.bailey@prismit.com.au
on 2012-05-14T07:52:30.000Z:See attachment: PowerPointSlides1.rar
The text was updated successfully, but these errors were encountered: