Re: [Zope] I keep getting validate error.. why?

2007-03-20 Thread Jonathan


- Original Message - 
From: Allen Huang [EMAIL PROTECTED]

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 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] I keep getting validate error.. why?

2007-03-20 Thread Dieter Maurer
Allen Huang wrote at 2007-3-20 05:39 -0700:
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'

I remember that I have seen a similar report and that
I helped someone to find a workaround for the problem (although
I did not understand how this problem could arise).

Please search the mailing list archive (via your favorite search engine)
to find the thread (and see whether you can use the same workaround).


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )