[Zope] Yihaw product Catalog error

2000-11-09 Thread peter bengtson

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;stringgt;, line 0, in ?
NameError: (see above)


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Yihaw product Catalog error

2000-11-09 Thread Anders Eriksson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello peter,

Wednesday, November 08, 2000, 8:46:49 PM, you wrote:

pb I have installed the Yihaw product, because I am going to use the
Contact
pb class.
pb I can add a contact, but after having done that and I click the
newly
pb created Contact I get a NameError.

pb Error Type: NameError
pb Error Value: Catalog

Just a guess! You didn't create a ZCatalog named Catalog in the root.

- --
Best regards,
 Andersmailto:[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQA/AwUBOgrT1aTtRA/JSm7JEQJmLQCgu64yfkb1Ouj3MWtDQouPuF9S17EAoKSc
gBPBWB0Z2mBp/kuVTzt3Z2SU
=CIsL
-END PGP SIGNATURE-



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )