Public bug reported: 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 ** Affects: evince (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug maverick -- exit code zero on failure https://bugs.launchpad.net/bugs/669803 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs