[Setup] problems with Members folder after a 2.0.5 -> 2.1.3 migration
Zhelia
zhelia at free.fr
Thu Jul 6 11:01:11 UTC 2006
Hello,
My apologizes for disturbing you but you're my last ressource ...
After a "successfull" migration, the "view", "edit" or "see properties"
actions on Members'folder throw errors (see the tracebacks below).
This looks like an "old" bug (http://dev.plone.org/plone/ticket/5089)
Does Members folder really migrate correctly ? Some informations :
- Before and after migration Members'folder has a "Large Plone Folder"
metatype, and a "Folder" type
- Members'folder isn't listed in the archetype tools 's catalog (so it
hasn't an UID)
- If I modify the aliases of the "FOLDER" type (and not those of "Large
Plone Folder" type) in the portal type, replacing "dynamic view" and
"atct_edit" by folder_listing or folder_contents and "folder edit form"
, it works.
I have follow the advices of Alec Mitchell on SF (update portal_catalog,
atct_portal/recatalog, atct_portal/type Migration/fix portal type name
and migrate) without success (but all seems to go well).
I would like to apply the Raphael Ritz 's code but ... hmm ... well, i'm
afraid to say that I don't know how to do exactly ...
Thanks for your help,
regards,
Chloé
- Versions informations
Plone version: 2.1.3
Zope version: (Zope 2.7.8-final, python 2.3.5, linux2)
Apache version:
CMF version (if known): CMF-1.5.6
Browser(s) and version(s): Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Operating system: linux2
Python version: 2.3.5 (#2, Sep 4 2005, 22:01:42)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
Debug mode: Yes
- installed products
ATContentTypes 1.0.5-final installed
ATReferenceBrowserWidget 1.4 installed
Archetypes 1.3.9-final installed
BTreeFolder2 BTreeFolder2-1.0.2
CMFActionIcons CMF-1.5.6 installed
CMFCalendar CMF-1.5.6 installed
CMFCore CMF-1.5.6
CMFDefault CMF-1.5.6
CMFDynamicViewFTI 1.0.4
CMFFormController 1.0.7 installed
CMFPlone 2.1.3
CMFQuickInstallerTool 1.5.9 installed
CMFSetup CMF-1.5.6
CMFTopic CMF-1.5.6
CMFUid CMF-1.5.6
DCWorkflow CMF-1.5.6
Epoz 0.8.5
ExtendedPathIndex 2.3
ExternalEditor 0.9.1
ExternalMethod External Method-1-0-0
Formulator Formulator 1.6.2
GroupUserFolder 3.52 installed
LocalFS LocalFS-1-3-andreas
MIMETools
MailHost MailHost-1-3-0
MimetypesRegistry 1.3.8-final04 installed
OFSP OFSP-1-0-0
PageTemplates PageTemplates-1-4-0
PlacelessTranslationService 1.3.1
PloneErrorReporting 0.11 installed
PloneHotfix20060410
PloneHotfix20060518
PloneLanguageTool 1.0 installed
PloneTranslations 2.1.3
PluginIndexes
PortalTransforms 1.3.10-final installed
PythonScripts PythonScripts-2-0-0
ResourceRegistries 1.2.2 installed
SecureMailHost 1.0.4
Sessions
SiteAccess SiteAccess-2-0-0
SiteErrorLog
StandardCacheManagers StandardCacheManagers-1-1-0
TemporaryFolder
Transience
ZCTextIndex
ZCatalog ZCatalog-2-2-0
ZGadflyDA
ZODBMountPoint
ZReST 1.1
ZSQLMethods
ZopeTutorial Zope Tutorial 1.2
generator 1.3.2-final06
kupu kupu 1.3.7-plone installed
validation 1.3.5-final
- Traceback of "view" error
2006-07-06T12:48:35 ERROR(200) SiteError
http://miroir:8080/info/Members/view
Traceback (most recent call last):
File
"/home/aurelien/plone-fondation-june-2006/zope/lib/python/ZPublisher/Publish.py",
line 101, in publish
request, bind=1)
File
"/home/aurelien/plone-fondation-june-2006/zope/lib/python/ZPublisher/mapply.py",
line 88, in mapply
if debug is not None: return debug(object,args,context)
File
"/home/aurelien/plone-fondation-june-2006/zope/lib/python/ZPublisher/Publish.py",
line 39, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFPlone/PloneFolder.py",
line 285, in __call__
return view()
... ETC ... ETC ...
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFPlone/PloneFolder.py",
line 285, in __call__
return view()
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFPlone/PloneFolder.py",
line 281, in __call__
view = _getViewFor(self, 'view', 'folderlisting')
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFPlone/PloneFolder.py",
line 434, in _getViewFor
target=_action['url']
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFCore/ActionInformation.py",
line 87, in __getitem__
value = self.data[key] = value()
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFCore/ActionInformation.py",
line 111, in _getURL
return self._action._getActionObject()(self._ec)
File
"/home/aurelien/plone-fondation-june-2006/instance/Products/CMFCore/Expression.py",
line 44, in __call__
res = compiled(econtext)
File
"/home/aurelien/plone-fondation-june-2006/zope/lib/python/Products/PageTemplates/Expressions.py",
line 213, in __call__
v = var(econtext)
File
"/home/aurelien/plone-fondation-june-2006/zope/lib/python/Products/PageTemplates/Expressions.py",
line 174, in __call__
return self._eval(econtext)
File
"/home/aurelien/plone-fondation-june-2006/zope/lib/python/Products/PageTemplates/Expressions.py",
line 162, in _eval
ob = self._subexprs[-1](econtext)
RuntimeError: maximum recursion depth exceeded
- Traceback of "edit" error
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 102,
in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line
46, in _call
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 195, in _exec
Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
- <FSControllerPageTemplate at /info/atct_edit used for /info/Members>
Module TAL.TALInterpreter, line 190, in __call__
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 671, in do_useMacro
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 460, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:Archetypes/skins/archetypes/base_edit.cpt
- Line 1, Column 0
- Expression: standard:'here/Schemata'
- Names:
{'container': <PloneSite instance at 415ef710>,
'context': <LargePloneFolder instance at 41fccf20>,
'default': <Products.PageTemplates.TALES.Default instance at
0x40aea1ac>,
'here': <LargePloneFolder instance at 41fccf20>,
'loop': <SafeMapping instance at 42058060>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x40aea20c>,
'nothing': None,
'options': {'state': <ControllerState instance at 420584b0>,
'args': ()},
'repeat': <SafeMapping instance at 42058060>,
'request': <HTTPRequest,
URL=http://miroir:8080/info/Members/atct_edit>,
'root': <Application instance at 41580980>,
'template': <FSControllerPageTemplate at /info/atct_edit used
for /info/Members>,
'traverse_subpath': [],
'user': aurelien}
Module Products.PageTemplates.Expressions, line 174, in __call__
Module Products.PageTemplates.Expressions, line 162, in _eval
Module Products.PageTemplates.Expressions, line 116, in _eval
- __traceback_info__: here
Module Products.PageTemplates.Expressions, line 320, in
restrictedTraverse
- __traceback_info__: {'path': ['Schemata'],
'TraversalRequestNameStack': []}
Module OFS.ObjectManager, line 670, in __getitem__
KeyError: 'Schemata'
More information about the Setup
mailing list