Package: python-reportlab
Version: 3.0~a1-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I was building my package "nuitka", and update, which works fine in
my testing environment, but fails in chroot with unstable.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I am using rst2pdf to render Developer_Manual.rst as found at
http://nuitka.net/gitweb/?p=Nuitka.git;a=blob_plain;f=README.txt;h=4c62d6a22ecad65e8bcc9d6850a52ad5b7
d57f24;hb=refs/heads/develop

as part of the package build, stack trace below.

   * What was the outcome of this action?

The following Python exception was raised:

rst2pdf README.txt
Traceback (most recent call last):
  File "/usr/bin/rst2pdf", line 9, in <module>
    load_entry_point('rst2pdf==0.93.dev', 'console_scripts', 'rst2pdf')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 353, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2302, in
load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2029, in
load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/pymodules/python2.7/rst2pdf/createpdf.py", line 45, in
<module>
    from opt_imports import psyco
  File "/usr/lib/pymodules/python2.7/rst2pdf/opt_imports.py", line 49, in
<module>
    from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
  File "/usr/lib/python2.7/dist-packages/reportlab/lib/styles.py", line 25,
in <module>
    from reportlab.lib.colors import white, black
  File "/usr/lib/python2.7/dist-packages/reportlab/lib/colors.py", line 44,
in <module>
    from reportlab.lib.rl_accel import fp_str
  File "/usr/lib/python2.7/dist-packages/reportlab/lib/rl_accel.py", line
330, in <module>
    f = _c_funcs[fn] or _py_funcs[fn]
KeyError: 'fp_str'

   * What outcome did you expect instead?

The document should render as PDF.

On my Debian testing machine, the document renders just fine.

Yours,
Kay

Reply via email to