oi, 
gostaria da ajuda de todos para resolver problemas com o PloneSitemap.
A instalação ocorreu tudo bem (coloquei o produto na pasta de produtos
do meu zope e instalei via portal_quickinstaller, minhas configurações
são: pyhton 2.3.3, zope 2.7.2 e plone 2.0.5). Quando vou utiliza-lo
gera um erro com ATFolder o que devo fazer?

Segue o erro:

Hora
    2005/10/04 21:24:20.820 GMT-3
Usuário
    admin (admin)
Request URL
    http://localhost:8080/eu/sitemap
Exception Type
    ValueError
Exception Value
    ATFolder is not a content type

Traceback (innermost last):

    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 191, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
      <FSPageTemplate at /eu/sitemap>
    * Module TAL.TALInterpreter, line 189, in __call__
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 670, in do_useMacro
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 408, in do_optTag_tal
    * Module TAL.TALInterpreter, line 393, in do_optTag
    * Module TAL.TALInterpreter, line 388, in no_tag
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 701, in do_defineSlot
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 408, in do_optTag_tal
    * Module TAL.TALInterpreter, line 393, in do_optTag
    * Module TAL.TALInterpreter, line 388, in no_tag
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 649, in do_defineMacro
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 693, in do_defineSlot
    * Module TAL.TALInterpreter, line 233, in interpret
    * Module TAL.TALInterpreter, line 459, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      Line 140, Column 20
      Expression: <PythonExpr here.getSiteMap(root=root,
metaTypesToDig=metaTypesToDig, metaTypesNotToList=metaTypesNotToList,
statesToList=statesToList, idsNotToList=idsNotToList,
depth=bottomLevel, sortAlphabetically=sortAlphabetically)>
      Names:

{'container': <PloneSite instance at 417d8980>,
 'context': <PloneSite instance at 417d8980>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x40e0bcac>,
 'here': <PloneSite instance at 417d8980>,
 'loop': <SafeMapping instance at 41308aa0>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40e03ecc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at 41308aa0>,
 'request': <HTTPRequest, URL=http://localhost:8080/eu/sitemap>,
 'root': <Application instance at 4179acb0>,
 'template': <FSPageTemplate at /eu/sitemap>,
 'traverse_subpath': [],
 'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.getSiteMap(root=root,
metaTypesToDig=metaTypesToDig, metaTypesNotToList=metaTypesNotToList,
statesToList=statesToList, idsNotToList=idsNotToList,
depth=bottomLevel, sortAlphabetically=sortAlphabetically)
    * Module Python expression "here.getSiteMap(root=root,
metaTypesToDig=metaTypesToDig, metaTypesNotToList=metaTypesNotToList,
statesToList=statesToList, idsNotToList=idsNotToList,
depth=bottomLevel, sortAlphabetically=sortAlphabetically)", line 1, in
<expression>
    * Module Products.CMFCore.FSPythonScript, line 104, in __call__
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 160, in _exec
    * Module None, line 12, in getSiteMap
      <FSPythonScript at /eu/getSiteMap>
      Line 12
    * Module Products.CMFCore.PortalFolder, line 215, in contentIds
    * Module Products.CMFCore.PortalFolder, line 164, in _morphSpec

ValueError: ATFolder is not a content type

Display traceback as text
REQUEST
form
cookies
last_login_2    '1'
last_login_1    '2005/10/04 20:44:54.673 GMT-3'
tree-s  'eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew'
_ZopeId '87445345A2B4UL.gvCI'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager instance at 417f1770>>
other
PTS_catalog_names_CMFBoard_none ['CMFBoard.i18n-cmfboard-pt-br.po']
PTS_catalog_names_plone_none    ['CMFBoard.i18n-cmfboard-plone-pt-br.po',
'CMFPlone.i18n-plone-pt-br.po',
'PloneErrorReporting.i18n-ploneerrorreporting-pt-br.po',
'PloneSiteMap.i18n-PloneSiteMap_plone_pt-br.po',
'CMFPlone.i18n-plone-en.po']
TraversalRequestNameStack       []
AUTHENTICATED_USER      admin
URL     'http://localhost:8080/eu/sitemap'
_portaluser     <MemberData at /eu/portal_memberdata/admin used for
/acl_users>
SERVER_URL      'http://localhost:8080'
AUTHENTICATION_PATH     ''
traverse_subpath        []
PUBLISHED       <FSPageTemplate at /eu/sitemap>
_pts_negotiator_cache_language  {('ka', 'pt-br', 'ru', 'ko', 'hu',
'lt', 'af', 'es-es', 'tr', 'pl', 'en', 'uk', 'eo', 'ro', 'da', 'it',
'ar', 'no', 'zh-hk', 'hy', 'de', 'ca', 'eu', 'pt', 'ja', 'et', 'fi',
'cs', 'sv', 'ua', 'zh-cn', 'es-ar', 'zh', 'bg', 'fr', 'el', 'fa',
'nn', 'he', 'nl', 'es', 'zh-tw', 'hr', 'nl-be', 'en-zw', 'es-hn',
'zh-mo', 'es-cr', 'de-ch', 'ca-es', 'es-py', 'de-de', 'en-bz',
'es-us', 'fr-lu', 'it-ch', 'zh', 'fr-ch', 'es-gt', 'en-nz', 'de-at',
'eu-es', 'es-ec', 'zh-hk', 'es-uy', 'en-tt', 'no-bok', 'en-ie',
'es-mx', 'en-jm', 'es-ve', 'ca-fr', 'ja-jp', 'en-gb', 'es-pa',
'de-lu', 'es-pe', 'en-za', 'nb-no', 'nn-no', 'es-do', 'en-au',
'de-li', 'no-nyn', 'nb', 'fr-mc', 'sv-fi', 'en-ph', 'ko-kr', 'zh-cn',
'es-sv', 'es-co', 'fr-be', 'fr-fr', 'ca-it', 'tr-tr', 'es-pr',
'en-us', 'es-bo', 'en-ca', 'zh-sg', 'es-cl', 'es-ni', 'fr-ca'):
'pt-br', ('it', 'es', 'nl', 'he', 'fr', 'pt-br', 'zh-cn', 'sv', 'bg',
'ja', 'cs', 'fi', 'de', 'zh-hk', 'ca', 'ro', 'da', 'pl', 'zh-tw',
'ru', 'fr-ca', 'fr-fr', 'fr-be', 'fr-ch', 'fr-lu', 'fr-mc', 'en'):
'pt-br'}
disable_border  1
URL0    http://localhost:8080/eu/sitemap
URL1    http://localhost:8080/eu
URL2    http://localhost:8080
BASE0   http://localhost:8080
BASE1   http://localhost:8080
BASE2   http://localhost:8080/eu
BASE3   http://localhost:8080/eu/sitemap
environ
HTTP_COOKIE     'last_login_1="2005/10/04 20:44:54.673 GMT-3";
last_login_2="1"; _ZopeId="87445345A2B4UL.gvCI";
tree-s="eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew"'
SERVER_SOFTWARE 'Zope/(unreleased version, python 2.3.3, linux-i386)
ZServer/1.1 Plone/2.0.5'
SCRIPT_NAME     ''
REQUEST_METHOD  'GET'
PATH_INFO       '/eu/sitemap'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time   1128471665
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET     'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.6)
Gecko/20040520'
HTTP_REFERER
'http://localhost:8080/eu/prefs_error_log_showEntry?id=1128471731.490.424666256505'
SERVER_NAME     'localhost.localdomain'
REMOTE_ADDR     '127.0.0.1'
PATH_TRANSLATED '/eu/sitemap'
SERVER_PORT     '8080'
HTTP_HOST       'localhost:8080'
HTTP_ACCEPT
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1'
GATEWAY_INTERFACE       'CGI/1.1'
HTTP_ACCEPT_LANGUAGE    'pt-br,pt;q=0.5'
HTTP_ACCEPT_ENCODING    'gzip,deflate'
HTTP_KEEP_ALIVE '300'




Para enviar uma mensagem: zope-pt@yahoogrupos.com.br
Para desistir envie uma mensagem em branco para: [EMAIL PROTECTED] 
Links do Yahoo! Grupos

<*> Para visitar o site do seu grupo na web, acesse:
    http://br.groups.yahoo.com/group/zope-pt/

<*> Para sair deste grupo, envie um e-mail para:
    [EMAIL PROTECTED]

<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
    http://br.yahoo.com/info/utos.html

 


Responder a