[Zope-CMF] upgrade question

Steve Giessler steve.giessler at mail.wvu.edu
Fri Nov 18 17:08:55 EST 2005


Greetings,

I'm upgrading Zope 2.7.6 (with Python 2.3.5) and Plone 2.0.5 to Zope 
2.8.4 (with Python 2.3.5) and Plone 2.1.1 (and PIL 1.1.5). This is all 
being done on a RHEL 4 box. I installed all the new stuff and then I 
copied my Data.fs file to the new instance/var directory. I then ran the 
new Plone instance, went to mysite:8080/manage and in the ZMI migrated 
my plone sites. During migration, each site gave me many pages of these 
errors:

----snippet----
2005-11-18 12:46:04 INFO Zope.ZCatalog Finished migration of indexes for 
clc/portal_catalog
2005-11-18 12:46:08 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665228
2005-11-18 12:46:16 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665227
2005-11-18 12:46:26 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665226
2005-11-18 12:46:32 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665225
2005-11-18 12:46:35 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665224
2005-11-18 12:46:36 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665223
2005-11-18 12:46:38 ERROR ExtendedPathIndex Attempt to unindex 
nonexistent document with id -1984665222
----snippet----

but the sites still seem to run (the basic framework and skins, etc are 
visible). When I hit my plone site though, I see this on the main page:

This site encountered an error trying to fulfill your request. The 
errors were:

Error Type
RuntimeError
Error Value
maximum recursion depth exceeded
Request made at
2005/11/18 17:02:17.389 US/Eastern


And in the Zope log output I see:


2005-11-18 17:01:34 INFO Zope Ready to handle requests
/zope/main_instance/Products/CMFCore/TypesTool.py:275: 
DeprecationWarning: getActionById() is deprecated and will be removed in 
CMF 1.6. Please use getActionInfo()['url'] if you need an URL or 
queryMethodID() if you need a method ID.
  DeprecationWarning)
/zope/main_instance/Products/CMFCore/utils.py:186: DeprecationWarning: 
__call__() and view() methods using _getViewFor() as well as 
_getViewFor() itself are deprecated and will be removed in CMF 1.6. 
Bypass these methods by defining '(Default)' and 'view' Method Aliases.
  DeprecationWarning)
2005-11-18 17:02:16 ERROR Zope.SiteErrorLog 
http://www.as.wvu.edu:8080/clc/index_html
Traceback (most recent call last):
  File "/zope/lib/python/ZPublisher/Publish.py", line 113, in publish
    request, bind=1)
  File "/zope/lib/python/ZPublisher/mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "/zope/lib/python/ZPublisher/Publish.py", line 40, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()
  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
109, in __call__
    return method()

--snip (excess removed)---

  File "/zope/main_instance/Products/CMFCore/PortalContent.py", line 
100, in __call__
    method_id = ti and ti.queryMethodID('(Default)', context=self)
  File "/zope/main_instance/Products/CMFDynamicViewFTI/fti.py", line 
221, in queryMethodID
    methodTarget = self.defaultView(context)
  File "/zope/main_instance/Products/CMFDynamicViewFTI/fti.py", line 
189, in defaultView
    obj, path = plone_utils.browserDefault(context)
  File "/zope/main_instance/Products/CMFPlone/PloneTool.py", line 1095, 
in browserDefault
    act = obj.getTypeInfo().getActionById('view')
  File "/zope/main_instance/Products/CMFCore/TypesTool.py", line 282, in 
getActionById
    target = action.action(context).strip()
  File "/zope/main_instance/Products/CMFCore/Expression.py", line 44, in 
__call__
    res = compiled(econtext)
  File "/zope/lib/python/Products/PageTemplates/Expressions.py", line 
224, in __call__
    v = var(econtext)
  File "/zope/lib/python/Products/PageTemplates/Expressions.py", line 
185, in __call__
    return self._eval(econtext)
  File "/zope/lib/python/Products/PageTemplates/Expressions.py", line 
173, in _eval
    ob = self._subexprs[-1](econtext)
RuntimeError: maximum recursion depth exceeded


Can anyone help me to understand why the migration did not work properly?

Thanks very much,

-- 

Steve Giessler, Unix System Administrator
West Virginia University
Eberly College of Arts and Sciences
201 Woodburn Hall
Morgantown, WV 26506
(304) 293-7855 x2214 or
(304) 293-2011 x2214



More information about the Zope-CMF mailing list