[EMAIL PROTECTED] writes: > .... > I then get the following error: > > 2002-11-20T12:20:45 ERROR(200) ZODB Couldn't load state for > '\x00\x00\x00\x00\x00\x00\n\xa5' > Traceback (innermost last): > Module ZODB.Connection, line 533, in setstate > TypeError: ('expected 1 arguments, got 0', <extension class > AccessControl.cAccessControl.PermissionRole at 00E35258>, ()) > > I have spent quite some time debugging this last night. Line 533 in > ZODB.Connection is > > state = unpickler.load() > > and the message means (it took some time to understand!) that unpickler.load() > did not return anything. That appears not to be your problem:
All Python calls return something, maybe "None". Your error message suggests that a "PermissionRole" instance is called without argument. This cannot be caused by a wrong "state" value above. You did read the ZODB3 documentation and the Zope Developper Guide, before you started to do such difficult staff? Dieter _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )