----- Original Message ----- From: "Allen Huang" <swapp0@yahoo.com> Subject: [Zope] I keep getting validate error.. why?
I keep getting this error, but the same code work on another zope server and I didn't use any key or attribute named 'validate'. What is the cause of this?
Time2007/03/20 17:38:03.726 GMT+8 User Name (User Id)admin (admin) Request URLhttp://localhost/WEBGIS/test1 Exception TypeKeyError Exception Value'validate'
Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.DTMLMethod, line 153, in __call__ <DTMLMethod at /WEBGIS/test1> URL: http://localhost/WEBGIS/test1/manage_main Physical Path:/WEBGIS/test1 KeyError: 'validate'
Try googling for KeyError: 'validate' (there are a couple of posts that deal with this error as it relates to ZCatalogs). If your dtml method 'test1' is not doing anything with ZCatalogs, then post the source. Jonathan