AttributeError when attempting to view a a user in acl_users
I am trying to move a site from Zope 2.6.1 on Linux to Zope 2.7.3 on Mac OS X Server and have run into a very bizarre problem. Whenever I attempt to view a user in any acl_user folder on the XServe I get an AttributeError with 'name' being the attribute causing the error. Additionally, it does not appear that the acl_users from the site I moved is being used by Zope at all. Users that could log in on the old server are unable to do so on the new one. Here is the entry in error_log: Time 2005/01/06 11:31:53.891 US/Pacific User Name (User Id) Dane Jensen (Dane Jensen) Request URL http://portland.econw.com:8080/acl_users/manage_users Exception Type AttributeError Exception Value name Traceback (innermost last): * Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module AccessControl.User, line 939, in manage_users * Module Shared.DC.Scripts.Bindings, line 306, in __call__ * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec * Module App.special_dtml, line 175, in _exec * Module DocumentTemplate.DT_Util, line 198, in eval __traceback_info__: user * Module <string>, line 0, in ? AttributeError: name The XServe is running Zope 2.7.3-0 under Python 2.3.4 on the latest version of OS X Server 10.3. I'm stumped. Any thoughts? Thanks, -Dane Jensen
This may mean you have a folder or object named 'user' around. Remove that. Treat 'user' as a reserved id. Welcome to the joys of the DTML namespace. ;-) Stefan On 6. Jän 2005, at 20:50, Dane Jensen wrote:
Time 2005/01/06 11:31:53.891 US/Pacific User Name (User Id) Dane Jensen (Dane Jensen) Request URL http://portland.econw.com:8080/acl_users/manage_users Exception Type AttributeError Exception Value name
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module AccessControl.User, line 939, in manage_users * Module Shared.DC.Scripts.Bindings, line 306, in __call__ * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec * Module App.special_dtml, line 175, in _exec * Module DocumentTemplate.DT_Util, line 198, in eval __traceback_info__: user * Module <string>, line 0, in ?
AttributeError: name
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
On Jan 6, 2005, at 2:29 PM, Stefan H. Holek wrote:
This may mean you have a folder or object named 'user' around. Remove that. Treat 'user' as a reserved id. Welcome to the joys of the DTML namespace. ;-)
Stefan
Erm, I did indeed have a folder named "user," and renaming it worked like a charm. After fighting with the joys of DTML's magic namespaces for an hour yesterday, one would have thought I'd have learned my lesson. But no. Thanks! -Dane
Thanks I reported this as http://collector.zope.org/Zope/1653 Florent Stefan H. Holek <stefan@epy.co.at> wrote:
This may mean you have a folder or object named 'user' around. Remove that. Treat 'user' as a reserved id. Welcome to the joys of the DTML namespace. ;-)
Stefan
On 6. Jän 2005, at 20:50, Dane Jensen wrote:
Time 2005/01/06 11:31:53.891 US/Pacific User Name (User Id) Dane Jensen (Dane Jensen) Request URL http://portland.econw.com:8080/acl_users/manage_users Exception Type AttributeError Exception Value name
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module AccessControl.User, line 939, in manage_users * Module Shared.DC.Scripts.Bindings, line 306, in __call__ * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec * Module App.special_dtml, line 175, in _exec * Module DocumentTemplate.DT_Util, line 198, in eval __traceback_info__: user * Module <string>, line 0, in ?
AttributeError: name
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
participants (3)
-
Dane Jensen -
Florent Guillaume -
Stefan H. Holek