[Zope] Catalog Anything Problem
Casey Duncan
cduncan@kaivo.com
Wed, 02 May 2001 08:42:06 -0600
> Bobby Mathew wrote:
>
[snip]
>
> Now i went into the Find Objects section and searched for the
> getProdtoCatalog zsql method and added to the catalog
>
This should not be necessary, the ZSQL method itself should not be
cataloged
> Next i went and created the python script (again under the Products
> ZCatalog itself) and i called it catalogProducts this is the code
> inside
>
So, both the ZSQL method and the python script are contained by the
ZCatalog correct? In other words they are listed under the Contents tab
of the Products catalog.
[snip]
>
> Zope Error
>
> Zope has encountered an error while publishing this resource.
>
> Error Type: AttributeError
> Error Value: getProdToCatalog
>
This means the ZSQL method is not in the same container as the Python
script, or the container binding in the Python script is messed up. Have
the bindings been changed?
P.S. Please do not post HTML formatted emails to the list! Thanks.
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>