Re: Zasync TextIndexNG error

Julien Anguenot <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Organization NUXEO
Message-ID <[email protected]>
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

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/iFpGhoG8MxZ/pIRAsH9AKCHFJuyIA+aNiF0nByC5GXvlgEPnwCfUm9h
sGIK+wh4mijnynwdTcMpqaE=
=a55r
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.