What is the value of rowsconlab immediately following the executesql statement for id 1910 and for one that works?
-Jim On Friday, October 16, 2020 at 7:03:49 AM UTC-5, T.R.Rajkumar wrote: > > > > >> - >> >> >> >> >> >> >> >> I get this error for a particular amcid = 1910, for others it is >> working ok. What might be the problem. The sp >> >> usr_getconlabqty_amc_new is indeed returning row from db when checked >> in the backend. please elucidate. >> >> Actually the code is working fine, but for a particular id 1910 it > reports error None cannot be iterated. The database does return the result > but in dal/base.py as_dict check function the variable columns is not > intialized as the execulte sql is returning None, I think so. But for all > other amcids it is working fine. How to debug this. > > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/d62ffbbd-8f40-4bde-9e1e-0e4dbf31f129o%40googlegroups.com.