Doof just realized what it was- still had the following in my table def: format='%(username)s'
Niphlod good to hear from you- how are you man. Thanks -- On Wednesday, February 13, 2013 4:17:13 PM UTC-5, Niphlod wrote: > > a bit of questions.... > all migrations went ok ? > are you using auth.define_tables(username=None) ? > is there some "non-standard" db connection / auth tables definitions ? > > On Wednesday, February 13, 2013 9:59:57 PM UTC+1, Yarin wrote: >> >> I'm getting a >> <type 'exceptions.AttributeError'> 'Row' object has no attribute >> 'username' >> >> error when I try to access the membership table in the db admin screens. >> This is happening on a project that *used* to use username as the login >> field but does not anymore (*username* column is no longer part of the >> auth_user table). Any ideas why this is happening? >> >> Stack trace: >> >> Traceback (most recent call last): >> File >> "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/restricted.py", >> line 212, in restricted >> exec ccode in environment >> File >> "/Users/ykessler/Dropbox/appgrinders/web2py/sidekick/applications/sidekick/views/appadmin.html" >> <http://localhost:8000/admin/default/edit/sidekick/views/appadmin.html>, >> line 180, in <module> >> <div class="hidden" id="ram_keys"> >> File >> "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/sqlhtml.py", line >> 2583, in __init__ >> r = A(represent(field, r, record), _href=str(href)) >> File >> "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/sqlhtml.py", line >> 58, in represent >> return f(value) >> File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/dal.py", >> line 6298, in repr_ref >> def repr_ref(id, row=None, r=referenced, f=ff): return f(r, id) >> File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/dal.py", >> line 6271, in ff >> return r._format % row >> File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/dal.py", >> line 6383, in __getitem__ >> return ogetattr(self, key) >> AttributeError: 'Row' object has no attribute 'username' >> >> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

