Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New toggle breaks Chameleon #33

Closed
petschki opened this issue Jul 24, 2020 · 0 comments · Fixed by #34
Closed

New toggle breaks Chameleon #33

petschki opened this issue Jul 24, 2020 · 0 comments · Fixed by #34

Comments

@petschki
Copy link
Member

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 359, in publish_module
  Module ZPublisher.WSGIPublisher, line 262, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 63, in call_object
  Module Products.PloneKeywordManager.browser.prefs_keywords_view, line 30, in __call__
  Module Products.Five.browser.pagetemplatefile, line 126, in __call__
  Module Products.Five.browser.pagetemplatefile, line 61, in __call__
  Module zope.pagetemplate.pagetemplate, line 135, in pt_render
  Module Products.PageTemplates.engine, line 332, in __call__
  Module z3c.pt.pagetemplate, line 176, in render
  Module chameleon.zpt.template, line 307, in render
  Module chameleon.template, line 214, in render
  Module chameleon.utils, line 75, in raise_with_traceback
  Module chameleon.template, line 192, in render
  Module 3826150332969b41b95d42c0bb11374c, line 2087, in render
  Module 04d9f06f80e5ec7035c428e2468672cf, line 382, in render_master
  Module f1e9a4127c5789494c67a6b6565e2902, line 864, in render_master
  Module 04d9f06f80e5ec7035c428e2468672cf, line 357, in __fill_content
  Module f1e9a4127c5789494c67a6b6565e2902, line 1526, in render_content
  Module 04d9f06f80e5ec7035c428e2468672cf, line 343, in __fill_main
  Module 3826150332969b41b95d42c0bb11374c, line 638, in __fill_prefs_configlet_main
chameleon.exc.ExpressionError: chameleon.exc.ExpressionError: $ must be doubled or followed by a simple path

 - String:     "$('.simkeywords').css('display', (this.checked)?'initial':'none')"
 - Filename:   /data/erinnern/.eggs/Products.PloneKeywordManager-3.0.2-py3.7.egg/Products/PloneKeywordManager/browser/prefs_keywords_view.pt
 - Location:   (line 79: col 52)
 - Source:     ... $('.simkeywords').css('display', (this.checked)?'initial':'none') ...
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 - Expression: "provider:plone.abovecontent"
 - Filename:   ... egg/Products/CMFPlone/browser/templates/main_template.pt
 - Location:   (line 67: col 59)
 - Source:     ... 
                                       ^
 - Expression: "context/@@main_template/macros/master"
 - Filename:   ... oducts/CMFPlone/skins/plone_prefs/prefs_main_template.pt
 - Location:   (line 2: col 30)
 - Source:     ... tal:use-macro="context/@@main_template/macros/master">
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Expression: "context/prefs_main_template/macros/master"
 - Filename:   ... ducts/PloneKeywordManager/browser/prefs_keywords_view.pt
 - Location:   (line 3: col 23)
 - Source:     ... l:use-macro="context/prefs_main_template/macros/master"
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments:  template: <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7f9a1d6a86d0>
               options: {}
               args: ({},)
               nothing: None
               modules: <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x7f9a4885f2d0>
               request: <WSGIRequest, URL=https://zmi.erinnern.at/plone/prefs_keywords_view>
               view: <Products.Five.browser.metaconfigure.SimpleViewClass from /data/erinnern/.eggs/Products.PloneKeywordManager-3.0.2-py3.7.egg/Products/PloneKeywordManager/browser/prefs_keywords_view.pt object at 0x7f9a1e01e790>
               context: <PloneSite at /plone>
               views: <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f9a1e00e590>
               here: <PloneSite at /plone>
               container: <PloneSite at /plone>
               root: <Application at >
               traverse_subpath: []
               user: <PropertiedUser 'erinnern'>
               default: <DEFAULT>
               repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7f9a1d0badc0>
               loop: {'fld': <Products.PageTemplates.engine.RepeatItem object at 0x7f9a1e187d90>}
               target_language: None
               translate: <function BaseTemplate.render.<locals>.translate at 0x7f9a1de044d0>
               macroname: 'master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant