[web2py] Re: web2py fails when mysql tables already exist

2014-01-23 Thread NeoToren
Had this problem deploying MySQL and the W2P recipe in the book: "Migration problems can also be fixed for all tables at once: db = DAL(...,fake_migrate_all=True) " Solved it immediately ! On Thursday, January 12, 2012 12:29:29 AM UTC-5, Lewis wrote: > > web2py has failed when the authuser tabl

[web2py] Re: web2py fails when mysql tables already exist

2012-01-12 Thread Likit
So, all of the above problems appear to be related to some sort of corruption that resulted in the default.py controller. I noticed that in the traceback it would be shown with 2 additional lines that I did not enter. I did not see these in any external editor. I had previously backed up the appl

[web2py] Re: web2py fails when mysql tables already exist

2012-01-12 Thread Anthony
> > I guess I am getting really tired of the unbearable fragility of > web2py. Just pretty bush league, I guess. > Likit, as you formulate your posts, please keep in mind that not only has web2py been provided to you for free, but in this forum, you are directly addressing those who have crea

[web2py] Re: web2py fails when mysql tables already exist

2012-01-12 Thread Massimo Di Pierro
web2py remembers if it created the tables but does not discover them if preexisting. Fake migrate may help you, if you know the structure of those tables. http://web2py.com/books/default/chapter/29/6#Fixing-broken-migrations On Jan 11, 11:29 pm, Likit wrote: > web2py has failed when the authuser