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 488648 - evince 2.20.1 can't open some specific CBZ files
evince 2.20.1 can't open some specific CBZ files
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: backends
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 509968 514074 514075 527690 531883 531886 582212 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-20 15:41 UTC by Giacomo Perale
Modified: 2013-02-16 21:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Giacomo Perale 2007-10-20 15:41:19 UTC
Evince 2.20.1 can't open some specific CBZ files. I tried to find a common pattern among the cbz files who keeps working as they worked with the previous releases and the ones that evince can't open anymore but I couldn't identify anything.
IMHO it's some kind of bad escaping of "strange" characters in the files contained in the archive. I couldn't get a proper backtrace but running evince in console gives this output ([A-Z,a-z] substituted by [X,x] for obvious reasons):

** (evince:29322): WARNING **: Error Text ended before matching quote was found for '. (The text was 'unzip -p -C -- '/path/to/file/xx/Xx.04.cbz' '155 - Xx 004 '\'[2005'\'] (xxxxxxxxx-XXX)/Xx 004 xxxxx-x '\'[2005'\'] (xxxxxxxxx-XXX).jpg'')

(evince:29322): GLib-CRITICAL **: g_spawn_async_with_pipes: assertion `argv != NULL' failed

** (evince:29322): CRITICAL **: comics_document_get_page_size: assertion `success == TRUE' failed

** (evince:29322): WARNING **: Error Text ended before matching quote was found for '. (The text was 'unzip -p -C -- '/path/to/file/xx/Xx.04.xxx' '155 - Xx 004 '\'[2005'\'] (xxxxxxxxx-XXX)/Xx 004 xxxxx-x '\'[2005'\'] (xxxxxxxxx-XXX).jpg'')

(evince:29322): GLib-CRITICAL **: g_spawn_async_with_pipes: assertion `argv != NULL' failed

** (evince:29322): CRITICAL **: comics_document_get_page_size: assertion `success == TRUE' failed



apparently evince cycles from the first to the last jpg in the archive, then aborts with:

** ERROR **: file ev-page-cache.c: line 407 (ev_page_cache_new): assertion failed: (page_cache->uniform_width > 0 && page_cache->uniform_height > 0)
aborting...
Comment 1 Nickolay V. Shmyrev 2007-10-25 03:42:12 UTC
Yes, we need proper escaping
Comment 2 André Klapper 2008-01-17 01:04:08 UTC
*** Bug 509968 has been marked as a duplicate of this bug. ***
Comment 3 Gianluca Borello 2008-02-04 10:32:16 UTC
*** Bug 514075 has been marked as a duplicate of this bug. ***
Comment 4 Gianluca Borello 2008-02-04 10:32:23 UTC
*** Bug 514074 has been marked as a duplicate of this bug. ***
Comment 5 Gianluca Borello 2008-04-12 14:20:44 UTC
*** Bug 527690 has been marked as a duplicate of this bug. ***
Comment 6 Gianluca Borello 2008-05-07 15:27:12 UTC
*** Bug 531886 has been marked as a duplicate of this bug. ***
Comment 7 Gianluca Borello 2008-05-07 15:27:25 UTC
*** Bug 531883 has been marked as a duplicate of this bug. ***
Comment 8 palfrey 2009-05-13 17:12:50 UTC
*** Bug 582212 has been marked as a duplicate of this bug. ***
Comment 9 Germán Poo-Caamaño 2013-02-16 21:49:42 UTC
The quotation problem seems to be fixed in http://git.gnome.org/browse/evince/commit/?id=b47844

Please, feel free to re-open this bug if you still can reproduce the problem and attach (or point to) a test case.