I added the import of the traceback lib as you suggested. Putting the traceback statement after the execute or fetch caused an error stating that "last_type" does not exist which would I should see if no errors were found (as I understand it) . I changed the select to "select * ....." and that produced the error:
File "getTables.py", line 45, in main
tHdl.prepare(sql)
intersys.pythonbind3.cache_exception: file=intersys/pythonbind3.c line=3355 err=-1 message=cbind_prepare_gen_query()
an even more confusing error for which I have not found any info on the error condition.
I changed the the statement to "select count(*)...." that was a mistake. The python script never returned.
- Log in to post comments
.png)