[Zope] <dtml-tree> from multiple SQL tables

Dieter Maurer dieter at handshake.de
Mon Nov 24 13:10:20 EST 2003


Will Stephenson wrote at 2003-11-24 08:27 +0000:
 > ...

 > I get a "Error Type: TypeError
 > >  > Error Value: object of type 'long int' is not callable" error.

 > ...

 > tpRenderTABLE calls itself recursively and then dies atTreeDisplay.TreeTag, 
 > line 442:
 > 
 > if not simple_type(type(id)): id=id()
 > 
 > reading up, __traceback_info__=sub, args, state, substate, so the value of id 
 > at this point is 'objectid' - which according to my queries is an int.  
 > 
 > Why does this simple_type(...) function return false?

"simple_type" forgets to handle "long int" as simple.
Please file a bug report to "<http://www.zope.org/Collectors/Zope>".

-- 
Dieter



More information about the Zope mailing list