Sqlite. These are fresh installs with just a table defined and no other edits.
I've noticed that I can get it to work if I quickcreate the new app, call it up in a browser so the initial tables get created, add my own models and the call it up again. On Monday, April 17, 2017 at 1:29:09 PM UTC-7, Dave S wrote: > > On Sunday, April 16, 2017 at 12:31:04 AM UTC-7, pbreit wrote: >> >> 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' >> >> > > What database? What does your connection string look like? > > >> 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) >> >> >> > > /dps > > -- 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.