Menu

#40 maximum recursion depth exceeded

open
5
2005-07-05
2005-07-05
Anonymous
No

email address: harshad.behere@gmail.com

I am using Zope 2.7.6-final, python 2.3.4, CMFPlone
2.0.5, GroupUserFolder 2.0.1 and exUserFolder-0-50-1.
I have added exUserFolder inside existing GRUF
acl_users folder with PostgreSQL as Auth Source with
portal_memberdata wrapper as PropertySource.
After this i am getting following error whenever i
click on acl_users.

# Module Products.exUserFolder.User, line 205, in getId
# Module
Products.exUserFolder.PropSources.cmfPropSource.cmfPropSource,
line 99, in getUserProperty
# Module Products.CMFCore.MembershipTool, line 320, in
getMemberById
# Module AccessControl.User, line 497, in getUserById
RuntimeError: maximum recursion depth exceeded.

Discussion

  • Richard Barrett

    Richard Barrett - 2006-03-08

    Logged In: YES
    user_id=75166

    I got an infinite recursion failure too albeit using later version of everything
    but exUserFolder.

    I broke the infinite cycle of recursion by commenting out two lines of the
    function XUFUser.getId() in file exUserFolder/User.py (line 224 and 225 in my
    source code). Crude but it got things working. Code now looks like:

    def getId(self):
    # if self._propSource and self._propSource.getUserProperty('userid',
    self.name):
    # return self._propSource.getUserProperty('userid', self.name)
    return self.name

     
  • Richard Barrett

    Richard Barrett - 2006-03-08

    Logged In: YES
    user_id=75166

    subsequently found this path with same solution had been posted:

    [ 907748 ] EXUF and portal_memberdata wrapper

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.