[CPS-devel] Zasync TextIndexNG error

Julien Anguenot ja at nuxeo.com
Wed Sep 6 03:16:25 CEST 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060906/9cb461c9/signature-0001.pgp


More information about the cps-devel mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.