File-roller: An error occurred while loading the archive (Zip/7z)

7zarchivefile-rollerstracezip

As I don't use GUI for archive extraction much, I don't know since when this error I am getting:

An error occurred while loading the archive.

This error I get while trying to open an ordinary Zip and / or 7z archives, but I care only about Zip in this question.

I am able to open tar.bz2 and tar.gz files, though.

As a side note: This is particularly annoying as I started using Thunderbird for mail and so I intend to open all attachments in GUI.

OS and DE: Linux Mint 18.1 Cinnamon 64-bit.

Version of Archive manager for GNOME:

/usr/bin/file-roller --version
file-roller 3.16.5, Copyright © 2001-2012 Free Software Foundation, Inc.

Example:

A file downloaded from GitHub from this page as Zip: TrueColour.md

For convenience renamed to truecolor.zip.

file truecolor.zip

says it is an ordinary Zip archive:

truecolor.zip: Zip archive data, at least v1.0 to extract
file-roller truecolor.zip

run from terminal says the above error message with no output to the terminal.

Sure though, I am able to decompress it with:

unzip truecolor.zip

with output:

Archive:  truecolor.zip
f8e6e08a0f0d3ad09e599a4f17edc010d38e4ec8
   creating: 8346728-f8e6e08a0f0d3ad09e599a4f17edc010d38e4ec8/
  inflating: 8346728-f8e6e08a0f0d3ad09e599a4f17edc010d38e4ec8/TrueColour.md  

EDIT1:

I have managed to get some, possibly useful, debug info using:

strace -t -f file-roller truecolor.zip 2> fileroller-open-zip-strace

As it is rather lengthy, it won't fit into Pastebin, so I have compressed it, SHA-256 hash follows:

4f09bc1f16c0e618cfd6937946db23a18be8e5e1fb1b8d4930ead49af5e77abb

You may download it from my hosting:

https://www.vlastimilburian.cz/fileroller-open-zip-strace.bz2

The above file has been deleted.

If someone knows what to look for in the strace's output, I am sure he / she would find the relevant part, but I sadly don't know what to look for.

EDIT2:

Latest available version on GitHub, compiled:

./file-roller --version
file-roller 3.22.2, Copyright © 2001-2012 Free Software Foundation, Inc.

run from terminal:

./file-roller ~/Downloads/truecolor.zip

shows the very same error message:

An error occurred while loading the archive.

Best Answer

I had to self-compile the p7zip package, now everything works as usual.

I tried purging p7zip-full and installing it back, but that didn't do anything, I still wonder why. Nevermind, solution was to build the package myself, I should have done that long time ago.

Related Question