[Zope-dev] Can't access manage_access ...

Dieter Maurer dieter@handshake.de
Mon, 7 May 2001 00:22:24 +0200 (CEST)


Joachim Werner writes:
 > It happens when I want to access a folder's "manage_access" page....
 >
 > Error Type: AttributeError
 > Error Value: __getitem__
 > 
 > Traceback (innermost last):
 > ....
 >   File /var/lib/zope/iuvenoProducts/lib/python/AccessControl/Role.py, line
 > 177, in <lambda>
 > AttributeError: (see above)

Seems that "valid_roles" (called on the folder) no longer returns a sequence...
May be someone has defined an object of this name.

To find out the culprit, it would probably the easiest thing
to add a "print" statement in "Role.py" that outputs
"valid" together with the result of "getId()", if this is defined.


Dieter