invalid .cbz files don't open, error message is confusing

Bug #894576 reported by Eric TF Bat on 2011-11-24

This bug report will be marked for expiration in 39 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evince
Incomplete
Undecided
Unassigned
evince (Ubuntu)
Low
Unassigned

Bug Description

Tried to open a .cbz file that works fine on a standard Ubuntu 11.10 machine. In Lubuntu I got the message "File type RAR archive (application/x-rar) is not supported". Both rar and unrar are installed, so that's obviously the Wrong Thing.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: evince 3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Nov 25 10:30:25 2011
ExecutablePath: /usr/bin/evince
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
UpgradeStatus: Upgraded to oneiric on 2011-10-22 (33 days ago)

Eric TF Bat (bat-flurf) wrote :
Pedro Villavicencio (pedro) wrote :

could you please attach that file to the report? rar compressed comic files are cbr not cbz those are zip compressed. but anyways, could you please attach an example to the report? both cbz and cbr work fine here.

Changed in evince (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Eric TF Bat (bat-flurf) wrote :

Examined the particular file further. It is a .cbr file - I misspoke when I said it was .cbz. It appears to have a corrupt header. That means the real problem is that evince is responding with the wrong error message - it's saying "I can't open this type of file" when what it really means is "I can't open this particular file". A bit like saying you don't like Australians just because you once met Rupert Murdoch.

To test this more general hypothesis, I created a text file, filled it with gibberish, and saved it as foo.cbr. I double-clicked to open it in evince, and got the same "File type RAR archive (application/x-rar) is not supported" message. So it appears that an exception is getting swallowed and something is making a faulty guess as to the reason.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in evince (Ubuntu):
status: Incomplete → New
summary: - .cbz files don't open, error message says rar archives not supported
+ invalid .cbz files don't open, error message is confusing
tags: removed: apparmor
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu since that time.

Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.

Do you still see a problem related to the one that you reported when using a currently supported version of Ubuntu? Please let us know if you do otherwise this report can be left to expire in approximately 60 days time.

Thank you for helping make Ubuntu better.

Paul White
[Ubuntu Bug Squad]

Changed in evince (Ubuntu):
status: New → Incomplete
Changed in evince:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers