On Thursday 10 December 2009 23:56:51 Oleg Broytman wrote:
> On Thu, Dec 10, 2009 at 11:18:33PM +0200, Tom Coetser wrote:
> > >>> vt.foo(name=None)
> >
> >     raise Invalid(self.message('empty', state), value, state)
> > formencode.api.Invalid: Please enter a value
>
>    foo(name=None) raises
>
>     raise Invalid(self.message('empty', state), value, state)
> formencode.api.Invalid: The name may not be empty.
>
>    for me. I suspect you are using old buggy version of FormEncode.

And your suspicion was correct :-) The stable version in Debian Lenny seems to 
be formencode 1.0.1, but updating to 1.2 seems to have fixed the problem.

Thanks very much.


Cheers,
 Tom

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to