[Product-Developers] No plone4_theme option in paster for universal installer - Plone 4

Imran Azad imran.azad at bradfordhospitals.nhs.uk
Sun Jul 31 11:14:43 UTC 2011


Hi Alex,

Thanks for the response again! :-)

I tried the plone3_theme option but got the following error when selecting
the theme in Plone's control panel:

Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 47, in call_object
  Module zope.formlib.form, line 787, in __call__
  Module zope.formlib.form, line 777, in render
  Module Products.Five.browser.pagetemplatefile, line 126, in __call__
  Module Products.Five.browser.pagetemplatefile, line 60, in __call__
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
   - Warning: Macro expansion failed
   - Warning: <type 'exceptions.KeyError'>: 'prefs_main_template'
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 858, in do_defineMacro
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 867, in do_useMacro
  Module zope.tales.tales, line 696, in evaluate
   - URL: c:\documents and settings\winxp\my documents\aptana studio 3
workspace\plone\eggs\plone.app.controlpanel-2.0.6-py2.6.egg\plone\app\controlpanel\control-panel.pt
   - Line 10, Column 0
   - Expression: <PathExpr
standard:u'context/prefs_main_template/macros/master'>
   - Names:
      {'args': (),
       'container': <PloneSite at /Plone>,
       'context': <PloneSite at /Plone>,
       'default': ,
       'here': <PloneSite at /Plone>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0x063466F0>,
       'request': <HTTPRequest,
URL=http://localhost:8080/Plone/@@skins-controlpanel>,
       'root': <Application at >,
       'template':
<Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
0x03C7DC30>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.metaclass.SkinsControlPanel object at
0x062B53D0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at
0x062C9150>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 149, in _eval
  Module zope.tales.expressions, line 124, in _eval
  Module Products.PageTemplates.Expressions, line 96, in
trustedBoboAwareZopeTraverse
  Module OFS.Traversable, line 293, in unrestrictedTraverse
   - __traceback_info__: ([], 'prefs_main_template')
KeyError: 'prefs_main_template'

Any ideas?


--
View this message in context: http://plone.293351.n2.nabble.com/No-plone4-theme-option-in-paster-for-universtall-installer-Plone-4-tp6637077p6637942.html
Sent from the Product Developers mailing list archive at Nabble.com.


More information about the Product-Developers mailing list