[Zope] This is driving me nuts! - unable to edit users
Stefan H. Holek
stefan@epy.co.at
Tue, 11 Feb 2003 11:40:54 +0100
Kevin!
You have something called 'user' in your system. A folder, or method, or
something. The user management screens find you 'user' object instead of
the parameter passed to them. Consider 'user' a reserved word and don't use
that name for your own things.
HTH,
Stefan
--On Dienstag, 11. Februar 2003 09:47 +0000 kevin bailey
<kbailey@freewayprojects.com> wrote:
> hi there - running zope on debian stable/woody
>
> i had this problem when i first installed zope - and think i fixed it by
> turning off caching. but it has reappeared on a test server i have
> running. i can create users - but when trying to edit them i get the
> following error message:
>
> Zope
> Zope Error
>
> Zope has encountered an error while publishing this resource.
>
> Error Type: AttributeError
> Error Value: name
>
> i would like to get to the bottom of this and fix it once and for all!!!!
>
>
> here is the trace in the page... - thanks for any help - kev bailey
>
>
> <!--
> Traceback (innermost last):
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 150, in
> publish_module File /usr/lib/zope/lib/python/ZPublisher/Publish.py,
> line 114, in publish File /usr/lib/zope/lib/python/Zope/__init__.py,
> line 159, in zpublisher_exception_hook (Object: acl_users)
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 98, in
> publish File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 88,
> in mapply (Object: manage_users)
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 39, in
> call_object (Object: manage_users)
> File /usr/lib/zope/lib/python/AccessControl/User.py, line 926, in
> manage_users (Object: acl_users)
> File /usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 252,
> in __call__ (Object: _editUser)
> File /usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 283,
> in _bindAndExec (Object: _editUser)
> File /usr/lib/zope/lib/python/App/special_dtml.py, line 172, in _exec
> (Object: _editUser)
> File /usr/lib/zope/lib/python/DocumentTemplate/DT_Util.py, line 159,
> in eval (Object: user.name)
> (Info: user)
> File <string>, line 0, in ?
> AttributeError: (see above)
>
> -->
--
Those who write software only for pay should go hurt some other field.
/Erik Naggum/