what tells me this traceback I get on the object logged_in? <!-- Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook (Object: www) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: logged_in) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: logged_in) File /usr/local/zope/lib/python/OFS/DTMLMethod.py, line 127, in __call__ (Object: logged_in) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: logged_in) File /usr/local/zope/lib/python/DocumentTemplate/DT_With.py, line 76, in render (Object: portal_properties) File /usr/local/zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render (Object: member="portal_membership.getAuthenticatedMember()") File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: portal_registration.setProperties(last_login_time=member.login_time)) (Info: member) File <string>, line 2, in f File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29, in guarded_getattr (Object: logged_in) File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 47, in guarded_getattr (Object: portal_registration) AttributeError: (see above) --> TIA Stephan
How many times?! ;-) Tracebacks are next to useless unless you include EXCEPTION TYPE and EXCEPTION VALUE as well. cheers, Chris - can I have the top I just blew back please? Stephan Goeldi wrote:
what tells me this traceback I get on the object logged_in?
<!-- Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook (Object: www) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: logged_in) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: logged_in) File /usr/local/zope/lib/python/OFS/DTMLMethod.py, line 127, in __call__ (Object: logged_in) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: logged_in) File /usr/local/zope/lib/python/DocumentTemplate/DT_With.py, line 76, in render (Object: portal_properties) File /usr/local/zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render (Object: member="portal_membership.getAuthenticatedMember()") File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: portal_registration.setProperties(last_login_time=member.login_time)) (Info: member) File <string>, line 2, in f File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29, in guarded_getattr (Object: logged_in) File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 47, in guarded_getattr (Object: portal_registration) AttributeError: (see above)
-->
TIA Stephan
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Stephan Goeldi writes:
what tells me this traceback I get on the object logged_in? Where is your "Error Type" and "Error Value" information?
<!-- Traceback (innermost last): ... portal_registration.setProperties(last_login_time=member.login_time)) (Info: member) File <string>, line 2, in f File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29, in guarded_getattr (Object: logged_in) File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 47, in guarded_getattr (Object: portal_registration) AttributeError: (see above) Almost surely, this is because the visiting user does not have the necessary permission to access "setProperties".
Up to now, I saw 2 reasons for this behaviour: 1. The visiting user was not a member of the portal (but defined outside of it) 2. The permission mapping for "Change own properties" was magically reset (happened just once, was not reproducible). Dieter
what tells me this traceback I get on the object logged_in? Where is your "Error Type" and "Error Value" information?
Error Type: AttributeError Error Value: setProperties
Up to now, I saw 2 reasons for this behaviour:
1. The visiting user was not a member of the portal (but defined outside of it)
checked that already.
2. The permission mapping for "Change own properties" was magically reset (happened just once, was not reproducible).
set own properties is set. It already doesn't work
participants (3)
-
Chris Withers -
Dieter Maurer -
Stephan Goeldi