PML Errors

error in line 140: Traceback (innermost last):
  File "/home/gerardi/Desktop/work/pisa/sx/pisa2/pml.py", line 613, in handle_starttag
  File "/home/gerardi/work/dado2/spirito/dado/file.py", line 127, in LocateSiteFile
 TypeError: cannot concatenate 'str' and 'NoneType' objects

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 22.11.2017
                    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=17">Kontakt</a>

    </div>

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


<h1>Kontakt</h1>

<p ><strong>spirito GmbH</strong><br>Großenbaumer Allee 342<br>47249 Duisburg <p></p>

<p>Telefon: 0203 / 318 77 77<br>Fax: 0203 / 34 66 68 96<br>Email: <a 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;">team<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;">spirito.de</a> </p>

<h2>Ihr Kontaktformular für Anfragen an uns</h2>

<form action="index.html" method="post"><input type="hidden" name="idd" value="17"><input type="hidden" name="sent" value="1">
<div id="dadoform">
<p>E-mail : <input name="vae-mail" ></p>
<hr noshade width="100%" size="2" color="#FFFFFF">

<p>Name : <input name="vaname" ></p>
<hr noshade width="100%" size="2" color="#FFFFFF">

<p>Unternehmen : <input name="vaunternehmen" ></p>
<hr noshade width="100%" size="2" color="#FFFFFF">
<br>
<textarea name="message"  >
</textarea><br>

<p class="captcha">
    _(Bitte geben Sie die Zahlen aus dem Bild ein.)_<br />
    <input type="text" class="nr required" id="captcha" name="captcha">
    
    <img src="/_dado/img/spirito-captcha.dado.png?_=SpWjD_bORxA9dEkeL7u5GzUnSzo&timestamp=20171122190655">
</p>
<input type="submit" id="submit" value="">
</div></form></p><br>

<!-- #EndEditable --> 


</document>