Hi On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
hi a clean install won't start properly with ZDiscussion product install. the same thing also with ZDiscussion based classes created.
There is a missing comma in the definition of __ac_permissions__ in class ZDItem (file ZDiscussions.py): __ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)) ) Just add a comma before the last parenthesis: __ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)), ) In this way, __ac_permissions__ becomes a tuple of permissions (one, in this case), as it should be. -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/