[Zope-DB] Connection Close Errors with External Method

Dieter Maurer dieter@handshake.de
Sun, 20 Jul 2003 21:39:51 +0200

Samir Mishra wrote at 2003-7-20 08:08 +0400:
 > I'm getting the following error with an external method I have for accessing
 > a SAP DB.
 >  Exception sapdb.dbapi.OperationalError: <sapdb.dbapi.OperationalError
 > instance at  
 >  026855BC> in <method Connection.close of Connection instance at 027232B4>
 > ignored
 > It doesn't seem to create any problems, since it's only when I'm trying to
 > close the connection that I get the error. 

Catch the error and log it.
This way your get information about why SAPDB is complaining
and can fix it (I expect, your close it called twice).