[Zope-CMF] ZPT: TypeError: unsubscriptable object

alan runyan runyaga@myrealbox.com
Mon, 10 Feb 2003 10:55:01 +0100

I got a very strange exception in ZPT.  It appears that if self.expand is
still 0 then
it simply 'returns' I'm not sure what it suppose to return but I believe it
should be a tuple
i.e. look at the except, return ('Macro expansion failed', '%s: %s' %
  a.. Module ZPublisher.Publish, line 98, in publish
  b.. Module ZPublisher.mapply, line 88, in mapply
  c.. Module ZPublisher.Publish, line 39, in call_object
  d.. Module Shared.DC.Scripts.Bindings, line 252, in __call__
  e.. Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  f.. Module Products.CMFCore.FSPageTemplate, line 163, in _exec
  g.. Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
  h.. Module Products.CMFCore.FSPageTemplate, line 144, in pt_render
TypeError: unsubscriptable object

It seemed like it happend on startup of my CMF/Plone instance and then went

Any comments?