Alexandre Bulté wrote:
> Hi everybody,
> (sorry for the previous mail with wrong subject)
>
> I'm getting an annoying error with TextIndexNG indexes in
> zasync_event.log :
> Catalog catalogObject was passed bad index object <TextIndexNG instance at
> 463561d0>.
>
> This seems to come from Catalog.py. I have a lot of them each day.
> --------
> for name in use_indexes:
> x = self.getIndex(name)
> if hasattr(x, 'index_object'):
> blah = x.index_object(index, object, threshold)
> total = total + blah
> else:
> LOG('Catalog', ERROR, ('catalogObject was passed '
> 'bad index object %s.' % str(x)))
> ---------
>
> I used this little script to make sure none of my indexes were broke:
> ---------
> portal = context.portal_catalog
> index=portal.getIndexObjects()
> for i in index:
> if hasattr(i, 'index_object'):
> print i.index_object
> else:
> print 'none'
> return printed
> ---------
>
> 'none' is never printed, so I don't understand why the error is showing...
>
> Anybody can help?
>
> Conf is : Zope 2.7.4, CPS 3.2.4
>
Hi,
hum it's hard to say like this... Can you send out a TRACE level output
from the zasync_event.log and zasync.log (or whatever the other log file
is called) where the error is showing up ?
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
