我在@@@ mail-controlpanel上遇到'ascii'错误。我如何检查值并修复它? 该网站在Debian6上运行Plone4.2。
此致
我的追溯:
...
Module zope.tales.tales, line 696, in evaluate
- URL: /home/plone42/buildout-cache/eggs/plone.app.controlpanel-2.2.5-py2.7.egg/plone/app/controlpanel/control-panel.pt
- Line 110, Column 28
- Expression: <PathExpr standard:u'widget'>
- Names:
{'args': (),
'container': <PloneSite at /intranetcfa>,
'context': <PloneSite at /intranetcfa>,
'default': <object object at 0x7f11f8d43b40>,
'here': <PloneSite at /intranetcfa>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e37e10>,
'request': <HTTPRequest, URL=http://91.121.151.215:8088/intranetcfa/@@mail-controlpanel>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x4edd790>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.MailControlPanel object at 0x7f11ea4efbd0>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f11ea506110>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 155, in _eval
Module Products.PageTemplates.Expressions, line 117, in render
Module zope.formlib.textwidgets, line 134, in __call__
Module zope.formlib.widget, line 627, in renderElement
Module zope.formlib.widget, line 612, in renderTag
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 22: ordinal not in range(128)
答案 0 :(得分:2)
您可能会尝试直接通过
下的ZMI更改姓名/地址http://host:port/your_plone/manage_propertiesForm
通过调整email_from_address或email_from_name属性。