Closed GoogleCodeExporter closed 9 years ago
Hi Fred,
I am not able to reproduce this issue. In my case, program is working fine (on
ubuntu 7.10) for both normal run and in debugging (pdb). I am very surprised
that
the code is running fine on normal run and not working while debugging...
Thanks,
Abhigyan
Original comment by abhigyan...@in.ibm.com
on 6 Oct 2008 at 12:18
After more testing, I noticed that the culprit is this line:
print ibm_db.bind_param(stmt, 1, str(how_far.date()), ibm_db.SQL_PARAM_INPUT,
ibm_db.SQL_TYPE_DATE)
If I replace the above line with this:
param = str(how_far.date())
print ibm_db.bind_param(stmt, 1, param, ibm_db.SQL_PARAM_INPUT,
ibm_db.SQL_TYPE_DATE)
The execute works in debug mode. Weird.
Original comment by fred.dub...@gmail.com
on 6 Oct 2008 at 2:33
Very strange indeed. But atleast you have a solution now. ;)
Original comment by abhigyan...@in.ibm.com
on 7 Oct 2008 at 6:56
Original issue reported on code.google.com by
fred.dub...@gmail.com
on 30 Sep 2008 at 9:06Attachments: