Public bug reported: This is not a dupe of #1191692.
Generating a simple pdf with python and reportlab I get always the same warning opening in evince: EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion 'EV_IS_DOCUMENT (document)' failed The document has only 1 page, so if evince cannot properly get the number of pages with ev_document_get_n_pages, this should be a valid bug or remove the warning and report 0 pages instead. I think that the macro EV_IS_DOCUMENT is failing in some point for detect the document mode or it is not supported. If that macro fails, should report why is not considered a valid document. I attach a fully example python 2.7 script file for reproduce the problem with reportlab, and the pdf file generated for reproduce the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: evince 3.10.0-0ubuntu2 ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3 Uname: Linux 3.8.0-13-generic i686 NonfreeKernelModules: fglrx ApportVersion: 2.12.6-0ubuntu1 Architecture: i386 Date: Fri Nov 1 18:25:26 2013 InstallationDate: Installed on 2013-02-03 (271 days ago) InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) MarkForUpload: True SourcePackage: evince UpgradeStatus: Upgraded to trusty on 2013-10-31 (1 days ago) ** Affects: evince (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 trusty ** Attachment added: "evince_n_pages.py script for reproduce and generate a buggy pdf for evince" https://bugs.launchpad.net/bugs/1247208/+attachment/3897931/+files/evince_n_pages.py -- 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/1247208 Title: EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion 'EV_IS_DOCUMENT (document)' failed Status in “evince” package in Ubuntu: New Bug description: This is not a dupe of #1191692. Generating a simple pdf with python and reportlab I get always the same warning opening in evince: EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion 'EV_IS_DOCUMENT (document)' failed The document has only 1 page, so if evince cannot properly get the number of pages with ev_document_get_n_pages, this should be a valid bug or remove the warning and report 0 pages instead. I think that the macro EV_IS_DOCUMENT is failing in some point for detect the document mode or it is not supported. If that macro fails, should report why is not considered a valid document. I attach a fully example python 2.7 script file for reproduce the problem with reportlab, and the pdf file generated for reproduce the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: evince 3.10.0-0ubuntu2 ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3 Uname: Linux 3.8.0-13-generic i686 NonfreeKernelModules: fglrx ApportVersion: 2.12.6-0ubuntu1 Architecture: i386 Date: Fri Nov 1 18:25:26 2013 InstallationDate: Installed on 2013-02-03 (271 days ago) InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) MarkForUpload: True SourcePackage: evince UpgradeStatus: Upgraded to trusty on 2013-10-31 (1 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1247208/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp