[Zope] ImplicitAcquirerWrapper Error

beno zope@thewebsons.com
Mon, 06 Jan 2003 18:20:45 -0400


At 05:24 PM 1/6/2003 -0400, you wrote:
>Hi;
>I'm trying to write a script and have this code:
>
>folder = context.objectValues('Folder')
>return len(folder)
>
>When there are no folders in said folder, the answer comes back *0* (as 
>one would expect). However, when I put a folder in there, I get this:
>
>TypeError: cannot add type "ImplicitAcquirerWrapper" to string

For some reason this works now when it didn't before.



>What have I done wrong?
>Also, I would actually like to count the number of DTMLMethods. To what do 
>I change the first line of code?

Figured that out too: *DTML Method* (didn't think about the space)
beno