[web2py] Re: duplicate column name error

2014-11-05 Thread Ramashish Gaurav
Thanks Dr. Massimo, I deleted the database, however had to made some extra entries before populating the database. And it worked!! On Wednesday, November 5, 2014 12:53:22 AM UTC+5:30, Massimo Di Pierro wrote: > > No. You never need to remove code. You need to erase the content of > web2py/appl

[web2py] Re: duplicate column name error

2014-11-04 Thread Massimo Di Pierro
No. You never need to remove code. You need to erase the content of web2py/applications//databases/* On Monday, 3 November 2014 09:36:25 UTC-6, Ramashish Gaurav wrote: > > Thanks for addressing this issue. > > Actually this is the second time I am coding this reddit clone app and > this time I

[web2py] Re: duplicate column name error

2014-11-03 Thread Ramashish Gaurav
Thanks for addressing this issue. Actually this is the second time I am coding this reddit clone app and this time I got stuck at the same point again. Do you mean I need to remove all the code in db1.py and re write the code from beginning? On Monday, November 3, 2014 6:41:09 PM UTC+5:30, Ma

[web2py] Re: duplicate column name error

2014-11-03 Thread Massimo Di Pierro
please deleted everything in databases/* something got corrupted and tries to redefined a column that exists. On Saturday, 1 November 2014 15:07:23 UTC-5, Ramashish Gaurav wrote: > > Hi all, > > I am following the second video tutorial for learning web2py by Mr. > Massimo, where he teaches to ma

[web2py] Re: "duplicate column name" error

2010-01-20 Thread Ivan P
Mkay, I dropped the table and deleted the ".table" file for it and all is well. I should have looked the at the table structure before that, silly me. I suspect that the column was already added before, but web2py did not register the fact and was trying to add a new one with the same name. On Jan