Plone 5.0 a3.dev0 をチェック

Plone Conference 2014 に行く前にエラーを見つけておく。

本日はコントロールパネ内のページの表示について調べてみた。

  • @@security-controlpanel で UnicodeEncodeError
  • @@tinymce-controlpanel で KeyError
    • ‘Interface `Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema` defines a field `toolbar_anchor`, for which there is no record.’
  • @@language-controlpanel で UnicodeEncodeError

2つのページでUnicodeEncodeErrorが出ている。

これら2つのトレースバックを貼り付けておく。

@@security-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 c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 1751, in render
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 289, in render_controlpanel
  Module 5b4c9336804c8b8a03736ee77a46f594ee2960ea.py, line 282, in render_master
  Module c46cf0d493f5c29862f72f28026014083d1c281f.py, line 1354, in render_master
  Module 5b4c9336804c8b8a03736ee77a46f594ee2960ea.py, line 264, in __fill_content
  Module c46cf0d493f5c29862f72f28026014083d1c281f.py, line 465, in render_content
  Module 5b4c9336804c8b8a03736ee77a46f594ee2960ea.py, line 253, in __fill_main
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 277, in __fill_prefs_configlet_main
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 1620, in render_form
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.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 characters in position 0-10: 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 0x7fcf8fceaf90>
               views: <ViewMapper - at 0x7fcf8c75e310>
               modules: <instance - at 0x7fcf94e9e830>
               args: <tuple - at 0x7fcf9cb5d050>
               here: <ImplicitAcquisitionWrapper Plone at 0x7fcf8eeeb410>
               user: <ImplicitAcquisitionWrapper - at 0x7fcf8ee21410>
               nothing: <NoneType - at 0x920190>
               container: <ImplicitAcquisitionWrapper Plone at 0x7fcf8eeeb410>
               request: <instance - at 0x7fcf87f09fc8>
               wrapped_repeat: <SafeMapping - at 0x7fcf8c7376d8>
               traverse_subpath: <list - at 0x7fcf8c322b90>
               default: <object - at 0x7fcf9ca7c500>
               loop: {...} (1)
               context: <ImplicitAcquisitionWrapper Plone at 0x7fcf8eeeb410>
               view: <SecurityControlPanel security-controlpanel at 0x7fcf8cad9fd0>
               translate: <function translate at 0x7fcf8c5ccc08>
               root: <ImplicitAcquisitionWrapper Zope at 0x7fcf8efb6f50>
               options: {...} (0)
               target_language: <NoneType - at 0x920190>

@@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 c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 1751, in render
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 289, in render_controlpanel
  Module 5b4c9336804c8b8a03736ee77a46f594ee2960ea.py, line 282, in render_master
  Module c46cf0d493f5c29862f72f28026014083d1c281f.py, line 1354, in render_master
  Module 5b4c9336804c8b8a03736ee77a46f594ee2960ea.py, line 264, in __fill_content
  Module c46cf0d493f5c29862f72f28026014083d1c281f.py, line 465, in render_content
  Module 5b4c9336804c8b8a03736ee77a46f594ee2960ea.py, line 253, in __fill_main
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 277, in __fill_prefs_configlet_main
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.py, line 1620, in render_form
  Module c5fefd8edcd9a9a5d0ee7544020af26ff845da80.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 characters in position 0-10: 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 0x7fcf8fceaf90>
               views: <ViewMapper - at 0x7fcf8c8b99d0>
               modules: <instance - at 0x7fcf94e9e830>
               args: <tuple - at 0x7fcf9cb5d050>
               here: <ImplicitAcquisitionWrapper Plone at 0x7fcf8efa1140>
               user: <ImplicitAcquisitionWrapper - at 0x7fcf8e55a550>
               nothing: <NoneType - at 0x920190>
               container: <ImplicitAcquisitionWrapper Plone at 0x7fcf8efa1140>
               request: <instance - at 0x7fcf8c44c680>
               wrapped_repeat: <SafeMapping - at 0x7fcf8c8616d8>
               traverse_subpath: <list - at 0x7fcf8c44c1b8>
               default: <object - at 0x7fcf9ca7c500>
               loop: {...} (1)
               context: <ImplicitAcquisitionWrapper Plone at 0x7fcf8efa1140>
               view: <LanguageControlPanel language-controlpanel at 0x7fcf8c8b9f50>
               translate: <function translate at 0x7fcf8c724cf8>
               root: <ImplicitAcquisitionWrapper Zope at 0x7fcf8ef95690>
               options: {...} (0)
               target_language: <NoneType - at 0x920190>

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください