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/meta.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=5">Topmenu</a> / <a href="http://www.spirito.de/pwelba/index.html?idd=15">Datenschutz</a>

    </div>

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

<h1>Hinweise zum Datenschutz</h1>
Mit Ihrem Zugriff auf unsere Web-Site werden mögliche Identifizierungsdaten (IP-Adresse) und weitere Angaben (Datum, Uhrzeit, betrachtete Seite) auf unserem Server für statistische Zwecke automatisch gespeichert. Die Auswertung der Daten erfolgt in anonymisierter Form.<p></p>
<p>Wenn Sie uns eine E-Mail senden, so wird Ihre E-Mail-Adresse nur für die Korrespondenz mit Ihnen verwendet. Ihre personenbezogenen Daten werden nicht weitergegeben und für keine anderen Zwecke als die oben genannten verwendet. Sämtliche in Kontaktformularen verwendeten Angaben sind freiwillig und werden nur in dem dort genannten Kontext verwendet.&nbsp;</p>
<p>Wir verwenden keine Cookies.</p>
<p>Sollten Sie noch Fragen zum Datenschutz haben, so wenden Sie sich bitte an: <a dado-local="false" href="javascript:team @ spirito . de" onclick="if(this.href.indexOf('mailto:')&lt;0) this.href = this.href.replace(/^javascript\:/gi, 'mailto:').replace(/\ /gi, '').replace(/\%20/gi, ''); return true;" title="">team at spirito.de</a></p>
<p>Darüberhinaus steht Ihnen die Landesbeauftragte für den Datenschutz Nordrhein-Westfalen als Ansprechpartnerin zur Verfügung:</p><p>Bettina Sokol<br>Reichsstr. 43, 40217 Düsseldorf<br>Postfach 20 04 44, 40102 Düsseldorf<br>E-Mail: <a href="javascript:datenschutz @ mail . lfd . nrw . de" onclick="if(this.href.indexOf('mailto:')&lt;0) this.href = this.href.replace(/^javascript\:/gi, 'mailto:').replace(/\ /gi, '').replace(/\%20/gi, ''); return true;">datenschutz<img alt="&nbsp;" src="/_dado/img/spirito-trp.gif" style="border:none; width: 1px; height: 1px;padding:0px;margin:0px;">@<img alt="&nbsp;" src="/_dado/img/spirito-trp.gif" style="border:none; width: 1px; height: 1px;padding:0px;margin:0px;">mail.lfd.nrw.de</a><br>Telefon: 0211 - 38 42 40
<!-- #EndEditable --> 


</document>