On Sun, Oct 3, 2010 at 10:28 PM, Michael P. Soulier
<[email protected]> wrote:
> On 03/10/10 Roberto Alsina said:
>
>> Thanks to the generosity of a rst2pdf/sphinx user, I have been sponsored to
>> fix several problems related to rst2pdf and sphinx 1.0.x
>
> My doc still doesn't build.
So I ran a pip install --upgrade rst2pdf to pick up all the latest
dependencies and this situation hasn't changed.
[WARNING] image.py:475 image
/usr/home/msoulier/work/mitel-msl-tug/doc/engguide/corporate_teleworker.png
is too wide for the frame, rescaling
[ERROR] pdfbuilder.py:129 unsupported operand type(s) for +:
'NoneType' and 'int'
Traceback (most recent call last):
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/rst2pdf/pdfbuilder.py",
line 126, in write
docwriter.write(doctree, destination)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/docutils/writers/__init__.py",
line 76, in write
self.translate()
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/rst2pdf/pdfbuilder.py",
line 624, in translate
compressed=self.compressed)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/rst2pdf/createpdf.py",
line 666, in createPdf
pdfdoc.multiBuild(elements)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/doctemplate.py",
line 960, in multiBuild
self.build(tempStory, **buildKwds)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/doctemplate.py",
line 880, in build
self.handle_flowable(flowables)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/rst2pdf/createpdf.py",
line 774, in handle_flowable
if frame.add(f, canv, trySplit=self.allowSplitting):
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/rst2pdf/flowables.py",
line 555, in add
return Frame.add(self, flowable, canv, trySplit)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/frames.py",
line 159, in _add
w, h = flowable.wrap(aW, h)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/rst2pdf/flowables.py",
line 233, in wrap
return self.t.wrap(w, h)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/tables.py",
line 1113, in wrap
self._calc(availWidth, availHeight)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/tables.py",
line 587, in _calc
self._calc_height(availHeight,availWidth,W=W)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/tables.py",
line 553, in _calc_height
spanFixDim(H0,H,spanCons,lim=hmax)
File
"/usr/home/msoulier/envs/sphinx/lib/python2.7/site-packages/reportlab/platypus/tables.py",
line 205, in spanFixDim
t = sum([V[x]+M.get(x,0) for x in xrange(x0,x1)])
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
FAILED
build succeeded.
Build finished. The PDF file is in _build/pdf.
Is this a PIL issue?
Thanks,
Mike
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.