desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #34343
[Bug 669803] Re: exit code zero on failure
[Expired for evince (Ubuntu) because there has been no activity for 60
days.]
** Changed in: evince (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/669803
Title:
exit code zero on failure
Status in “evince” package in Ubuntu:
Expired
Bug description:
Binary package hint: evince
Evince reports success (exit code 0) even when it cannot display a
broken PDF file.
$ evince /usr/lib/R/site-library/Zelig/doc/static/intro.pdf
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
desk:~$ echo $?
0
$
Evince gives a big red banner saying "- Unable to open document PDF document is damaged" but still reports success,
so that code like
for n in *.pdf
do
evince $n || echo $n
done
does not work as expected.
(Incidentally, that file is part of the r-cran-zelig package -- it appears to be truncated.)
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: evince 2.32.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Nov 2 07:36:11 2010
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
KernLog:
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: evince
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/669803/+subscriptions