Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3870377
By: kovan
I have a python script that uses a database. The database is closed in, among
other places, the KeyboardInterrupt exception handler, which when running the
script from the Linux shell is raised when the user presses Ctrl+C. My problem
is that, periodically, I'm getting a database corruption error, caused by the
database not have been closed properly, which requires the DB file to be deleted
and re-created.
The database is, in fact, not closed, when terminating the script from within
Eclipse (using the red square button of Pydev console). The KeyboardInterrupt
exception doesn't seem to be thrown, and the close() function call in its handler
is not executed.
Any light on how to solve this?.
Thanks a lot.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
|