Package: python-pdftools Version: 0.35-1 Severity: important --- Please enter the report below this line. ---
I have tried the example commands given in the module's documentation in an interactive ipython session. Here's the command history and the error message. [EMAIL PROTECTED]:~/code/aria$ ipython Python 2.4.4 (#2, Mar 3 2008, 01:16:37) Type "copyright", "credits" or "license" for more information. IPython 0.8.2 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]: from pdftools.pdffile import PDFDocument In [2]: file = "Tabulato.pdf" In [3]: doc = PDFDocument(file) In [4]: print "Document uses PDF format version", doc.document_version() Document uses PDF format version 1.2 In [5]: pages = doc.count_pages() In [6]: print "Document contains %i pages." % pages Document contains 2 pages. In [7]: page1 = doc.read_page(1) In [8]: contents1 = page1.read_contents() ASSERT failure in QFontDatabase: "A QApplication object needs to be constructed before FontConfig is used.", file text/qfontdatabase_x11.cpp, line 996 Abortito [EMAIL PROTECTED]:~/code/aria$ You can get the same file here: http://www2.provincia.genova.it/datiaria/Tabulato.pdf Best, Steko --- System information. --- Architecture: i386 Kernel: Linux 2.6.24-1-686 Debian Release: lenny/sid 500 unstable ftp.it.debian.org 500 testing www.debian-multimedia.org 500 testing security.eu.debian.org 500 testing ftp.it.debian.org 500 testing debian.gfoss.it --- Package information. --- Depends (Version) | Installed =============================-+-=========== python | 2.4.4-6 python-central (>= 0.5.8) | 0.5.15-0.1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

