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 <string>, line 0, in ? NameError: (see above)
-----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, Anders mailto:ame@swipnet.se -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQA/AwUBOgrT1aTtRA/JSm7JEQJmLQCgu64yfkb1Ouj3MWtDQouPuF9S17EAoKSc gBPBWB0Z2mBp/kuVTzt3Z2SU =CIsL -----END PGP SIGNATURE-----
participants (2)
-
Anders Eriksson -
peter bengtson