Package: rst2pdf
Version: 0.14.2-1
Severity: normal
Tags: upstream patch

hi,
if run with an empty file then canceled, rst2pdf backtraces.
09:53:09 kgo...@epicfail: ~/Documents/cv-kgoetz $ rst2pdf 
^CTraceback (most recent call last):
  File "/usr/bin/rst2pdf", line 9, in <module>
    load_entry_point('rst2pdf==0.14.2', 'console_scripts', 'rst2pdf')()
  File "/usr/lib/pymodules/python2.6/rst2pdf/createpdf.py", line 1215, in main
    ).createPdf(text=options.infile.read(),
KeyboardInterrupt

I've just noticed there is a patch in ubuntu for this error[1], perhaps it 
could be applied in debian too.

[1] Its in http://patches.ubuntu.com/r/rst2pdf/rst2pdf_0.14.2-1ubuntu1.patch
thanks,
kk
-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rst2pdf depends on:
ii  python                  2.6.6-3+squeeze4 interactive high-level object-orie
ii  python-docutils         0.7-2            utilities for the documentation of
ii  python-pkg-resources    0.6.14-4         Package Discovery and Resource Acc
ii  python-pygments         1.3.1+dfsg-1     syntax highlighting package writte
ii  python-reportlab        2.4-4            ReportLab library to create PDF do
ii  python-setuptools       0.6.14-4         Python Distutils Enhancements (set
ii  python-simplejson       2.1.1-1          simple, fast, extensible JSON enco
ii  python-support          1.0.10           automated rebuilding support for P

rst2pdf recommends no packages.

Versions of packages rst2pdf suggests:
pn  python-aafigure               <none>     (no description available)
ii  python-imaging                1.1.7-2    Python Imaging Library
pn  python-matplotlib             <none>     (no description available)
ii  python-sphinx                 0.6.6-3    tool for producing documentation f
pn  python-uniconvertor           <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to