Fiz tudo o que você disse, mas quando coloco o portlet para aparecer,
dá o erro:


        
Site Error

An error was encountered while publishing this resource.

AttributeError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 194, in publish_module_standard
    * Module Products.PlacelessTranslationService.PatchStringIO, line
34, in new_publish
    * Module ZPublisher.Publish, line 146, in publish
    * Module Zope2.App.startup, line 222, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 115, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 41, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CacheSetup.patch_cmf, line 18, in FSPT_pt_render
    * Module Products.CacheSetup.patch_utils, line 9, in call_pattern
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.CacheSetup.patch_cmf, line 56, in PT_pt_render
    * Module Products.CacheSetup.patch_utils, line 9, in call_pattern
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /Plone3/folder_slideshow used for
/Plone3/destaque>
    * Module TAL.TALInterpreter, line 238, in __call__
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 780, in do_defineSlot
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 715, in do_condition
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 780, in do_defineSlot
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 715, in do_condition
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 691, in do_loop_tal
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 715, in do_condition
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 507, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: /Plone3/portlet_destaque
      Line 40, Column 12
      Expression: <PythonExpr
portal_publicator.getPublicationBoxesInfo(box_id)>
      Names:

      {'container': <PloneSite at /Plone3>,
       'context': <ATFolder at /Plone3/destaque>,
       'default': <Products.PageTemplates.TALES.Default instance at
0x0156FE68>,
       'here': <ATFolder at /Plone3/destaque>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x05B50260>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x01567058>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x05B50260>,
       'request': <HTTPRequest,
URL=http://localhost:8080/Plone3/destaque/folder_slideshow>,
       'root': <Application at >,
       'template': <FSPageTemplate at /Plone3/folder_slideshow used
for /Plone3/destaque>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__:
portal_publicator.getPublicationBoxesInfo(box_id)
    * Module Python expression
"portal_publicator.getPublicationBoxesInfo(box_id)", line 1, in
<expression>
    * Module Products.CMFPublicator.PublicatorTool, line 452, in
getPublicationBoxesInfo

AttributeError: 'tuple' object has no attribute 'extract' (Also, the
following error occurred while attempting to render the standard error
message, please see the event log for full details: 'tuple' object has
no attribute 'extract') 


O que eu faço?

Responder a