[Plone-IT] Installazione prodotto Easy Newsletter

Zardetto Carlo carlo a artmediastudio.com
Mar 6 Dic 2011 11:30:25 UTC


Questo è l' errore nel log

2011-12-06T10:49:03 ERROR Zope.SiteErrorLog 
http://www2.xxxxxxxxxxx.it/front-page/document_view
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 216, in _exec
  Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: main_template
   - Line 48, Column 4
   - Expression: <StringExpr u'plone.htmlhead.links'>
   - Names:
      {'container': <PloneSite at /xxxx>,
       'context': <ATDocument at /xxxx/front-page>,
       'default': <object object at 0xb7592538>,
       'here': <ATDocument at /xxxx/front-page>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 
0xe8fe3cc>,
       'request': <HTTPRequest, 
URL=http://www2.xxxxxxxx.it/front-page/document_view>,
       'root': <Application at >,
       'template': <FSPageTemplate at /xxxx/document_view used for 
/xxxx/front-page>,
       'traverse_subpath': [],
       'user': <PloneUser 'xxxx'>}
  Module Products.Five.browser.providerexpression, line 37, in __call__
  Module plone.app.viewletmanager.manager, line 80, in render
  Module plone.memoize.volatile, line 265, in replacement
  Module plone.app.layout.links.viewlets, line 28, in render_cachekey
  Module plone.app.layout.links.viewlets, line 19, in get_language
AttributeError: 'NoneType' object has no attribute 'getLocaleID'
------
2011-12-06T10:49:03 ERROR root Exception while rendering an error message
Traceback (most recent call last):
  File "/usr/lib/zope2.10/lib/python/OFS/SimpleItem.py", line 227, in 
raise_standardErrorMessage
    v = s(**kwargs)
  File 
"/var/lib/zope2.10/instance/plone-site/Products/CMFCore/FSPythonScript.py", 
line 140, in __call__
    return Script.__call__(self, *args, **kw)
  File "/usr/lib/zope2.10/lib/python/Shared/DC/Scripts/Bindings.py", line 
313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/zope2.10/lib/python/Shared/DC/Scripts/Bindings.py", line 
350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File 
"/var/lib/zope2.10/instance/plone-site/Products/CMFCore/FSPythonScript.py", 
line 196, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 34, in standard_error_message
  File "/usr/lib/zope2.10/lib/python/Shared/DC/Scripts/Bindings.py", line 
313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/zope2.10/lib/python/Shared/DC/Scripts/Bindings.py", line 
350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File 
"/var/lib/zope2.10/instance/plone-site/Products/CMFCore/FSPageTemplate.py", 
line 216, in _exec
    result = self.pt_render(extra_context=bound_names)
  File 
"/var/lib/zope2.10/instance/plone-site/Products/CMFCore/FSPageTemplate.py", 
line 155, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File 
"/usr/lib/zope2.10/lib/python/Products/PageTemplates/PageTemplate.py", line 
89, in pt_render
    return super(PageTemplate, self).pt_render(c, source=source)
  File "/usr/lib/zope2.10/lib/python/zope/pagetemplate/pagetemplate.py", 
line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 271, 
in __call__
    self.interpret(self.program)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 346, 
in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 891, 
in do_useMacro
    self.interpret(macro)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 346, 
in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 536, 
in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 521, 
in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 516, 
in no_tag
    self.interpret(program)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 346, 
in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 534, 
in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 516, 
in no_tag
    self.interpret(program)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 346, 
in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope2.10/lib/python/zope/tal/talinterpreter.py", line 745, 
in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/usr/lib/zope2.10/lib/python/Products/PageTemplates/Expressions.py", 
line 221, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/usr/lib/zope2.10/lib/python/zope/tales/tales.py", line 696, in 
evaluate
    return expression(self)
  File 
"/usr/lib/zope2.10/lib/python/Products/Five/browser/providerexpression.py", 
line 37, in __call__
    return provider.render()
  File 
"/var/lib/zope2.10/instance/plone-site/lib/python/plone/app/viewletmanager/manager.py", 
line 80, in render
    return u'\n'.join([viewlet.render() for viewlet in self.viewlets])
  File 
"/var/lib/zope2.10/instance/plone-site/lib/python/plone/memoize/volatile.py", 
line 265, in replacement
    key = get_key(fun, *args, **kwargs)
  File 
"/var/lib/zope2.10/instance/plone-site/lib/python/plone/app/layout/links/viewlets.py", 
line 28, in render_cachekey
    print >> key, get_language(aq_inner(self.context), self.request)
  File 
"/var/lib/zope2.10/instance/plone-site/lib/python/plone/app/layout/links/viewlets.py", 
line 19, in get_language
    return portal_state.locale().getLocaleID()
AttributeError: 'NoneType' object has no attribute 'getLocaleID'

-----Messaggio originale----- 
From: Yuri
Sent: Tuesday, December 06, 2011 11:12 AM
To: plone-plone-it a lists.plone.org
Subject: Re: [Plone-IT] Installazione prodotto Easy Newsletter

http://collective-docs.readthedocs.org/en/latest/troubleshooting/exceptions.html#get-language-nonetype-object-has-no-attribute-getlocaleid




Maggiori informazioni sulla lista Plone-IT