Mod_python error: "PythonHandler ContentGenerator"

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/usr/local/pie/ContentGenerator.py", line 197, in handler
    o=c.executeChildren(headNode)

  File "/usr/local/pie/ContentExecutor.py", line 52, in executeChildren
    outv.append(self.executeNode(a))

  File "/usr/local/pie/ContentExecutor.py", line 138, in executeNode
    opc=fptr(pc)

  File "/var/www/netmls/netMLS.py", line 1536, in tsInclude
    data=ATfuncs.PMLS(pc.vars, pc.getContentExecutor().executeChildren(headNode))

  File "/usr/local/pie/ContentExecutor.py", line 52, in executeChildren
    outv.append(self.executeNode(a))

  File "/usr/local/pie/ContentExecutor.py", line 221, in executeNode
    eval(co,vars);

  File "db(trend_office_features.xml)", line 5, in ?

AttributeError: 'int' object has no attribute 'keys'