[Setup] Upgrading from Plone 2.0.5 to 2.1.2 I get ... maximum recursion depth exceeded

Calin Damian calin.damian at gmail.com
Sat Apr 29 18:00:23 UTC 2006


I have managed to solve it by deleting "portal_types" object and
importing a copy from another Plone instance.

After that I took the migrate steps again and now it's working

For future reference, here is the link where I found the ideea
http://dev.plone.org/plone/ticket/4374

Thanks Tim Morgan for posting it



On 4/29/06, Calin Damian <calin.damian at gmail.com> wrote:
> Hi!
>
> I have all the products in the new instance.
> I also tried this:
> goto portal_atct
> goto type migraitons
> click "Fix Types"
> then click "Migrate"
>
> After I click Migrate I get this error:
>
>
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
> Couldn't migrate src_portal_type due to missing FTI
>
> :(
>
> Any idea? Anything else to try out?
>
> Thanks
>
>
> On 4/29/06, Robert HERZOG <rherzog at aamodels.be> wrote:
> > Calin Damian wrote:
> >
> > > Hello!
> > >
> > > I'm trying to upgrade from Plone 2.0.5  to  2.1.2
> > > Old environment:   Zope 2.7.3-0, python 2.3.5, Plone 2.0.5
> > > New environment: Zope 2.8.6-final, python 2.3.5, Plone 2.1.2
> > >
> > >
> > > I have migrated succesfully (with no errors reported) all hosted sites.
> > > For 1 site out of 8 I'm getting this error when loading the site
> > >
> > > Error Type
> > >    RuntimeError
> > > Error Value
> > >    maximum recursion depth exceeded
> > >
> > > Searching the net and this list I did not find any useful reference.
> > >
> > >
> > > I'm attaching the relevant part of the Zope log:
> > >
> > > 2006-04-29T19:17:37 ERROR Zope.SiteErrorLog
> > > http://zope.reu.pub.ro/re2u/index_html
> > > Traceback (most recent call last):
> > >  File "/opt/Zope-2.8.6/lib/python/ZPublisher/Publish.py", line 114, in
> > > publish
> > >    request, bind=1)
> > >  File "/opt/Zope-2.8.6/lib/python/ZPublisher/mapply.py", line 88, in
> > > mapply
> > >    if debug is not None: return debug(object,args,context)
> > >  File "/opt/Zope-2.8.6/lib/python/ZPublisher/Publish.py", line 40, in
> > > call_object
> > >    result=apply(object,args) # Type s<cr> to step into published object.
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFCore/PortalContent.py",
> > > line 109, in __call__
> > >    return method()
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFCore/PortalContent.py",
> > > line 109, in __call__
> > >    return method()
> > >
> > > ..... A LOT OF SIMILAR LINES DELETED
> > >
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFCore/PortalContent.py",
> > > line 109, in __call__
> > >    return method()
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFCore/PortalContent.py",
> > > line 100, in __call__
> > >    method_id = ti and ti.queryMethodID('(Default)', context=self)
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFDynamicViewFTI/fti.py",
> > > line 221, in queryMethodID
> > >    methodTarget = self.defaultView(context)
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFDynamicViewFTI/fti.py",
> > > line 189, in defaultView
> > >    obj, path = plone_utils.browserDefault(context)
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFPlone/PloneTool.py", line
> > > 1099, in browserDefault
> > >    act = obj.getTypeInfo().getActionById('view')
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFCore/TypesTool.py", line
> > > 277, in getActionById
> > >    target = action.action(context).strip()
> > >  File "/usr/Zope-2.8.6_instance/Products/CMFCore/Expression.py", line
> > > 44, in __call__
> > >    res = compiled(econtext)
> > >  File "/opt/Zope-2.8.6/lib/python/Products/PageTemplates/Expressions.py",
> > > line 224, in __call__
> > >    v = var(econtext)
> > >  File "/opt/Zope-2.8.6/lib/python/Products/PageTemplates/Expressions.py",
> > > line 185, in __call__
> > >    return self._eval(econtext)
> > >  File "/opt/Zope-2.8.6/lib/python/Products/PageTemplates/Expressions.py",
> > > line 173, in _eval
> > >    ob = self._subexprs[-1](econtext)
> > > RuntimeError: maximum recursion depth exceeded
> > >
> > >
> > >
> > > I appreciate your efforts. Thank you!
> > >
> > >
> > > --
> > > Best Regards
> > > Calin DAMIAN
> > > _______________________________________________
> > > Setup mailing list
> > > Setup at lists.plone.org
> > > http://lists.plone.org/mailman/listinfo/setup
> > >
> > This issue is exlicitly mentioned on the Plone site and a cure exists. I
> > cannot remind precisely, but it is kind of a 3 steps procedure to
> > convert the old CMF formats into the AT formats. Run a google search or
> > look at the Plone portal.
> > I had to cure in the same way. make sure you have al products of your
> > old site installed on the new one. Lack of some may induce unrepairable
> > situation.
> > Robert
> >
> > --
> > Robert Herzog
> > Elewijtsesteenweg 190
> > B-1980 Eppegem BELGIUM
> > T.+32 15 621004 F.+32 15 627030
> > http://mail.map24.com/herzog-robert
> >
> >
>
>
> --
> Best Regards
> Calin DAMIAN
>


--
Best Regards
Calin DAMIAN



More information about the Setup mailing list