GNOME Bugzilla – Bug 488648
evince 2.20.1 can't open some specific CBZ files
Last modified: 2013-02-16 21:49:42 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...
Yes, we need proper escaping
*** Bug 509968 has been marked as a duplicate of this bug. ***
*** Bug 514075 has been marked as a duplicate of this bug. ***
*** Bug 514074 has been marked as a duplicate of this bug. ***
*** Bug 527690 has been marked as a duplicate of this bug. ***
*** Bug 531886 has been marked as a duplicate of this bug. ***
*** Bug 531883 has been marked as a duplicate of this bug. ***
*** Bug 582212 has been marked as a duplicate of this bug. ***
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.