Bonjour la liste,

Quelqu'un a-t-il pour résoudre ce pb de réindexation qui se pose depuis longtemps (depuis le démarrage du site) mais devient génant depuis 2 jours : Auparavant la réindexation quotidienne des documents, lancée la nuit durait env 10 mn avec une dizaine d'erreur dans le event.log. Depuis Le 11/10 elle dure plus de 12h00 et génère plusieurs centaines d'erreurs ds le event.log.

Le 11 Octobre, qques documents word ont été ajoutés et ont "plantés" comme cela arrive parfois : apparemment le filtre WVware tourne pendant longtemps pour créé les .txt et n'arrive pas à terminer la traduction.

Depuis l'event.log reporte de très nombreuses erreurs (plusieurs centaines)de trois types différents et apparemment pas uniquement sur les documents ajoutés le 11 Octobre:

Soit :
------
2006-10-12T03:18:25 PROBLEM(100) FilteredSet eval() failed
Object: calendar, expr: getattr(o, 'portal_type', None) not in ('Section', 'Workspace')
Traceback (most recent call last):
File "/home/zope/Zope-2.7.6-final/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py", line 73, in index_object
    if RestrictionCapableEval(self.expr).eval({'o': o}):
File "/home/zope/Zope-2.7.6-final/lib/python/RestrictedPython/Eval.py", line 112, in eval
    return eval(code, d)
  File "<string>", line 1, in <expression>
Unauthorized: You are not allowed to access 'portal_type' in this context
------
2006-10-12T03:19:02 PROBLEM(100) FilteredSet eval() failed
Object: 11211609636587-11211574186431, expr: getattr(o, 'portal_type', None) not in ('Section', 'Workspace')
Traceback (most recent call last):
File "/home/zope/Zope-2.7.6-final/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py", line 73, in index_object
    if RestrictionCapableEval(self.expr).eval({'o': o}):
File "/home/zope/Zope-2.7.6-final/lib/python/RestrictedPython/Eval.py", line 112, in eval
    return eval(code, d)
  File "<string>", line 1, in <expression>
Unauthorized: You are not allowed to access 'portal_type' in this context
------
2006-10-12T03:19:02 PROBLEM(100) FilteredSet eval() failed
Object: 11211609636587-11211574186431, expr: getattr(o, 'portal_type', None) not in ('Section', 'Workspace')
Traceback (most recent call last):
File "/home/zope/Zope-2.7.6-final/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py", line 73, in index_object
    if RestrictionCapableEval(self.expr).eval({'o': o}):
File "/home/zope/Zope-2.7.6-final/lib/python/RestrictedPython/Eval.py", line 112, in eval
    return eval(code, d)
  File "<string>", line 1, in <expression>
Unauthorized: You are not allowed to access 'portal_type' in this context
------

Soit :
2006-10-12T03:19:02 ERROR(200) textindexng cogiteau/workspaces/espaces_collaboratif/administration_du_si/11211574186431/11211609636587-11211574186431 could not be converted because no converter could be found for text/x-unknown-content-type
------
2006-10-12T03:19:04 ERROR(200) textindexng cogiteau/workspaces/espaces_collaboratif/administration_du_si/11211574186431/11211609636587-11211574186431 could not be converted because no converter could be found for text/x-unknown-content-type
------

Soit :
------
2006-10-12T03:07:25 ERROR(200) textindexng cogiteau/portal_repository/341701480__0001 could not be converted
Traceback (most recent call last):
File "/home/zope/cogiteau/Products/TextIndexNG2/TextIndexNG.py", line 326, in _index_object
    source = converter.convert(source)
File "/home/zope/cogiteau/Products/TextIndexNG2/converters/html.py", line 32, in convert
    page_width=256)
File "/home/zope/cogiteau/Products/TextIndexNG2/converters/stripogram/__init__.py", line 15, in html2text
    parser.feed(s)
  File "/usr/lib/python2.3/sgmllib.py", line 95, in feed
    self.goahead(0)
  File "/usr/lib/python2.3/sgmllib.py", line 165, in goahead
    k = self.parse_declaration(i)
  File "/usr/lib/python2.3/markupbase.py", line 89, in parse_declaration
    decltype, j = self._scan_name(j, i)
  File "/usr/lib/python2.3/markupbase.py", line 379, in _scan_name
    self.error("expected name token")
  File "/usr/lib/python2.3/sgmllib.py", line 102, in error
    raise SGMLParseError(message)
SGMLParseError: expected name token
------


Pour info : J'ai deux sites CPS 3.2.4.0 sur la même instance zope 2.7.5 final. L'indexation des champs Description, Title et Searchable Text est en TextIndexNG 2.2.0

La réindexation est lancée par cron sur les deux sites par une commande :
wget -O /dev/null -q 'http://localhost:8080/Site1/portal_catalog/manage_catalogReindex'


Merci de votre aide

Cordialement,

Christophe Otton

_______________________________________________
cps-users-fr Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à