[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-05-18 Thread Remco Boerma
Thanks for that. It does introduce a new error: ValueError: Field student_record.request_tenant is already bound to a table The latest pydal as db._common_fields don't seem to get along. db._common_fields.append(auth.signature) db._common_fields.append(Field('request_tenant',

Re: [web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-24 Thread Dave S
On Saturday, April 22, 2017 at 9:49:26 PM UTC-7, pbreit wrote: > > I reinstalled Mac OS Sierra which appears to have fixed the problems. > That seems like a rather drastic solution. Perhaps there were issues with paths variables pointing in various directions as new replaced old (FSVO "replac

Re: [web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-22 Thread pbreit
I reinstalled Mac OS Sierra which appears to have fixed the problems. -- 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 yo

Re: [web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-21 Thread pbreit
I'm still experiencing both problems. I cloned web2py from scratch with: git clone --recursive https://github.com/web2py/web2py.git I added my fairly basic table models into models.py. When i run for the very first time I get: OperationalError: table "auth_user" already exists In /appadmin j

Re: [web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-19 Thread Wabba Jak
Hi Anthony, Thanks... got it working On Wed, Apr 19, 2017 at 11:43 PM, Anthony wrote: > On Wednesday, April 19, 2017 at 4:24:21 AM UTC-4, Wabbajack wrote: >> >> Hi Dave, >> >> Thanks for the quick response.. >> >> Yes i am using Windows also downloaded from GIT repository >> > > It is possibl

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-19 Thread Anthony
On Wednesday, April 19, 2017 at 4:24:21 AM UTC-4, Wabbajack wrote: > > Hi Dave, > > Thanks for the quick response.. > > Yes i am using Windows also downloaded from GIT repository > It is possible you did not get the updated pydal because that is not part of the web2py repository but a submodule.

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-19 Thread Wabbajack
Hi Dave, Thanks for the quick response.. Yes i am using Windows also downloaded from GIT repository Also used sqlite ...i havent done any changes yet all steps below are fresh after creation of new simple application seems to have a problem right after you add a new record on any table on the

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-18 Thread Dave S
On Tuesday, April 18, 2017 at 7:54:32 PM UTC-7, Wabbajack wrote: > > > Similar problem here i have downloaded the latest version. > Windows? Source? Packaged or GitHub? > enable username = true > add 1 user thru the webapp > > then go appadmin click db.auth_user [to view my newly created u

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-18 Thread Wabbajack
Similar problem here i have downloaded the latest version. enable username = true add 1 user thru the webapp then go appadmin click db.auth_user [to view my newly created user] then the error occurs 'Rows' object has no attribute 'fields' Also i view the database and confirmed that it already

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-18 Thread pbreit
models were in the regular models.py file On Monday, April 17, 2017 at 4:18:26 PM UTC-7, Dave S wrote: > > > > On Monday, April 17, 2017 at 3:58:38 PM UTC-7, pbreit wrote: >> >> Sqlite. These are fresh installs with just a table defined and no other >> edits. >> >> I've noticed that I can get it

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-17 Thread Dave S
On Monday, April 17, 2017 at 3:58:38 PM UTC-7, pbreit wrote: > > 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 mode

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-17 Thread pbreit
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 UT

[web2py] Re: table already exists; 'Rows' object has no attribute 'fields'

2017-04-17 Thread Dave S
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_us