I'm a long time web2py user running into some problems I haven't seen 
before and cannot resolve.

First, I am getting this error a lot even when I create a brand new project 
from scratch:

OperationalError: table "auth_user" already exists


Another error I am getting consistently is:

AttributeError: 'Rows' object has no attribute 'fields'


All I am doing is going to /appadmin and trying to view a simple table:

http://127.0.0.1:8000/payouts/appadmin/select/db?query=db.contact.id>0


db.define_table('contact',
    Field('user_id', 'reference auth_user', default=auth.user_id),
    Field('name'),
    Field('address'),
    Field('city'),
    Field('province'),
    Field('zip'),
    Field('country'),
    Field('status', default='new'),
    Field('tax_id'),
    Field('phone'),
    Field('entity'),
    Field('business_type'),
    Field('bank_name'),
    Field('bank_id'),
    Field('bank_account_id'),
    Field('bank_currency'),
    auth.signature)



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to