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/meta05.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 26.04.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=100">Referenzen</a> / <a href="http://www.spirito.de/pwelba/index.html?idd=107">Townpictures.com</a>

    </div>

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

<h1>Townpictures.com</h1>
<h2><img src="http://www.spirito.de/data/townpictures.jpg" alt="Screenshot Townpictures.com" title="" border="0"  class="spirito-image spirito-image-popup"  ><br></h2>

<p><a href="http://www.townpictures.com" target="_blank" title="Zur Website Townpictures.com">www.townpictures.com</a></p>
<p>Zusammen mit <a href="http://www.manx.de/" target="_blank" title="">Manx Design</a> (Essen) haben wir für den Kunden eine Community-Website entwickelt, auf der Fotos zu bestimmten Geo-Positionen verwaltet werden. Am besten beschreibt die Einführung auf der Website, welche Intention dieses Projekt verfolgt:<br></p><blockquote><p><em>"Wissen wie es woanders aussieht? Wie sieht die Strasse aus, wo ich als Kind gewohnt habe? Wo gibt es hier einen guten Italiener? Wie weit ist es zum Strand? Wer seinen Stadtteil neu erleben will, sollte sich in Townpictures.com umsehen und seine Fotos mit anderen teilen!"</em>&nbsp;</p></blockquote><p>Wir haben neueste <a href="http://www.spirito.de/../index._aWRkPTEwNg_.html" target="_top" title="">AJAX Technologien</a> verwendet, um die Website gut bedienbar zu machen. Außerdem genügt das Design höchsten Ansprüchen, wie wir es von unserem Projektpartner <a href="http://www.manx.de/" target="_blank" title="">Manx Design</a> gewöhnt sind.
</p>
<h3>Schlaglichter und Features <br></h3>
<ul><li>Nutzung neuester <a href="http://www.spirito.de/pwelba/index._aWRkPTEwNg_.html" target="_top" title="">AJAX Technologien</a> zur Optimierung
der Bedienung der Website<br></li><li> 
Nutzung und Entwicklung von geographischen Funktionen zur Ortsbestimmung</li><li>Automatische serverseitige Bildverarbeitung<br></li><li>Mehrsprachiger Internetauftritt 
&nbsp;&nbsp;&nbsp;&nbsp;</li></ul><h3>Umsetzungspartner&nbsp;&nbsp;&nbsp;&nbsp;</h3>

<p><a href="http://www.manx.de/" target="_blank" title="Manx">Manx Kommunikationsdesign</a>, Essen
<!-- #EndEditable --> 


</document>