[Zope] Re: Yihaw product Catalog error [Errata]

peter bengtson peter@grenna.net
Thu, 9 Nov 2000 10:12:11 -0000


I was a fool not to see that. Tired I guess.

The link to the README was though somewhat hidden under "Release
Information".

Sorry for the spamming Zopistas.

----- Original Message -----
From: "Søren Roug" <Soren.Roug@EEA.eu.int>
To: "'peter bengtson'" <peter@grenna.net>
Sent: Thursday, November 09, 2000 9:59 AM
Subject: RE: Yihaw product Catalog error


> You must have a Z Catalog object in the top folder with the name
"Catalog".
> It's clearly spelled out in the README.
>
> || -----Original Message-----
> || From: peter bengtson [mailto:peter@grenna.net]
> || Sent: Wednesday, November 08, 2000 20:47
> || To: soren.roug@eea.eu.int
> || Cc: zope@zope.org
> || Subject: Yihaw product Catalog error
> ||
> ||
> || I have installed the Yihaw product, because I am going to
> || use the Contact
> || class.
> || The changes I have made to the ZClass are minor. I have only
> || changed the
> || Property Sheet of Contact and the appropriate changes to
> || index_html and
> || Contact_addForm.
> ||
> || I can add a contact, but after having done that and I click the newly
> || created Contact I get a NameError.
> ||
> || Error Type: NameError
> || Error Value: Catalog
> ||
> || How to solve this?
> ||
> ||
> ||
> || Regards, Peter
> ||
> || I have NT4, Zope 2.2.2
> ||
> || Traceback (innermost last):
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\ZPublisher\Publish.py, line 222, in
> || publish_module
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\ZPublisher\Publish.py, line 187, in
> || publish
> ||   File C:\PROGRA~1\Zopesite\lib\python\Zope\__init__.py, line 221, in
> || zpublisher_exception_hook
> ||     (Object: CatalogAware)
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\ZPublisher\Publish.py, line 171, in
> || publish
> ||   File C:\PROGRA~1\Zopesite\lib\python\ZPublisher\mapply.py,
> || line 160, in
> || mapply
> ||     (Object: manage_baseproperties)
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\ZPublisher\Publish.py, line 112, in
> || call_object
> ||     (Object: manage_baseproperties)
> ||   File C:\PROGRA~1\Zopesite\lib\python\OFS\DTMLMethod.py,
> || line 172, in
> || __call__
> ||     (Object: manage_baseproperties)
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\DocumentTemplate\DT_String.py, line
> || 528, in __call__
> ||     (Object: manage_baseproperties)
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\DocumentTemplate\DT_In.py, line 633,
> || in renderwob
> ||     (Object: Catalog(meta_type='Yihaw Pointer'))
> ||   File
> || C:\PROGRA~1\Zopesite\lib\python\DocumentTemplate\DT_Util.py, line
> || 337, in eval
> ||     (Object: Catalog(meta_type='Yihaw Pointer'))
> ||     (Info: Catalog)
> ||   File &lt;string&gt;, line 0, in ?
> || NameError: (see above)
> ||