[Plone-IT] Esplosione plone, nonostante recupero del vecchio backup

Lucas84 l.lollobrigida a gmail.com
Mar 3 Nov 2009 18:23:40 UTC


Un saluto a tutti, 

in mattinata prima di metter le mani al plone versione 2.5 ho fatto un bel
backup con l'utility repozo.py pensando di poter star tranquillo! Ho poi
rimosso re-installato ri-rimosso add-on... A fine giornata, quando pensavo
di esser quasi riuscito ad ottenere quello che volevo, riavvio Plone tramite
il "Plone Controller" (sono su windows server -.- ) e scopro che :

----
Site Error

An error was encountered while publishing this resource.

AttributeError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 196, in publish_module_standard
    * Module Products.PlacelessTranslationService.PatchStringIO, line 34, in
new_publish
    * Module ZPublisher.Publish, line 146, in publish
    * Module Zope2.App.startup, line 248, in __call__
    * Module ZPublisher.Publish, line 115, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 41, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CacheSetup.patch_cmf, line 18, in FSPT_pt_render
    * Module Products.CacheSetup.patch_utils, line 9, in call_pattern
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.CacheSetup.patch_cmf, line 68, in PT_pt_render
    * Module Products.CacheSetup.patch_utils, line 9, in call_pattern
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /sito/document_view used for /sito/new_index>
    * Module TAL.TALInterpreter, line 238, in __call__
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 511, in do_setGlobal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:CMFPlone/skins/plone_templates/global_defines.pt
      Line 3, Column 0
      Expression: standard:'context/@@plone'
      Names:

      {'container': <PloneSite at /sito>,
       'context': <ATDocument at /sito/new_index>,
       'default': <Products.PageTemplates.TALES.Default instance at
0x015B13A0>,
       'here': <ATDocument at /sito/new_index>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x07A49238>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x015A0918>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x07A49238>,
       'request': <HTTPRequest,
URL=http://localhost/sito/new_index/document_view>,
       'root': <Application at >,
       'template': <FSPageTemplate at /sito/document_view used for
/sito/new_index>,
       'traverse_subpath': [],
       'user': <UnrestrictedUser 'uplone'>}

    * Module Products.PageTemplates.Expressions, line 185, in __call__
    * Module Products.PageTemplates.Expressions, line 173, in _eval
    * Module Products.PageTemplates.Expressions, line 127, in _eval
      __traceback_info__: context
    * Module Products.PageTemplates.Expressions, line 286, in
restrictedTraverse
      __traceback_info__: {'path': ['@@plone'], 'TraversalRequestNameStack':
[]}
    * Module Products.Archetypes.BaseObject, line 1138, in __bobo_traverse__

AttributeError: @@plone (Also, the following error occurred while attempting
to render the standard error message, please see the event log for full
details: @@plone)

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error
log.

If the error persists please contact the site maintainer. Thank you for your
patience. 
---

Nessuna paura - penso io - ho perso "solo" una giornata di lavoro, faccio il
restore e tutto tornerà come prima... Non è stato così!

L'unico modo per poter tornare a una versione "recente" del sito è stato
quello di sostituire una copia dell'intera cartella Plone (che risale a un
mese fa) al posto della attuale. Provo a fare un restore a questo punto in
cui il sito è tornato in piedi, ma nel momento in cui faccio il restore,
vedo scoppiarmi nuovamente il sito tra le mani.

Sto faticando a mantenere la calma :###

Le operazioni che ho fatto in giornata sono state prevalentemente
l'installazione e la rimozione di "Plone4Artists Video", prodotto che non
riuscivo a far funzionare, per poi scoprire che l'errore finale era nella
mancanza del "Plone4ArtistsSubtyper" o "p4a.subtyper", poi installato con
easy_install. 

Riavviato Plone dopo quest'ultima installazione il sito è crashato. Ho
provato a rimuovere questo prodotto con l'opzione -m ma il risultato non è
cambiato.

Grazie a Google ho trovato altre persone con errori simili, ma erano dovuti
a situazioni completamente diverse dalla mia. Credete che abbia la
possibilità di tornare almeno al backup di questa mattina?

Ringrazio anticipatamente tutti, 
Luca
-- 
View this message in context: http://n2.nabble.com/Esplosione-plone-nonostante-recupero-del-vecchio-backup-tp3940298p3940298.html
Sent from the Plone - Italy mailing list archive at Nabble.com.




Maggiori informazioni sulla lista Plone-IT