Hallo Leute ,
ich hab hier ein mittelschweres Problem... eigentlich eine einfache Abfrage, so denke ich jedenfalls. Ich bekomme aber immer den gleichen Fehler:
Fehlertyp
RuntimeError
Fehlerwert
maximum recursion depth exceeded
Anfrage erfolgte um
2007/01/07 21:36:27.333 GMT+1
Hier mal das Skript:
HTML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
metal:use-macro="here/main_template/macros/master"
i18n:domain="plone">
<body>
<div metal:fill-slot="main">
<tal:main-macro metal:define-macro="main"
tal:omit-tag="">
<div metal:use-macro="here/document_actions/macros/document_actions">
Document actions (print, sendto etc)
</div>
<h1 i18n:translate="The team in alphabetical order">The team in alphabtical order</h1>
<div tal:define="results python:here.portal_catalog(portal_type = 'Mitarbeiter',
review_state = 'published',
sort_order='forward');
Batch python:modules['Products.CMFPlone'].Batch;
b_start python:request.get('b_start',0);">
<form name="searchresults" action="" method="post" tal:condition="results"
tal:define="batch python:Batch(results, 15, int(b_start), orphan=1)">
<tal:loop repeat="result batch">
<div tal:define="oddrow repeat/result/odd"
tal:attributes="class python:test(oddrow, 'portletContent even', 'portletContent odd')">
<img tal:attributes="src python:result.getURL()+'/portrait_thumb';
alt result/Description;
title python: result.Title" />
<a tal:attributes="href result/getURL;
alt result/Description;
title result/Title">
<h3 tal:content="structure python: result.getAcademictitle+' '+result.getVorname+' '+result.getNachname">Vorname Nachname</h3>
</a>
<div tal:content="structure result/getFunktion">
Funktion
</div>
<div tal:content="structure python: 'Tel: '+result.getTelefonintern">
Telefonintern
</div>
<div tal:content="structure python: here.spamProtect(result.getEmail)">
Email
</div>
</div>
</tal:loop>
<div metal:use-macro="here/batch_macros/macros/navigation" />
</form>
</div>
<div class="visualClear"></div>
<div metal:use-macro="here/document_relateditems/macros/relatedItems">
show related items if they exist
</div>
</tal:main-macro>
</div>
</body>
</html>
Alles anzeigen
Der Traceback-Auszug:
Code
File "C:\Server\Zope-Instance\Products\Archetypes\BaseFolder.py", line 67, in view
return self()
File "C:\Server\Zope-Instance\Products\Archetypes\BaseFolder.py", line 61, in __call__
return method()
File "C:\Server\Zope-Instance\Products\Archetypes\BaseFolder.py", line 67, in view
return self()
File "C:\Server\Zope-Instance\Products\Archetypes\BaseFolder.py", line 61, in __call__
return method()
File "C:\Server\Zope-Instance\Products\Archetypes\BaseFolder.py", line 67, in view
return self()
File "C:\Server\Zope-Instance\Products\Archetypes\BaseFolder.py", line 57, in __call__
method = _getViewFor(self)
File "C:\Server\Zope-Instance\Products\CMFCore\utils.py", line 200, in _getViewFor
target = action.action(context).strip()
File "C:\Server\Zope-Instance\Products\CMFCore\Expression.py", line 44, in __call__
res = compiled(econtext)
File "C:\Server\Zope-2.8.6-final\lib\python\Products\PageTemplates\Expressions.py", line 224, in __call__
v = var(econtext)
File "C:\Server\Zope-2.8.6-final\lib\python\Products\PageTemplates\Expressions.py", line 185, in __call__
return self._eval(econtext)
RuntimeError: maximum recursion depth exceeded
Alles anzeigen
lg
michi