[Zope] Newbie needs help - Zope 2.6.1 corrupting user objects?

John Pedersen charles.pedersen@sri.com
Wed, 23 Jul 2003 14:44:46 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C35128.F5EE6950
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Folks,

I've tried to find an answer by searching the collector, the mailing list
archives, and google.  Didn't have much luck.

I've got a site running Zope 2.6.1 under RH Linux.  We are using a current
version of Plone.

The whole thing was set up about a month and a half ago, and after
discovering that running on Sun was at times problematic, we've had very
good results running under RH 9.

I've got about a hundred site members and I've had three instances now where
for some as yet undetermined reason, something in a user's account becomes
corrupted and they can no longer log in.  When this happens, each time the
user goes to log in, a stack trace is created.  Apparently this happens
after the user password is  compared to what Zope knows, because changing
the user password through the management interface will instead cause the
expected password failure page to be rendered.

Deleting the user and recreating using the same userid doesn't resolve the
problem which implies that there is some kind of persistence at work here.
If you recreate as the same userid and with a new password, logging in
causes the same stack trace to be displayed.

I've attached one stack trace, but the other two are identical except for
the instance number.

I'm new to Zope and finding that my lack of familiarity with the code base
is slowing me down.  If anyone out there can suggest some troubleshooting
approaches, I would appreciate it.  When this was limited to just one person
it was an annoyance, but now its become critical to site functioning to
solve this problem.

Thanks in advance,

John

Charles John Pedersen
Sr. Systems Engineer
SRI International
Menlo Park, CA 94025
650-859-5913


------=_NextPart_000_000A_01C35128.F5EE6950
Content-Type: text/plain;
	name="lvoss_error.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="lvoss_error.txt"

Site Error

An error was encountered while publishing this resource.

RuntimeError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 150, in publish_module
    * Module Products.Localizer, line 58, in new_publish
    * Module ZPublisher.Publish, line 114, in publish
    * Module Zope.App.startup, line 182, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Products.CMFCore.FSPythonScript, line 90, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 124, in _exec
      __traceback_info__: ({'script': <FSPythonScript at =
/Plone/logged_in>, 'context': <PloneSite instance at 8f46bb0>, =
'container': <PloneSite instance at 8f46bb0>, 'traverse_subpath': []}, =
(), {}, None)
    * Module Script (Python), line 40, in logged_in
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <ZopePageTemplate at /Plone/login_success>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 636, in do_loop_tal
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 668, in do_condition
    * Module Products.PageTemplates.TALES, line 217, in evaluate
      URL: /Plone/login_success
      Line 184, Column 24
      Expression: standard:'folder'
      Names:

{'container': <PloneSite instance at 8f46bb0>,
 'default': <Products.PageTemplates.TALES.Default instance at =
0x86ae034>,
 'here': <PloneSite instance at 8f46bb0>,
 'loop': <SafeMapping instance at a495880>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter =
instance at 0x86b36cc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at a495880>,
 'request': <HTTPRequest, =
URL=3Dhttps://calo.sri.com/cgi-bin/Zope.cgi/Plone/logged_in>,
 'root': <Application instance at 917ac38>,
 'template': <ZopePageTemplate at /Plone/login_success>,
 'traverse_subpath': [],
 'user': lvoss}

    * Module Products.PageTemplates.Expressions, line 206, in __call__
    * Module Products.PageTemplates.Expressions, line 201, in _eval
    * Module Products.PageTemplates.Expressions, line 108, in render
    * Module Products.CMFPlone.PloneFolder, line 91, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 167, in _exec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 636, in do_loop_tal
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 668, in do_condition
    * Module Products.PageTemplates.TALES, line 217, in evaluate
      Line 184, Column 24
      Expression: standard:'folder'
      Names:

{'container': <PloneSite instance at 8f46bb0>,
 'default': <Products.PageTemplates.TALES.Default instance at =
0x86ae034>,
 'here': <PloneFolder instance at bd134b8>,
 'loop': <SafeMapping instance at bb15900>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter =
instance at 0x86b36cc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at bb15900>,
 'request': <HTTPRequest, =
URL=3Dhttps://calo.sri.com/cgi-bin/Zope.cgi/Plone/logged_in>,
 'root': <Application instance at 917ac38>,
 'template': <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>,
 'traverse_subpath': [],
 'user': lvoss}

    * Module Products.PageTemplates.Expressions, line 206, in __call__
    * Module Products.PageTemplates.Expressions, line 201, in _eval
    * Module Products.PageTemplates.Expressions, line 108, in render
    * Module Products.CMFPlone.PloneFolder, line 91, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 167, in _exec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 636, in do_loop_tal
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 668, in do_condition
    * Module Products.PageTemplates.TALES, line 217, in evaluate
      Line 184, Column 24
      Expression: standard:'folder'
      Names:

{'container': <PloneSite instance at 8f46bb0>,
 'default': <Products.PageTemplates.TALES.Default instance at =
0x86ae034>,
 'here': <PloneFolder instance at bd134b8>,
 'loop': <SafeMapping instance at bbf0018>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter =
instance at 0x86b36cc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at bbf0018>,
 'request': <HTTPRequest, =
URL=3Dhttps://calo.sri.com/cgi-bin/Zope.cgi/Plone/logged_in>,
 'root': <Application instance at 917ac38>,
 'template': <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>,
 'traverse_subpath': [],
 'user': lvoss}

    * Module Products.PageTemplates.Expressions, line 206, in __call__
    * Module Products.PageTemplates.Expressions, line 201, in _eval
    * Module Products.PageTemplates.Expressions, line 108, in render
    * Module Products.CMFPlone.PloneFolder, line 91, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 167, in _exec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 636, in do_loop_tal
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 668, in do_condition
    * Module Products.PageTemplates.TALES, line 217, in evaluate
      Line 184, Column 24
      Expression: standard:'folder'
      Names:

{'container': <PloneSite instance at 8f46bb0>,
 'default': <Products.PageTemplates.TALES.Default instance at =
0x86ae034>,
 'here': <PloneFolder instance at bd134b8>,
 'loop': <SafeMapping instance at a3083f8>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter =
instance at 0x86b36cc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at a3083f8>,
 'request': <HTTPRequest, =
URL=3Dhttps://calo.sri.com/cgi-bin/Zope.cgi/Plone/logged_in>,
 'root': <Application instance at 917ac38>,
 'template': <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>,
 'traverse_subpath': [],
 'user': lvoss}

    * Module Products.PageTemplates.Expressions, line 206, in __call__
    * Module Products.PageTemplates.Expressions, line 201, in _eval
    * Module Products.PageTemplates.Expressions, line 108, in render
    * Module Products.CMFPlone.PloneFolder, line 91, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 167, in _exec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 636, in do_loop_tal
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 668, in do_condition
    * Module Products.PageTemplates.TALES, line 217, in evaluate
      Line 184, Column 24
      Expression: standard:'folder'
      Names:

{'container': <PloneSite instance at 8f46bb0>,
 'default': <Products.PageTemplates.TALES.Default instance at =
0x86ae034>,
 'here': <PloneFolder instance at bd134b8>,
 'loop': <SafeMapping instance at a784210>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter =
instance at 0x86b36cc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at a784210>,
 'request': <HTTPRequest, =
URL=3Dhttps://calo.sri.com/cgi-bin/Zope.cgi/Plone/logged_in>,
 'root': <Application instance at 917ac38>,
 'template': <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>,
 'traverse_subpath': [],
 'user': lvoss}

    * Module Products.PageTemplates.Expressions, line 206, in __call__
    * Module Products.PageTemplates.Expressions, line 201, in _eval
    * Module Products.PageTemplates.Expressions, line 108, in render
    * Module Products.CMFPlone.PloneFolder, line 91, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 167, in _exec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <FSPageTemplate at /Plone/folder_listing used for =
/Plone/Members/lvoss/Favorites>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 669, in do_condition
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 636, in do_loop_tal
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret

RuntimeError: maximum recursion depth exceeded (Also, an error occurred =
while attempting to render the standard error message.)

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an =
error.

For more detailed information about the error, please refer to the HTML =
source for this page.

If the error persists please contact the site maintainer. Thank you for =
your patience. 
------=_NextPart_000_000A_01C35128.F5EE6950--