Package: rst2pdf Version: 0.12.1-1 Severity: important Using a trivial input file for ‘rst2pdf’ causes it to emit many errors about fonts, then crash. The same happens for any other input file I try.
===== Script started on Fri 15 Jan 2010 16:03:15 EST $ cat foo.txt Hello, world! $ rst2pdf --version 0.12.1 $ rst2pdf foo.txt -o foo.pdf 2> rst2pdf.err $ ls -l foo.pdf ls: cannot access foo.pdf: No such file or directory $ cat rst2pdf.err [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Italic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Bold",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Italic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Bold",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Italic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Bold",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Italic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Bold",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Bold",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-Bold",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-BoldItalic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-BoldItalic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-BoldItalic",replacing with Helvetica [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSeBd from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] findfonts.py:222 Error registering font: VeraSe from /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf [ERROR] styles.py:388 Unknown font: "Serif-BoldItalic",replacing with Helvetica Traceback (most recent call last): File "/usr/bin/rst2pdf", line 8, in <module> load_entry_point('rst2pdf==0.12.1', 'console_scripts', 'rst2pdf')() File "/usr/lib/pymodules/python2.5/rst2pdf/createpdf.py", line 2414, in main compressed=options.compressed) File "/usr/lib/pymodules/python2.5/rst2pdf/createpdf.py", line 1825, in createPdf pdfdoc.multiBuild(elements) File "/usr/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py", line 855, in multiBuild self.build(tempStory, filename, canvasmaker) File "/usr/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py", line 803, in build self._endBuild() File "/usr/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py", line 743, in _endBuild self.handle_pageBreak() File "/usr/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py", line 489, in handle_pageBreak self.handle_pageEnd() File "/usr/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py", line 469, in handle_pageEnd self.pageTemplate.afterDrawPage(self.canv, self) File "/usr/lib/pymodules/python2.5/rst2pdf/createpdf.py", line 2132, in afterDrawPage container.drawOn(canv, hx, self.hy) File "/usr/lib/python2.5/site-packages/reportlab/platypus/flowables.py", line 742, in drawOn w, h = c.wrapOn(canv,aW,0xfffffff) AttributeError: 'str' object has no attribute 'wrapOn' $ exit Script done on Fri 15 Jan 2010 16:04:29 EST ===== -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (900, 'stable') Architecture: powerpc (ppc64) Kernel: Linux 2.6.30-2-powerpc64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rst2pdf depends on: ii python 2.5.4-5 An interactive high-level object-o ii python-docutils 0.6-2 utilities for the documentation of ii python-pkg-resources 0.6.10-1 Package Discovery and Resource Acc ii python-pygments 1.2.2+dfsg-1 syntax highlighting package writte ii python-reportlab 2.3-1 ReportLab library to create PDF do ii python-setuptools 0.6.10-1 Python Distutils Enhancements (set ii python-simplejson 2.0.9-1 Simple, fast, extensible JSON enco ii python-support 1.0.6 automated rebuilding support for P rst2pdf recommends no packages. Versions of packages rst2pdf suggests: ii python-imaging 1.1.7-1 Python Imaging Library ii python-matplotlib 0.99.1.2-2 Python based plotting system in a ii python-sphinx 0.6.3-2 tool for producing documentation f pn python-uniconvertor <none> (no description available) -- no debconf information -- \ “We are not gonna be great; we are not gonna be amazing; we are | `\ gonna be *amazingly* amazing!” —Zaphod Beeblebrox, _The | _o__) Hitch-Hiker's Guide To The Galaxy_, Douglas Adams | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: Digital signature