I am using zope 2.8.1. and am using the following dtml method to reindex
<dtml-call "Catalog.manage_catalogReindex(REQUEST, RESPONSE, URL1)">
However, midway through the reindex, I am receiving the following error message:
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module OFS.DTMLMethod, line 153, in __call__
- <DTMLMethod at /somepath/somedtmlmethod>
- Physical Path: //somepath/somedtmlmethod
I checked the zope source file here:
and found the reference to the "validate" method in line 128:
first_time_through = 0
self.__dict__['validate'] = security.DTMLValidate
first_time_through = 1
My questions are these:
a) what changes could I to the catalog to avoid this error in the future?
(I have already cleared and rebuilt our catalog using the manage_catalogFind
tab within the catalog). Are there certain object types that I should keep
out of the catalog?
Is the catalog getting too large, and maybe the reindex is taking too long
b) are there any changes to the script \lib\python\OFS\DTMLMethod.py that
I could make which would eliminate, or at least render this error message
When this key error occurs, the catalog does not index fully, and so objects
are left out of the catalog.
Thanks for your advice.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -