error 500 on Windows using FastCGI

Issue #11 resolved
Anonymous created an issue


First of all thank you for your great job. I ran across a difficult to find issue while running Django under FastCGI. My application was randomly generating 500 errors. The error log was reporting the crash of the python process in adodb. I found that somehow python was trying to reuse a connection that was already closed with the database. I found a similar bug report on the internet (, and the fix for me was the one liner in the diff below.

You may be interested in integrating it.

{{{ --- 2012-06-20 17:30:40.000000000 +0200 +++ 2012-06-29 07:59:57.765124551 +0200 @@ -253,6 +253,7 @@ if self.supportsTransactions: self.adoConn.RollbackTrans() self.adoConn.Close() + del self.adoConn

 def close(self):
     """Close the database connection."""


Comments (1)

  1. Log in to comment