[Zope3-dev] Bug in "Zope Configuration Error" tracebacks

Steve Alexander steve@cat-box.net
Tue, 28 May 2002 15:47:48 +0100


Guido van Rossum wrote:
> I'm trying to get the JobBoardEx demo running again.  There's a
> problem in the configuration file (of course :-), but the traceback
> doesn't help me tracking it down: the line numbers in the zcml files
> (the only clues I have) are wrong.  Here's the full traceback, with
> some annotations:
> 
> TypeError: __init__() got an unexpected keyword argument 'methods'
> 
> Help!!!

protectClass should use "names" rather than "methods".

I'll update Zope/App/Security/security-meta.zcml accordingly.

--
Steve Alexander