Ticket #20252 (new Bug)

Opened 14 months ago

Error on @@language-controlpanel

Reported by: pabo Owned by: vincentfretin
Priority: minor Milestone: 5.0
Component: Internationalization Version:
Keywords: Cc:

Description

Create a new Plone 5 site with german default language. Then visit the language controlpanel. An error occurs. With English or Aseri as default language does the error not occur. In Plone 4.3 there is also no error.

2015-02-04 17:12:50 ERROR Zope.SiteErrorLog 1423066370.440.840886241342 http://localhost:8080/Plone/@@language-controlpanel
Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module zope.formlib.form, line 800, in __call__
  Module zope.formlib.form, line 790, in render
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module five.pt.engine, line 93, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 257, in render
  Module chameleon.template, line 190, in render
  Module chameleon.template, line 172, in render
  Module 9956767319a0f82f29ea5383aa0c715fe9314962.py, line 1751, in render
  Module 9956767319a0f82f29ea5383aa0c715fe9314962.py, line 289, in render_controlpanel
  Module be59cc9910a3df0054f2b3f9d6d93fea22629311.py, line 282, in render_master
  Module e9b3add25e09de227171849f8a4ec0437f3c20a5.py, line 1375, in render_master
  Module be59cc9910a3df0054f2b3f9d6d93fea22629311.py, line 264, in __fill_content
  Module e9b3add25e09de227171849f8a4ec0437f3c20a5.py, line 465, in render_content
  Module be59cc9910a3df0054f2b3f9d6d93fea22629311.py, line 253, in __fill_main
  Module 9956767319a0f82f29ea5383aa0c715fe9314962.py, line 277, in __fill_prefs_configlet_main
  Module 9956767319a0f82f29ea5383aa0c715fe9314962.py, line 1620, in render_form
  Module 9956767319a0f82f29ea5383aa0c715fe9314962.py, line 803, in render_master
  Module five.pt.expressions, line 161, in __call__
  Module plone.app.form.widgets.checkboxwidget, line 29, in __call__
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 9: ordinal not in range(128)

 - Expression: "widget"
 - Filename:   ... app.controlpanel/plone/app/controlpanel/control-panel.pt
 - Location:   (103:71)
 - Source:     ... idget" tal:content="structure widget">
                                                 ^^^^^^
 - Arguments:  repeat: {...} (0)
               template: <ViewPageTemplateFile - at 0x7f8fcfe48dd0>
               views: <ViewMapper - at 0x7f8fc64bb950>
               modules: <instance - at 0x7f8fd4e48d88>
               args: <tuple - at 0x7f8fdf8c2050>
               here: <ImplicitAcquisitionWrapper Plone at 0x7f8fc6506a00>
               user: <ImplicitAcquisitionWrapper - at 0x7f8fc63dcc80>
               nothing: <NoneType - at 0x7aef50>
               container: <ImplicitAcquisitionWrapper Plone at 0x7f8fc6506a00>
               request: <instance - at 0x7f8fc644ee18>
               wrapped_repeat: <SafeMapping - at 0x7f8fc63e8890>
               traverse_subpath: <list - at 0x7f8fc644eb90>
               default: <object - at 0x7f8fdf898bc0>
               loop: {...} (1)
               context: <ImplicitAcquisitionWrapper Plone at 0x7f8fc6506a00>
               view: <LanguageControlPanel language-controlpanel at 0x7f8fc64a5ad0>
               translate: <function translate at 0x7f8fc64a7410>
               root: <ImplicitAcquisitionWrapper Zope at 0x7f8fcee10140>
               options: {...} (0)
               target_language: <NoneType - at 0x7aef50>


Note: See TracTickets for help on using tickets.