Re: [Zope3-Users] error headache: __init__() takes exactly 1 argument (3 given)

2006-04-27 Thread Bernd Dorn
did you override the constructor in vine.vinePackage.VinePackage or one of its superclasses? iv yes, then you need def __init__(self,context,request): ... as constructor, you can test it by just removing the class attribute of your page directive On 27.04.2006, at 21:08, Jachin

Re: [Zope3-Users] error headache: __init__() takes exactly 1 argument (3 given)

2006-04-27 Thread Jachin Rupe
hi there Thanks for the reply. Removing the class attribute from the page directive got rid of the error. However I'm not overriding the VinePackage class. class VinePackage(BTreeContainer): implements(IVinePackage) title = u Since it is inheriting