Luca Verardi schrieb: > I'm trying to upgrade my TG version from 1.0.3 to 1.0.8 but give me a > strange error. > File "/usr/lib/pymodules/python2.4/turbogears/identity/ > saprovider.py", line 186, in validate_identity > user = user_class.query.filter_by(user_name=user_name).first() > AttributeError: 'function' object has no attribute 'filter_by' > > Can you explain me why? and how can i resolve it? > thanks
This error is related to the SQLAlchemy usage in the turbogears.identity module. Which SA version are you using? Did you try to update it to the latest version? Can you try running your app with Python 2.5? Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

