El Sun, 5 Jan 2014 12:22:00 -0800 (PST) Alex Glaros <alexgla...@gmail.com> escribió:
> Tried to drop a table and got an error perhaps due to reference to > other table but the error message misspelled "Organization" as > "Orgnization" but I can't find any reference to Orgnization. Doesn't > that mean I had "Organization" misspelled somewhere? If yes, where? > > > In [2] : db.Party.drop() > Traceback (most recent call last): > File "/home/mdipierro/make_web2py/web2py/gluon/contrib/shell.py", > line 234, in run > File "<string>", line 1, in <module> > File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line 8919, > in drop File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line > 1281, in drop File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", > line 1916, in execute > File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line 1910, > in log_execute > OperationalError: no such table: main.Orgnization > > thanks, > > Alex Glaros > Have you declared your tables in regular model files in /models or in modules?, would you share the table declaration code?. -- 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/groups/opt_out.