In case it helps: I get this with Zope 2.8.1 at DT_In.py line 783 when doing < dtml-in results sort=lastEditTime ... >. It worked with Zope 2.7. The list s at that point looks like:
(Pdb) for i in U: print i
(DateTime('2004/10/29 13:09:28 GMT-7'), <Products.ZCatalog.Catalog.mybrains object at 0x423acbe4>)
(DateTime('2004/11/18 12:36:56 US/Pacific'), <Products.ZCatalog.Catalog.mybrains object at 0x423acb44>)
...
I get the same error when comparing two of these brains, eg:
(Pdb) b1 < b2
*** TypeError: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a 'ImplicitAcquirerWrapper'
In case it helps: I get this with Zope 2.8.1 at DT_In.py line 783 when doing < dtml-in results sort=lastEditTime ... >. It worked with Zope 2.7. The list s at that point looks like:
(Pdb) for i in U: print i '2004/10/ 29 13:09:28 GMT-7'), <Products. ZCatalog. Catalog. mybrains object at 0x423acbe4>) '2004/11/ 18 12:36:56 US/Pacific'), <Products. ZCatalog. Catalog. mybrains object at 0x423acb44>)
(DateTime(
(DateTime(
...
I get the same error when comparing two of these brains, eg:
(Pdb) b1 < b2 __cmp__ (x,y) requires y to be a 'mybrains', not a 'ImplicitAcquir erWrapper'
*** TypeError: mybrains.