I applied your line to auth_user: db.auth_user.password.requires = [IS_NOT_EMPTY(error_message='Password needed!'),IS_STRONG(min=7, special=0, upper=0, number=0), CRYPT()]
and I cannot reproduce your problem. :-( There is something else in the logic that is passing a non-string to IS_STRONG()(value). On Friday, 13 July 2012 15:35:12 UTC-5, Chris wrote: > > > I really need to see the models where you set IS_STRONG. >> Somehow the value passed to the validator is not a string so the >> validator chokes. This can be fixed in IS_STRONG.__call__ by setting value >> = str(value) but I would like to understand why it is happening. > > > Sure, this is the relevant line of code: > > db.user_login.password.requires = [IS_NOT_EMPTY(error_message='Password > needed!'), IS_STRONG(min=7, special=0, upper=0, number=0), CRYPT()] > > I am confirm that I am testing the form using a 7-character password. > Thanks! >

