Re: plone 3.1rc error on password reset
from
Rob Miller
on May 12, 2008 08:07 PM
this is pretty old, sorry...
Peter Fraterdeus wrote:
> Error traceback follows
>
> This site is on Plone 3.1rc buildout, products include:
>
> CMFSquidTool
> CacheSetup
> NuPlone trunk
> PloneFormGen
> PloneSlimbox
> fatsyndication 0.1
> membrane 1.1 svn/dev
> MAETheme 0.1
> remember 1.0 (svn/unreleased)
>
> Are there known issues with any of these and Password Reset?? (MAE is a simple paster theme, no templates, just css)
> This occurs both as a logged in manager attempting to reset a user password, as well as when Anon tries to reset their own.
hrm... i couldn't reproduce this exact error, using Plone 3.1.1 release and
membrane/remember from svn trunk. maybe it got fixed in Plone in the interim.
i did get an Unauthorized error in the exact same location, however, if the
member profile was marked as private. i've committed a fix for this to
remember trunk, r64703.
-r
>
> TIA
> pf
>
> ========
> Traceback (innermost last):
> Module ZPublisher.Publish, line 119, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
> Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
> Module Products.CMFFormController.ControllerBase, line 231, in getNext
> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
> Module Products.CMFFormController.Script, line 145, in __call__
> Module Products.CMFCore.FSPythonScript, line 140, in __call__
> Module Shared.DC.Scripts.Bindings, line 313, in __call__
> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
> Module Products.CMFCore.FSPythonScript, line 196, in _exec
> Module None, line 29, in prefs_user_manage
> - <FSControllerPythonScript at /sites/maquoketa-arts.org/maquoketa-arts.org/prefs_user_manage>
> - Line 29
> Module Products.remember.tools.registration, line 103, in mailPassword
> Module Shared.DC.Scripts.Bindings, line 313, in __call__
> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
> Module Products.CMFCore.FSPageTemplate, line 216, in _exec
> Module Products.CacheSetup.patch_cmf, line 28, in FSPT_pt_render
> Module Products.CacheSetup.patch_utils, line 9, in call_pattern
> Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
> Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
> Module Products.CacheSetup.patch_utils, line 9, in call_pattern
> Module Products.PageTemplates.PageTemplate, line 89, in pt_render
> Module zope.pagetemplate.pagetemplate, line 117, in pt_render
> Module zope.tal.talinterpreter, line 271, in __call__
> Module zope.tal.talinterpreter, line 346, in interpret
> Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
> Module zope.tales.tales, line 696, in evaluate
> - URL: file:/.../parts/plone/PasswordResetTool/skins/PasswordReset/mail_password_template.pt
> - Line 1, Column 0
> - Expression: <PythonExpr request.RESPONSE.setHeader('Content-Type', 'text/plain; charset=%s' % options['charset'])>
> - Names:
> {'container': <PloneSite at /sites/maquoketa-arts.org/maquoketa-arts.org>,
> 'context': <RegistrationTool at /sites/maquoketa-arts.org/maquoketa-arts.org/portal_registration>,
> 'default': <object object at 0xf6f81528>,
> 'here': <RegistrationTool at /sites/maquoketa-arts.org/maquoketa-arts.org/portal_registration>,
> 'loop': {},
> 'nothing': None,
> ...
> 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xee00e26c>,
> 'request': <HTTPRequest, URL=http://www.maquoketa-arts.org/prefs_users_overview>,
> 'root': <Application at >,
> 'template': <FSPageTemplate at /sites/maquoketa-arts.org/maquoketa-arts.org/mail_password_template used for /sites/maquoketa-arts.org/maquoketa-arts.org/portal_registration>,
> 'traverse_subpath': [],
> 'user': <MembraneUser '...'>}
> Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
> - __traceback_info__: request.RESPONSE.setHeader('Content-Type', 'text/plain; charset=%s' % options['charset'])
> Module PythonExpr, line 1, in <expression>
> Module AccessControl.ZopeGuards, line 67, in guarded_getitem
> KeyError: 'charset'
>