[Zope-CMF] BackTalk inside plone

Juan Pablo Romero jpablo@perl.ajusco.upn.mx
09 Jul 2002 15:47:25 -0500


Hi

I'm trying to use a BackTalk document within plone.

When I click on the "comment" link, zope gives this error:

(the url is:
http://localhost:8080/.../commentForm?level:int=0&index:int=2)

(Couriously, within a normal cmf folder, backtalk works ok).


Any advice?


  Juan Pablo



--------------------------------------------------
Site Error

An error was encountered while publishing this resource.

Undefined

Sorry, a site error occurred.

Traceback (innermost last):
  File /opt/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
150, in publish_module
  File /opt/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
114, in publish
  File /opt/Zope-2.5.0-linux2-x86/lib/python/Zope/__init__.py, line 159,
in zpublisher_exception_hook
    (Object: propuesta_normativa)
  File /opt/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
98, in publish
  File /opt/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py, line
88, in mapply
    (Object: commentForm)
  File /opt/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
39, in call_object
    (Object: commentForm)
  File /opt/Zope/lib/python/Products/BackTalk/BackTalk.py, line 378, in
commentForm
    (Object: propuesta_normativa)
  File /opt/Zope/lib/python/Products/BackTalk/BackTalk.py, line 407, in
get_comment_template
    (Object: propuesta_normativa)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__
    (Object: <string>)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py,
line 105, in __call__
    (Object: standard_html_header)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__
    (Object: standard_html_header)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line
159, in eval
    (Object: macro_renderer(template='here/header',
macro='html_header'))
    (Info: macro_renderer)
  File <string>, line 0, in ?
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
line 252, in __call__
    (Object: macro_renderer)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
line 283, in _bindAndExec
    (Object: macro_renderer)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/ZopePageTemplate.py, line 210, in _exec
    (Object: macro_renderer)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/CMFCore/FSPageTemplate.py, line 124, in pt_render
    (Object: macro_renderer)
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/PageTemplate.py, line 86, in pt_render
    (Object: macro_renderer)
    (Info: {'container': <CMFSite instance at 8c03f08>,
 'here': <BackTalkDocument instance at 8d33fc8>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x8677294>,
 'nothing': None,
 'options': {'template': 'here/header', 'args': (), 'macro':
'html_header'

'root': <Application instance at 8d6a290>,
 'template': <FSPageTemplate instance at 8e0dd10>,
 'traverse_subpath': [],
 'user': Anonymous User})
  File /opt/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
158, in __call__
  File /opt/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
191, in interpret
  File /opt/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
510, in do_useMacro
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/TALES.py,
line 247, in evaluate
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/ZRPythonExpr.py, line 49, in __call__
    (Info: path('%(template)s/macros/%(macro)s' % ({'template':
options.get('template', 'here/header'), 'macro':options.get('macro',
'html_header')} ) ))
  File Python expression "path('%(template)s/macros/%(macro)s' %
({'template': options.get('template', 'here/header'),
'macro':options.get('macro', 'html_header')} ) )", line 2, in f
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/PythonExpr.py, line 81, in __call__
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/Expressions.py, line 198, in __call__
  File
/opt/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/Expressions.py, line 188, in _eval
Undefined: macros not found in 'here/header/macros/html_header', at line
1, column 1
--------------------------------------------------