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

Thanks in advance.

--
Alexandre Bulté

"Au moment où toute notre vie, économique et culturelle, bascule sur les ordinateurs, nos gouvernants devraient se méfier davantage des multinationales qui promettent du bonheur contre des commandes."
Richard Stallman - L'Express du 27/07/06


--
Alexandre Bulté

"Au moment où toute notre vie, économique et culturelle, bascule sur les ordinateurs, nos gouvernants devraient se méfier davantage des multinationales qui promettent du bonheur contre des commandes."
Richard Stallman - L'Express du 27/07/06
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to