Hi, The new upgrade to FormEncode 0.5 breaks on PickleValidator from sqlobject with the following traceback:
File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/
declarative.py", line 92, in _wrapper
return_value = fn(self, *args, **kwargs)
File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/
main.py", line 1197, in __init__
self._create(id, **kw)
File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/
main.py", line 1221, in _create
self.set(**kw)
File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/
main.py", line 1085, in set
value = to_python(dbValue, self._SO_validatorState)
File "/Users/alberto/src/turbogears-1.0-dev/thirdparty/formencode/
formencode/api.py", line 304, in to_python
if self.not_empty:
File "/Users/alberto/src/turbogears-1.0-dev/thirdparty/formencode/
formencode/compound.py", line 165, in not_empty__get
not_empty = not_empty or validator.not_empty
AttributeError: 'PickleValidator' object has no attribute 'not_empty'
Attached is a patch that solves it.
FE tracker too, right? I'll post tomorrow, now time to sleep.
Alberto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---
fe.patch
Description: Binary data
