On 2014-02-09 at 22:05:46 +0100, Andreas Moog wrote:
> Looks the same as #738404 to me.
It does, and in the meanwhile I've managed to reproduce it by
using a chroot where recommends are not installed, and in particular
python-reportlab-accel is missing:
Versions of packages python-reportlab depends on:
ii python 2.7.5-5
Versions of packages python-reportlab recommends:
pn python-pil <none>
pn python-renderpm <none>
pn python-reportlab-accel <none>
Versions of packages python-reportlab suggests:
pn pdf-viewer <none>
pn python-egenix-mxtexttools <none>
pn python-reportlab-doc <none>
In this case, it is enough to import reportlab.lib.colors
in the python interpreter to get this issue:
>>> import reportlab.lib.colors
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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'
I believe that adding python-reportlab-accel as a depends instead of
recommends solves this problem.
--
Elena ``of Valhalla''
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]