Definition of the problem:

Parent Table ---> Child Table (has 2 children) --> Grandchild 1 & 
Grandchild 2
setParams(), requery(), delete() ---> all work great from python shell 
(& from any IDE).

When the same thing is run from within a web-framework (web2py), 
following traceback is thrown.
I fail to know whether due to some conditions such as stateless nature 
or whatever of any web framework, this behaviour is seen.

I understand that this question is somewhat skew on this mailing list.
But still, if somebody can suggest any possibility, it would be a great 
help to me.

Traceback (most recent call last):
File "gluon/restricted.py", line 194, in restricted
File "F:/web2py/applications/payroll/controllers/empmast.py" 
</admin/default/edit/payroll/controllers/empmast.py>, line 161, in <module>
File "gluon/globals.py", line 149, in <lambda>
File "F:/web2py/applications/payroll/controllers/empmast.py" 
</admin/default/edit/payroll/controllers/empmast.py>, line 137, in emp_del
File "F:\web2py\site-packages\dabo\biz\dBizobj.py", line 1096, in requery
File "F:\web2py\site-packages\dabo\biz\dBizobj.py", line 1753, in 
requeryAllChildren
File "F:\web2py\site-packages\dabo\biz\dBizobj.py", line 1076, in requery
File "F:\web2py\site-packages\dabo\biz\dBizobj.py", line 2594, in 
_getDataStructure
File "F:\web2py\site-packages\dabo\db\dCursorMixin.py", line 2879, in 
_getDataStructure
File "F:\web2py\site-packages\dabo\db\dBackend.py", line 502, in 
getStructureDescription
File "F:\web2py\site-packages\dabo\db\dCursorMixin.py", line 384, in execute
DBQueryException: (0, '')

Regards,

Vineet


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to