src/reportlab/platypus/doctemplate.py
changeset 3484 9c12031155ba
parent 3456 3143bbebbefe
child 3519 eae7f1448301
--- a/src/reportlab/platypus/doctemplate.py	Tue Jan 25 12:26:10 2011 +0000
+++ b/src/reportlab/platypus/doctemplate.py	Tue Jan 25 16:42:55 2011 +0000
@@ -773,9 +773,9 @@
                 else:
                     n = 0
                 if n:
-                    if not isinstance(S[0],(PageBreak,SlowPageBreak,ActionFlowable)):
+                    if not isinstance(S[0],(PageBreak,SlowPageBreak,ActionFlowable,LIIndenter)):
                         if not frame.add(S[0], canv, trySplit=0):
-                            ident = "Splitting error(n==%d) on page %d in\n%s" % (n,self.page,self._fIdent(f,60,frame))
+                            ident = "Splitting error(n==%d) on page %d in\n%s\nS[0]=%s" % (n,self.page,self._fIdent(f,60,frame),self._fIdent(S[0],60,frame))
                             #leave to keep apart from the raise
                             raise LayoutError(ident)
                         self._curPageFlowableCount += 1