-----Message d'origine-----

De : Jean-Marc Orliaguet [mailto:[EMAIL PROTECTED]

Envoyé : vendredi 26 août 2005 13:03

À : Remaud Frederic

Cc : [email protected]

Objet : Re: [CPS-users-fr] MaJ CPS 3.2.1 -> 3.3.5

 

Remaud Frederic wrote:

 

>Il ne veut rien savoir.

>J'ai recommencé tout depuis le début.

> 

>J'ai beau essayer de rajouter une external method

>Module Name : CPSDefault.upgrade

>Function Name : upgrade_z2_8

>Je clique sur Save Changes et j'obtiens "La page est introuvable"

> 

>L'external Method cpsupdate (CPSDefault.cpsinstall // Function=cpsupdate) ne fonctionne pas non plus

> 

 

 

je crois que la méthode est dans le svn. elle a été rajoutée après la

3.3.5 par Julien.

 

[Frédéric Remaud] En effet, y a un mieux. J’ai recupere l’update.py de CPSDefault. J'ai pu lancé la methode externe. (Au fait y a pas moyen de recuperer un tarball d’un produit sans avoir a installer svn et consorts sur le serveur ? Il me semblait que ct possible y a 1 ou 2 semaines)

LOG :

2005-08-26 14:26:20 INFO Zope.ZCatalog Start migration of indexes for calypso/portal_catalog

2005-08-26 14:26:20 INFO Zope.ZCatalog processing index uid

2005-08-26 14:26:20 INFO Zope.ZCatalog processing index Title

2005-08-26 14:26:20 INFO Zope.ZCatalog processing index Type

[...]

2005-08-26 14:26:21 INFO Zope.ZCatalog Reindexing uid, Title, Type, id, end, getId, created, start, Date, review_state, portal_type, expires, relative_path, allowedRolesAndUsers, path, in_reply_to, effective, Creator, container_path, modified, meta_type, time, localUsersWithRoles, Subject, relative_path_depth

2005-08-26 14:26:24 ERROR Zope.ZCatalog reindexIndex could not resolve an object from the uid '/calypso/.cps_boxes_root/action_folder'.

2005-08-26 14:26:24 ERROR Zope.ZCatalog reindexIndex could not resolve an object from the uid '/calypso/.cps_boxes_root/action_object'.

[une bonne centaine de lignes d'erreur comme celle-ci puis]

 

2005-08-26 14:27:48 ERROR ZODB.Connection Couldn't load state for 0xf252

Traceback (most recent call last):

  File "/opt/Zope-2.8/lib/python/ZODB/Connection.py", line 704, in setstate

    self._setstate(obj)

  File "/opt/Zope-2.8/lib/python/ZODB/Connection.py", line 742, in _setstate

    p, serial = self._storage.load(obj._p_oid, self._version)

  File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 552, in load

    pos = self._lookup_pos(oid)

  File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 516, in _lookup_pos

    raise POSKeyError(oid)

POSKeyError: 0xf252

2005-08-26 14:27:48 ERROR ZODB.Connection Couldn't load state for 0xf252

Traceback (most recent call last):

  File "/opt/Zope-2.8/lib/python/ZODB/Connection.py", line 704, in setstate

    self._setstate(obj)

  File "/opt/Zope-2.8/lib/python/ZODB/Connection.py", line 742, in _setstate

    p, serial = self._storage.load(obj._p_oid, self._version)

  File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 552, in load

    pos = self._lookup_pos(oid)

  File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 516, in _lookup_pos

    raise POSKeyError(oid)

POSKeyError: 0xf252

 

Et voila ce que j’ai dans la ZMI :

 

Error Type: POSKeyError

Error Value: 0xf252

 

Traceback: Traceback (innermost last):

 

 

  Module ZPublisher.Publish, line 113, in publish

  Module ZPublisher.mapply, line 88, in mapply

  Module ZPublisher.Publish, line 40, in call_object

  Module Products.ExternalMethod.ExternalMethod, line 225, in __call__

__traceback_info__: ((<Products.CPSDefault.Portal.CPSDefaultSite object at 0xb6ac4aec>,), {}, None)

  Module /home/zope/test/Products/CPSDefault/Extensions/upgrade.py, line 193, in upgrade_z2_8

  Module Products.CMFCore.CatalogTool, line 391, in manage_convertIndexes

  Module Products.ZCatalog.ZCatalog, line 532, in manage_reindexIndex

  Module Products.ZCatalog.ZCatalog, line 500, in reindexIndex

  Module Products.CPSCore.PatchCatalogTool, line 157, in cat_catalog_object

  Module Products.CPSCore.ObjectRepositoryTool, line 256, in isObjectUnderRepository

  Module ZODB.Connection, line 704, in setstate

  Module ZODB.Connection, line 742, in _setstate

  Module ZODB.FileStorage.FileStorage, line 552, in load

  Module ZODB.FileStorage.FileStorage, line 516, in _lookup_pos

 

POSKeyError: 0xf252

 

Aucune idée si ca a fonctionné totalement ou en partie seulement. J’accède toujours au site après suppression de toutes les boites dont le provider est Nuxeo.

J’ai installé CPSPortlets (external method) sans problème apparent puis CPSSkins.

 

Maintenant que je n’ai plus aucune boite et que le site est blanc, je vais m’amusé J

Le problème, c’est que je suis pas sûr que la Mise a jour ait fonctionné à 100%.

Des pages d’erreurs de temps en temps.

 

http://192.168.62.54:8080/calypso/box_manage_form

Error Type : getBoxSlots

Error Value : […]

            Module None, line 8, in cpsskins_listSlots

            <FSPythonScript at /calypso/cpsskins_listSlots>

            Line 8

            AttributeError: getBoxSlots

 

J’ai quand meme pu accéder à http://192.168.62.54:8080/calypso/cpsskins_portlet_manage_form

Mais dès que je fais un clic droit sur un slot ‘Inserer’ et que je selectionne n’importe quel type de portlet, message d’erreur :

 

  • Module ZPublisher.Publish, line 187, in publish_module_standard
  • Module Products.Localizer, line 60, in new_publish
  • Module ZPublisher.Publish, line 144, in publish
  • Module Zope2.App.startup, line 199, in zpublisher_exception_hook
  • Module ZPublisher.Publish, line 113, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 40, in call_object
  • Module Products.CMFCore.FSPythonScript, line 108, in __call__
  • Module Shared.DC.Scripts.Bindings, line 311, in __call__
  • Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  • Module Products.CMFCore.FSPythonScript, line 163, in _exec
  • Module None, line 19, in cpsskins_portlet_add
    <FSPythonScript at /calypso/cpsskins_portlet_add>
    Line 19
  • Module AccessControl.ZopeGuards, line 341, in guarded_apply
  • Module AccessControl.ZopeGuards, line 363, in builtin_guarded_apply
  • Module Products.CPSPortlets.PortletsTool, line 458, in createPortlet
  • Module Products.CPSPortlets.PortletsContainer, line 133, in _createPortlet
  • Module Products.CMFCore.PortalFolder, line 408, in invokeFactory
  • Module Products.CMFCore.TypesTool, line 929, in constructContent
  • Module Products.CPSDocument.FlexibleTypeInformation, line 219, in constructInstance
  • Module Products.CPSDocument.FlexibleTypeInformation, line 241, in _constructInstance
  • Module Products.CPSPortlets.CPSPortlet, line 994, in addCPSPortlet
  • Module Products.BTreeFolder2.BTreeFolder2, line 431, in _setObject
  • Module Products.CPSCore.EventServicePatches, line 104, in manage_afterAdd
  • Module Products.CMFCore.CMFCatalogAware, line 184, in manage_afterAdd
  • Module Products.CMFCore.CMFCatalogAware, line 50, in indexObject
  • Module Products.CMFCore.CatalogTool, line 319, in indexObject
  • Module Products.CPSCore.PatchCatalogTool, line 181, in cat_catalog_object
  • Module Products.ZCatalog.ZCatalog, line 561, in catalog_object
  • Module Products.ZCatalog.Catalog, line 361, in catalogObject
  • Module Products.PluginIndexes.common.UnIndex, line 207, in index_object
  • Module Products.PluginIndexes.common.UnIndex, line 233, in _index_object
  • Module Products.PluginIndexes.common.UnIndex, line 189, in insertForwardIndexEntry

AttributeError: _length (Also, an error occurred while attempting to render the standard error message.)

 

Merci pour ton aide, mais je crois que j’ai passé un peu trop de temps à essayer de faire une malheureuse update. Si ca se trouve, c’est tout mon produit qui est à refaire. Pis tout le site aussi K

 

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

Répondre à