Something went wrong with migration. Do this: 1) comment the field that gives you problem and set migrate to fake:
db.define_table('performer', ... # Field('musicbrainz_guid'....), ..., fake_migrate=True) # <<< 2) run appadmin once (it should work) 3) uncomment field and remove fake migrate db.define_table('performer', ... Field('musicbrainz_guid'....), ...) 4) run appadmin again. If you get an error something is wrong in your model. On Apr 23, 6:19 am, Matthew <matthew.g.nor...@gmail.com> wrote: > >>> perf = db(db.performer.id > 0).first() > > Traceback (most recent call last): > File "<console>", line 1, in <module> > AttributeError: 'Set' object has no attribute 'first'>>> perf = > db(db.performer.id > 0).select().first() > > Traceback (most recent call last): > File "<console>", line 1, in <module> > File "/home/matthew/dev/projects/webapp/src/app/gluon/sql.py", line > 3056, in select > rows = response(query) > File "/home/matthew/dev/projects/webapp/src/app/gluon/sql.py", line > 3051, in response > db._execute(query) > File "/home/matthew/dev/projects/webapp/src/app/gluon/sql.py", line > 958, in <lambda> > self._execute = lambda *a, **b: self._cursor.execute(*a, **b) > ProgrammingError: column performer.musicbrainz_guid does not exist > LINE 1: ..._id, performer.facebook_id, performer.twitter_id, > performer.... > > On Apr 22, 8:48 am, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote: > > > Can you show us the line with a query code? > > > -- > > Kuba > > > -- > > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en