-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remaud Frederic wrote:
> Bonjour
> 
>  
> 
> Je tente la migration d?un CPS 3.2.1 à la dernière version nightly build
> dispo.
> 
>  
> 
> Sur un serveur de test, j?ai installé Fedora 4.0 sur lequel j?ai déplacé
> mon CPS de prod dans sa config actuelle (config Zope 2.7.3, python 2.3.4
> et CPS 3.2.1). Jusque là ca fonctionne.
> 
>  
> 
> Ensuite sur ce même serveur, j?ai installé Zope 2.8.1 avec python 2.4.1,
> j?y ai installé le dernier nightly build, j?ai supprimé le CPSBlog
> (problème avec le lxml) et j?ai pu créer un CPS default site. C?était
> pour tester si tout fonctionnait.
> 
>  
> 
> Ensuite, j?ai créé une nouvelle instance Zope 2.8.1, j?y ai installé le
> nightly build ainsi que mon produit et j?y ai copié mon Data.fs.
> Démarrage de Zope OK. Je décide de lancer le cpsupdate. Problème avec
> mon fichier getCustomDirectorySchema.py que je décide de renommer en
> .bak pour voir la suite de l?update. Là il travaille pendant près d?1
> heure (ce n?est pas une machine récente :) puis Zope  finit par planter.
> 
> Voici les dernières lignes du traceback
> 
>  
> 
>  
> 
> Unauthorized: You are not allowed to access 'portal_type' in this context
> 
> *2005-10-28 11:19:56 ERROR Zope.ZCatalog Recataloging object at
> /calypso/workspaces/members/mnougue/calendar/11170310803775-calendar failed*
> 
> Traceback (most recent call last):
> 
>   File "/opt/Zope2.8/lib/python/Products/ZCatalog/ZCatalog.py", line
> 302, in refreshCatalog
> 
>     self.catalog_object(obj, p, pghandler=pghandler)
> 
>   File "/home/zope/newCalypso/Products/CPSCore/PatchCatalogTool.py",
> line 181, in cat_catalog_object
> 
>     ZCatalog.catalog_object(self, w, uid, idxs, update_metadata, *pgharg)
> 
>   File "/opt/Zope2.8/lib/python/Products/ZCatalog/ZCatalog.py", line
> 565, in catalog_object
> 
>     update_metadata=update_metadata)
> 
>   File "/opt/Zope2.8/lib/python/Products/ZCatalog/Catalog.py", line 361,
> in catalogObject
> 
>     blah = x.index_object(index, object, threshold)
> 
>   File "/opt/Zope2.8/lib/python/Products/ZCTextIndex/ZCTextIndex.py",
> line 184, in index_object
> 
>     text = text()
> 
>   File "/home/zope/newCalypso/Products/CPSCalendar/Event.py", line 286,
> in SearchableText
> 
>     if ctool.event_fulltext_index:
> 
> AttributeError: event_fulltext_index
> 
> 2005-10-28 11:19:59 *WARNING* Zope.TopicIndex.FilteredSet eval() failed
> Object: calendar, expr: getattr(o, 'portal_type', None) not in
> ('Section', 'Workspace')
> 
> Traceback (most recent call last):
> 
>   File
> "/opt/Zope2.8/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py",
> line 82, in index_object
> 
>     if RestrictionCapableEval(self.expr).eval({'o': o}):
> 
>   File "/opt/Zope2.8/lib/python/RestrictedPython/Eval.py", line 115, in eval
> 
>     return eval(code, d)
> 
>   File "<string>", line 1, in <expression>
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
> 2005-10-28 11:20:03 WARNING Zope.TopicIndex.FilteredSet eval() failed
> Object: calendar, expr: getattr(o, 'portal_type', None) not in
> ('Section', 'Workspace')
> 
> Traceback (most recent call last):
> 
>   File
> "/opt/Zope2.8/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py",
> line 82, in index_object
> 
>     if RestrictionCapableEval(self.expr).eval({'o': o}):
> 
>   File "/opt/Zope2.8/lib/python/RestrictedPython/Eval.py", line 115, in eval
> 
>     return eval(code, d)
> 
>   File "<string>", line 1, in <expression>
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
> 2005-10-28 11:45:02 WARNING Zope.TopicIndex.FilteredSet eval() failed
> Object: calendar, expr: getattr(o, 'portal_type', None) not in
> ('Section', 'Workspace')
> 
> Traceback (most recent call last):
> 
>   File
> "/opt/Zope2.8/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py",
> line 82, in index_object
> 
>     if RestrictionCapableEval(self.expr).eval({'o': o}):
> 
>   File "/opt/Zope2.8/lib/python/RestrictedPython/Eval.py", line 115, in eval
> 
>     return eval(code, d)
> 
>   File "<string>", line 1, in <expression>
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
> [?]
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
> *WARNING Zope.TopicIndex.FilteredSet eval() failed Object: calendar,
> expr: getattr(o, 'portal_type', None) not in ('Section', 'Workspace')*
> 
> Traceback (most recent call last):
> 
>   File
> "/opt/Zope2.8/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py",
> line 82, in index_object
> 
>     if RestrictionCapableEval(self.expr).eval({'o': o}):
> 
>   File "/opt/Zope2.8/lib/python/RestrictedPython/Eval.py", line 115, in eval
> 
>     return eval(code, d)
> 
>   File "<string>", line 1, in <expression>
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
> 2005-10-28 11:47:05 WARNING Zope.TopicIndex.FilteredSet eval() failed
> Object: calendar, expr: getattr(o, 'portal_type', None) not in
> ('Section', 'Workspace')
> 
> Traceback (most recent call last):
> 
>   File
> "/opt/Zope2.8/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py",
> line 82, in index_object
> 
>     if RestrictionCapableEval(self.expr).eval({'o': o}):
> 
>   File "/opt/Zope2.8/lib/python/RestrictedPython/Eval.py", line 115, in eval
> 
>     return eval(code, d)
> 
>   File "<string>", line 1, in <expression>
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
> 2005-10-28 11:47:28 WARNING Zope.TopicIndex.FilteredSet eval() failed
> Object: calendar, expr: getattr(o, 'portal_type', None) not in
> ('Section', 'Workspace')
> 
> Traceback (most recent call last):
> 
>   File
> "/opt/Zope2.8/lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py",
> line 82, in index_object
> 
>     if RestrictionCapableEval(self.expr).eval({'o': o}):
> 
>   File "/opt/Zope2.8/lib/python/RestrictedPython/Eval.py", line 115, in eval
> 
>     return eval(code, d)
> 
>   File "<string>", line 1, in <expression>
> 
> *Unauthorized: You are not allowed to access 'portal_type' in this context*
> 
>  
> 
> Plus rien ne se passe, la ZMI n?est plus accessible et toutes mes
> instances zope sont arretées ([3]-  Erreur de segmentation)
> 
>  
> 
> C?est d?autant plus bizarre que toutes les instances zope sont arrêtées.
> Quelqu?un a une idée ?
> 

oups... seg fault ? ... argh... pas très joli...
Des news de ton côté depuis ce mail ?

Sinon, il faudra soumettre ça sur une liste zope dev...

        J.

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDZQsFGhoG8MxZ/pIRApAhAJ48kXGSjU3xWEIuHC3eeAsZZh053ACbBLC3
+aHy5uf+uvlY8fckFX0wQD8=
=/zeF
-----END PGP SIGNATURE-----
_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à