[Plone-IT] Strano errore causa down del sito - Probabile causa raptus.multilanguagefields

Diego Purpo diego.purpo a infocube.it
Lun 15 Ago 2011 14:19:37 UTC


Ciao a tutti.

Nel giorno di ferragosto mi ritrovo a scrivere una mail alla lista per 
un supporto ad un down :(

Il Plone 4 che č andato gių sembrerebbe stato bloccato da un errore che, 
forse, l'ha mandato in loop, essendo il trace ripetuto tantissime volte 
nei log.
Pių gių il log dell'errore

Il messaggio
SchemaException: Tried to add 'title' with property 'accessor' set to 
'Title' but 'title___en___' has the same value.
mi fa pensare che il problema possa essere legato a 
raptus.multilanguagefields.

Il problema č che non riesco a replicare l'errore in locale o online, 
dove, dopo aver riavviato, l'applicazione sembra correttamente 
funzionante e non produco pių l'errore indicato.

Qualcuno, per caso, l'ha mai visto/affrontato?

Grazie

Diego

2011-08-15T14:45:27 ERROR root Exception while rendering an error message
Traceback (most recent call last):
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/OFS/SimpleItem.py", 
line 254, in raise_standardErrorMessage
     v = s(**kwargs)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.CMFCore-2.2.4-py2.6.egg/Products/CMFCore/FSPythonScript.py", 
line 130, in __call__
     return Script.__call__(self, *args, **kw)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", 
line 324, in __call__
     return self._bindAndExec(args, kw, None)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", 
line 361, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", 
line 344, in _exec
     result = f(*args, **kw)
   File "Script (Python)", line 34, in standard_error_message
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", 
line 324, in __call__
     return self._bindAndExec(args, kw, None)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", 
line 361, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.CMFCore-2.2.4-py2.6.egg/Products/CMFCore/FSPageTemplate.py", 
line 240, in _exec
     result = self.pt_render(extra_context=bound_names)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.CMFCore-2.2.4-py2.6.egg/Products/CMFCore/FSPageTemplate.py", 
line 180, in pt_render
     self, source, extra_context
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PageTemplates/PageTemplate.py", 
line 80, in pt_render
     showtal=showtal)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.pagetemplate-3.5.2-py2.6.egg/zope/pagetemplate/pagetemplate.py", 
line 113, in pt_render
     strictinsert=0, sourceAnnotations=sourceAnnotations)()
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 271, in __call__
     self.interpret(self.program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 888, in do_useMacro
     self.interpret(macro)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 852, in do_condition
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 531, in do_optTag_tal
     self.no_tag(stuff[-2], stuff[-1])
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 742, in do_insertStructure_tal
     structure = self.engine.evaluateStructure(expr)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PageTemplates/Expressions.py", 
line 220, in evaluateStructure
     text = super(ZopeContext, self).evaluateStructure(expr)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", 
line 696, in evaluate
     return expression(self)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.contentprovider-3.5.0-py2.6.egg/zope/contentprovider/tales.py", 
line 80, in __call__
     return provider.render()
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/plone.app.viewletmanager-2.0.1-py2.6.egg/plone/app/viewletmanager/manager.py", 
line 154, in render
     return BaseOrderedViewletManager.render(self)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/plone.app.viewletmanager-2.0.1-py2.6.egg/plone/app/viewletmanager/manager.py", 
line 85, in render
     return u'\n'.join([viewlet.render() for viewlet in self.viewlets])
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/plone.app.layout-2.0.8-py2.6.egg/plone/app/layout/viewlets/common.py", 
line 48, in render
     return self.index()
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/Five/browser/pagetemplatefile.py", 
line 126, in __call__
     return self.im_func(im_self, *args, **kw)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/Five/browser/pagetemplatefile.py", 
line 60, in __call__
     sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.pagetemplate-3.5.2-py2.6.egg/zope/pagetemplate/pagetemplate.py", 
line 113, in pt_render
     strictinsert=0, sourceAnnotations=sourceAnnotations)()
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 271, in __call__
     self.interpret(self.program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 852, in do_condition
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 821, in do_loop_tal
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 852, in do_condition
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 852, in do_condition
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 821, in do_loop_tal
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 533, in do_optTag_tal
     self.do_optTag(stuff)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 518, in do_optTag
     return self.no_tag(start, program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 852, in do_condition
     self.interpret(block)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 531, in do_optTag_tal
     self.no_tag(stuff[-2], stuff[-1])
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 513, in no_tag
     self.interpret(program)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 343, in interpret
     handlers[opcode](self, args)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", 
line 742, in do_insertStructure_tal
     structure = self.engine.evaluateStructure(expr)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PageTemplates/Expressions.py", 
line 220, in evaluateStructure
     text = super(ZopeContext, self).evaluateStructure(expr)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", 
line 696, in evaluate
     return expression(self)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/pythonexpr.py", 
line 59, in __call__
     return eval(self._code, vars)
   File "<string>", line 1, in <module>
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/plone.app.blob-1.4-py2.6.egg/plone/app/blob/mixins.py", 
line 76, in tag
     field = self.getField('image')
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/raptus.multilanguagefields-1.0b14-py2.6.egg/raptus/multilanguagefields/patches/archetypes.py", 
line 75, in __new_getField
     return self.__old_getField(key, wrapped)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.Archetypes-1.6.6-py2.6.egg/Products/Archetypes/BaseObject.py", 
line 237, in getField
     return self.Schema().get(key)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.Archetypes-1.6.6-py2.6.egg/Products/Archetypes/BaseObject.py", 
line 821, in Schema
     return ImplicitAcquisitionWrapper(ISchema(self), self)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/zope.site-3.6.1-py2.6.egg/zope/site/hooks.py", 
line 95, in adapter_hook
     return siteinfo.adapter_hook(interface, object, name, default)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/archetypes.schemaextender-2.0.3-py2.6.egg/archetypes/schemaextender/extender.py", 
line 130, in cachingInstanceSchemaFactory
     schema = cache[key] = instanceSchemaFactory(context)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/archetypes.schemaextender-2.0.3-py2.6.egg/archetypes/schemaextender/extender.py", 
line 173, in instanceSchemaFactory
     schema.addField(field)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/raptus.multilanguagefields-1.0b14-py2.6.egg/raptus/multilanguagefields/patches/archetypes.py", 
line 213, in __new_addField
     self.__old_addField(field)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.Archetypes-1.6.6-py2.6.egg/Products/Archetypes/Schema/__init__.py", 
line 187, in addField
     self._validateOnAdd(field)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/raptus.multilanguagefields-1.0b14-py2.6.egg/raptus/multilanguagefields/patches/archetypes.py", 
line 229, in __new__validateOnAdd
     self.__old__validateOnAdd(field)
   File 
"/opt/plone-4.0.5/buildout-cache/eggs/Products.Archetypes-1.6.6-py2.6.egg/Products/Archetypes/Schema/__init__.py", 
line 216, in _validateOnAdd
     (name, pname, repr(value), res.getName())
SchemaException: Tried to add 'title' with property 'accessor' set to 
'Title' but 'title___en___' has the same value.




-- 

*Diego Purpo*
cel. +39 393 9869631
diego.purpo a infocube.it <mailto:diego.purpo a infocube.it>

*INFOCUBE srl*
via gino doria, 84 | 80128 napoli
tel. +39 081 3412051 | fax. +39 081 19305669
p.iva 05808481211 | c.f. 05808481211 | rea NA 0777171
www.infocube.it <http://www.infocube.it>
blog.infocube.it <http://blog.infocube.it>

-------------- parte successiva --------------
Un allegato HTML č stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20110815/dcad1cd7/attachment-0001.html>


Maggiori informazioni sulla lista Plone-IT