[Zope] too many arguments TypeError problem

Florent Guillaume fg@nuxeo.com
22 Aug 2001 14:16:12 GMT


>         # the below line is line 48
>         Photo.Photo.tag(self,REQUEST, display,pdcookie,
> height,width,alt,args)
>[...]
> Error Type: TypeError
> Error Value: too many arguments; expected 7, got 8

Use: 
Photo.Photo.tag(REQUEST, display,pdcookie,height,width,alt,args)

self is implicitly passed when you use the member notation (Photo.tag).


Florent Guillaume
Nuxeo