Nuxeo mailing list archives
[CPS-devel] History problem when copying a document
Alexandre Bulté
alexandre at bulte.net
Tue Aug 29 19:15:42 CEST 2006
Hi everybody,
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060829/c29263e5/attachment.htm
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.