Edit detail for #152 TypeError: unexpected keyword argument header with zope 2.4.0 revision 2 of 2

1 2
Editor: simon
Time: 2009/11/08 15:20:04 GMT-8
Note: cleanup

removed:
-From unknown Tue Dec 21 13:04:25 -0800 2004
-From: 
-Date: Tue, 21 Dec 2004 13:04:25 -0800
-Subject: property change
-Message-ID: <[email protected]>
-
-
-
-From unknown Tue Dec 28 13:46:25 -0800 2004
-From: 
-Date: Tue, 28 Dec 2004 13:46:25 -0800
-Subject: edfas
-Message-ID: <[email protected]>
-
-adsfasda
-
-From unknown Tue Dec 28 13:46:48 -0800 2004
-From: 
-Date: Tue, 28 Dec 2004 13:46:48 -0800
-Subject: property change
-Message-ID: <[email protected]>
-
-

Submitted by : simon at: 2003-10-26T21:31:33+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

"Trevor Toenjes" <zope@toenjes.com> writes:
> I havent tried zWiki since 9.6, so I just installed 9.9.
>
> Error type: TypeError?
> Error value: __call__() got an unexpected keyword argument header
>
> But I get this on all my existing zwiki pages
> So I tied a new Wiki using zwikidotorg-0.9.6 and still get the same error.

Zwiki assumes HTMLClass? takes a header argument in zope 2.4.0 and greater, but it's actually a zope 2.4.1 addition. Workaround: remove the header argument from the call in ZWikiPage, eg at line 627 in zwiki 0.9.9.


Simon, 2002/05/11 20:40 GMT (via web):
Fixed for 0.9.10, but not tested by me - confirmation from zope 2.4.0 users would be appreciated.