On Friday, July 8, 2016 at 8:12:39 PM UTC-7, 黄祥 wrote: > > the apps is build from scratch, no created index before either from apps > and from database side. the only place i create index is in the > controllers/install.py, and it's only execute one time only. > > my logic during first code install script is : > execute create index first then execute insert table, if auth_permission > and auth_membership is empty > > my logic during second code install script is : > execute insert table first then execute create index, if auth_permission > and auth_membership is empty > > why the traceback didn't straight to the point show my mistake on the > first code and it's show my mistake straight to the point on second code? > > thanks and best regards, > stifan >
All I can tell you is that in the first ticket, it never got to the line with the typo, because it had already blown up thinking there was an existing index. I putter around in sqlite all the time, but I don't know how it does indexing, so someone else will have to jump in. /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 [email protected]. For more options, visit https://groups.google.com/d/optout.

