Hi all, in a colander schema I have a field with two validators:
, 'email': { 'type': String() , 'title': 'Email' , 'validator': All( Length(min=1, max=128) , Email() ) } As a test, I supply deserialize() with an invalid email address and wanted to get the error messages: try: d_out = sch.deserialize(d_in) print d_out except Invalid as exc: print exc Then this error occurs: Traceback (most recent call last): File "pym/dd/usrmgr.py", line 212, in <module> print exc File "/home/dm/myprojects/Pyramid-1.1/lib/python2.7/site-packages/colander/__init__.py", line 159, in __str__ return pprint.pformat(self.asdict()) File "/home/dm/myprojects/Pyramid-1.1/lib/python2.7/site-packages/colander/__init__.py", line 153, in asdict errors['.'.join(keyparts)] = '; '.join(interpolate(msgs)) TypeError: sequence item 0: expected string, list found It's colander 0.9.3. Is that a mistake in colander's code or did I misuse the All() validator? Kind regards, Dirk -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/L9WfKpPWcTkJ. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.