What's your model?
On Nov 1, 10:02 pm, Plumo <richar...@gmail.com> wrote: > I had a GAE app running on Version 1.94.6 (2011-03-27 17:35:27) > I tried upgrading to: Version 1.99.2 (2011-09-26 06:55:33) stable > > But then get an error with this > line: db(cls.db.user_profile.user==google_user).select().first() > > File "/web2py/gluon/dal.py", line 5786, in select > return self.db._adapter.select(self.query,fields,attributes) > File "/web2py/gluon/dal.py", line 3407, in select > (items, tablename, fields) = self.select_raw(query,fields,attributes) > File "/web2py/gluon/dal.py", line 3364, in select_raw > filters = self.expand(query) > File "/web2py/gluon/dal.py", line 3246, in expand > return expression.op(expression.first, expression.second) > File "/web2py/gluon/dal.py", line 3269, in EQ > return [GAEF(first.name,'=',self.represent(second,first.type),lambda > a,b:a==b)] > File "/web2py/gluon/dal.py", line 3014, in represent > if fieldtype.startswith('list:'): > AttributeError: 'UserProperty' object has no attribute 'startswith' > > Same error with: Version 1.99.3 (2011-11-01 08:28:28) dev > > Do you have an idea what has changed with web2py to produce this error? > > Richard