PML Errors

error in line 0: Traceback (innermost last):
  File "/home/gerardi/Desktop/work/pisa/sx/pisa2/pml.py", line 365, in __init__
  File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py", line 1036, in build
    self.handle_flowable(flowables)
  File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py", line 892, in handle_flowable
    if frame.add(f, canv, trySplit=self.allowSplitting):
  File "/usr/lib/python2.7/dist-packages/reportlab/platypus/frames.py", line 167, in _add
    w, h = flowable.wrap(aW, h)
  File "/usr/lib/python2.7/dist-packages/reportlab/platypus/para.py", line 1272, in wrap
    laststate, heightused) = p.format(availableWidth, availableHeight, program, leading)
  File "/usr/lib/python2.7/dist-packages/reportlab/platypus/para.py", line 158, in format
    usedIndent, maxLength, justStrings) = self.fitLine(remainder, maxwidth)
  File "/usr/lib/python2.7/dist-packages/reportlab/platypus/para.py", line 452, in fitLine
    raise ValueError("op must be string, float, instance, or tuple "+repr(opcode))
 ValueError: op must be string, float, instance, or tuple u'spirito '

PML Sourcecode

        
                
        








<document author="spirito gmbh" format="a4">

    

    <fontembed
        afm="/pdft/DINLt___.afm"
        pfb="/pdft/DINLt___.pfb"
        name="DIN-Light">
    <fontembed
        afm="/pdft/DINMd___.afm"
        pfb="/pdft/DINMd___.pfb"
        name="DIN-Medium">

    <style type="text/css">
    <!--

        .default {
            font-family: DIN-Light;
        }

        p {
            font-family: DIN-Light;
        }

        li {
            font-family: DIN-Light;
        }

        ul {
            font-family: DIN-Light;
        }

        div {
            font-family: DIN-Light;
        }

        strong {
            font-family: DIN-Medium;
        }

        h1 {
            font-family: DIN-Medium;
            font-size: 16px;
            margin-top: 8px;
            margin-bottom: 8px;
        }

        h2 {
            font-family: DIN-Medium;
            font-size: 13px;
            margin-top: 8px;
            margin-bottom: 8px;
        }

        a {
            font-family: DIN-Light;
            color: #FF9900;
        }

        .bottom {
            font-family: DIN-Light;
            font-size: 8px;
            color: #555555;
        }

    -->
    </style>

    <template background="/pdft/meta03.pdf">

        <frame box="2,5cm 6,8cm 15cm -4cm" border=0>

        <static box="15cm -1,5cm -2,5cm 5cm">
            <p align="right" class="bottom">
            Seite <pagenumber example="0">
        </static>

        <static box="2,5cm -1,5cm -1cm 5cm">
            <p class="bottom">
                spirito GmbH
                    + Otawistr 19
                    + 47249 Duisburg
                    + Tel: 0203 / 318 77 77
                    + team@spirito.de
                    + www.spirito.de
                <br>
                    Diese Seite wurde automatisch am 29.03.2024
                    mit unserem Produkt "pisa" generiert.
                    http://pisa.by.spirito.de
        </static>

    </template>

    <div id="crumb">
        
<a href="http://www.spirito.de/index.html">spirito</a> / <a href="http://www.spirito.de/pwelba/index.html?idd=10">Produkte</a> / <a href="http://www.spirito.de/pwelba/index.html?idd=24">luca</a> / <a href="http://www.spirito.de/pwelba/index.html?idd=25">Module</a> / <a href="http://www.spirito.de/pwelba/index.html?idd=92">«Website»</a>

    </div>

    
<!-- #BeginEditable "output" -->

<h1>Modul «Website» - Das Mini-CMS</h1>
Einfacher Editor, mit dem CMS-Administratoren neue Seiten in einer Baumstruktur anlegen können und CMS-Redakteure die Inhalte editieren und verändern können. Zu jedem Ast in der Baumstruktur kann eine Vorschau aktiviert werden. Als Standard wird ein sehr einfaches Design ausgeliefert, das dann durch die Veränderung der Cascading Stylesheets (CSS) angepaßt werden kann. Die Erstellung einer neuen Designvorlage (Template) zur Umsetzung aller CI- und CD-Richtlinien wird nach Aufwand berechnet. Optional bieten wir auch eine Inhouse-Schulung zur Erstellung und Einbindung neuer Templates an.</P>
<p><img src="http://www.spirito.de/data/website_1.jpg" alt="luca Modul Website" title="luca Modul Website" border="0"  class="spirito-image spirito-image-popup"  ></P>
<p>Das Modul «Website» nennen wir Mini-CMS, weil es - im Gegensatz zu unserer Lösung <a href="http://www.spirito.de/pwelba/index.html?idd=20&amp;sid=luca">elba</A> - nur die einfachsten und rudimentären Funktionen eines Web Content Management Systems (WCMS) erfüllt. Der wichtigste Unterschied besteht darin, dass hier&nbsp;nicht zwischen verschiedenen Stati einer Seite (in Arbeit, zur Freigabe, freigegeben, Online, Archiv, Papierkorb) und auch nicht zwischen verschiedenen Rollen der Redaktion (Texteingabe, Bildeingabe und -bearbeitung, themenbezogene Freigabe, Endredaktion, Administration etc.) unterschieden wird. Da viele Websites aber ohnehin von einer (oder zwei bis drei) Person&nbsp;(Personen) gepflegt werden, reicht dieses Mini-CMS oftmals aus.</P>
<p><a href="http://www.spirito.de/pwelba/index.html?idd=91&amp;sid=luca">«vorheriges Modul </A>|&nbsp;<a href="http://www.spirito.de/pwelba/index.html?idd=93&amp;sid=luca">nächstes Modul»</A>
<!-- #EndEditable --> 


</document>