Menu

#146 ATFolder is not a content type

open
5
2005-07-20
2005-07-20
FredO
No

I really would like to try PloneSiteMap on my
Plone2.0.5Win installation, but I get the errormessage
as shown in the summary. I cannot find that I need to
install other products as well (getSitemap?, ATFolder?)
and where I should look for them. Below is the
Traceback...

regards,
Fred

Traceback (innermost last):
Module ZPublisher.Publish, line 100, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, 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 /Plone/sitemap>
Module TAL.TALInterpreter, line 189, in __call__
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 663, 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 694, 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 642, in do_defineMacro
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 686, in do_defineSlot
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 459, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 220, in
evaluate
- Line 164, 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 0199DF20>,
'context': <PloneSite instance at 0199DF20>,
'default': <Products.PageTemplates.TALES.Default
instance at 0x010C6F08>,
'here': <PloneSite instance at 0199DF20>,
'loop': <SafeMapping instance at 032F29B0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModu
leImporter instance at 0x010C0B98>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 032F29B0>,
'request': <HTTPRequest,
URL=http://localhost/sitemap>,
'root': <Application instance at 01982A10>,
'template': <FSPageTemplate at /Plone/sitemap>,
'traverse_subpath': [],
'user': fonis}
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 /Plone/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

Discussion


Log in to post a comment.