On Mar 20, 2006, at 6:51 PM, Thierry FLORAC wrote:
On Mon, 2006-03-20 at 17:37 -0500, Gary Poster wrote:
On Mar 20, 2006, at 5:14 PM, Thierry FLORAC wrote:
But I'm just trying to use a "simple" (not subclassed) SetIndex, and
then to access my catalog "Advanced" management page...!
I don't build any specific template for this.
Should I build any specific SetIndex subclass ? Or define a specific
Modification is OK (at first, see below) for the first indexes, but an
error is raised while starting Zope for the DateTime indexes, because
"class" attribute points to a method name :
exceptions.TypeError: type_ must be a type, class or
a <function DateTimeValueIndex at 0xb672510c> in:
Ah yes, my recommendation was made too quickly. The last two should
not have been there. This third stanza would do the trick.
I made this change in svn.
After removing this modification for the two last indexes, I can
catalog's "advanced" management screen without error, but
not really fine : on a SetIndex for example, "Document Count" and
Count" columns are displayed as "<security proxied
instance at 0xb4dc052c>" instead of their numeric values...
Right, then it needed a declaration for
BTrees.Length.Length.__call__. This is in svn now too.
Try getting rid of your changes and getting the new version from
svn. It should do what you want.
Zope3-users mailing list