[Zope-CMF] maximum recursion depth exceeded error with exUser Folder

Dennis Heltzel dheltzel@adolor.com
Wed, 5 Mar 2003 16:33:09 -0500


It works fine as long as I don't select portal_memberdata wrapper as the
property source. When I try to use this combo outside of a CMF or Plone
folder I get an error on portal_memberdata (quite understandable, since it
doesn't exist).

The simplest test case I've found is:
1) Zope with CMF & XUL installed as products
2) Add a CMF site, no userfolder (or with userfolder and then delete it)
3) Go to the CMF "root" and add an XUL object.
  - SMB Auth
  - portal_memberdata wrapper
  - basic
4) Fill out the rest as desired, no option choices seem to matter.
5) Attempt to navigate in the ZMI or in the CMF site. Even moving back to
the ZMI root (with it's own original acl_users folder) triggers the errors.
The only way to get my Zope back is to delete the XUL or the entire CMF site
object.

Is that enough details ?
I've tried a bunch of combinations of different versions, with and without
Plone, different config options, etc. None of them seem to affect the
problem. This is all running on Linux (RedHat 8.0 with patches) and I can
replicate the problem easily on 2 different systems with differing hardware.

Dennis

-----Original Message-----
From: Troy Farrell [mailto:troy@entheossoft.com]
Sent: Wednesday, March 05, 2003 4:15 PM
To: Dennis Heltzel
Cc: 'zope-cmf@zope.org'
Subject: Re: [Zope-CMF] maximum recursion depth exceeded error with
exUser Folder


Dennis, I'm sure this is a silly question, but is xuf (and nt domain 
auth) working alright with zope, outside a cmf site?  I want to make 
sure we have the problem as simple as possible.

Troy

Dennis Heltzel wrote:
> Thanks for the tip, but I'm still confused. The section of code in that
file
> is (starting at line 89): 
> 
>     if _stupid_format is None:
>         _stupid_dest.write(
>             "------\n"
>             "%s %s %s %s\n%s"
>             %
>             (log_time(),
>              severity_string(severity),
>              subsystem,
>              summary,
>              detail,
>              )
>             )
> 
>     _stupid_dest.flush()
> 
> I don't understand what this means for my error stack, except that I'm
stuck
> and can't get it to work :(
> I could probably figure it out myself if I was a good Python programmer,
but
> I'm mostly just the administrator trying to get a working content portal
for
> my company. Getting a pilot Oracle Portal running was a major pain, so I'm
> prepared to work through some things, but I'm clearly in over my head
here.
> 
> Would it help to try a different version of Zope (this is on 2.6.1)? I
seem
> to remember the same symptoms with 2.5.x and 2.6.0, but it could have been
a
> different cause.
> 
> Dennis
> 
> BTW, the Oracle Portal project got no funding this year, providing a
window
> for me to implement a Zope portal with the devious plan to have it working
> with enough functionality that the Oracle version never gets funded, but
> that mods and enhancements to our (then) working Zope portal do. This
"it's
> what we already know" mentality is what has kept OSS software out of the
> enterprise in many cases in the past, now it's working in our favor.
> 
> -----Original Message-----
> From: Dieter Maurer [mailto:dieter@handshake.de]
> Sent: Wednesday, March 05, 2003 2:49 PM
> To: Dennis Heltzel
> Cc: 'zope-cmf@zope.org'
> Subject: Re: [Zope-CMF] maximum recursion depth exceeded error with
> exUserFolder
> 
> 
> Dennis Heltzel wrote at 2003-3-4 15:09 -0500:
>  > ...
>  >   File /opt/Zope-2.6.1/lib/python/ZLogger/stupidFileLogger.py, line 90,
> in
>  > stupid_log_write
>  > RuntimeError: maximum recursion depth exceeded
> 
> This traceback does not look like a "maximum recursion depth exceeded"
> traceback.
> 
> Maybe, there is some problem in line 90 of "stupidFileLogger.py".
> Check that code whether it is able to produce an recursion.
> ("__getattr__" is very vulnerable).
> 
> 
> Dieter
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests