Re: [Webware-devel] MiddleKit & MySQLdb 0.9.2 problem

2003-11-09 Thread Victor Ng
FYI - I'm using MySQLdb 0.9.2 without WebWare and I get the out of connection error. Here' my exact stack trace: File "/usr/local/lib/python2.3/site-packages/MySQLdb/__init__.py", line 63, in Connect return apply(Connection, args, kwargs) File "/usr/local/lib/python2.3/site-packages/MyS

RE: [Webware-devel] MiddleKit & MySQLdb 0.9.2 problem

2003-11-09 Thread Ben Parker
FWIW, if you close the connection before reassigning the variable to a new connection, your test script succeeds on my system (RedHat 7.3, MySQLdb 0.9.2, mysql 4.0.13-standard, python 2.2.3). Just add "conn.close()" at the end of the body of the for loop. It seems like the __del__ method isn't bei

RE: [Webware-devel] MiddleKit & MySQLdb 0.9.2 problem

2003-11-09 Thread Chuck Esterbrook
On Sun, 9 Nov 2003 01:56:40 -0800, Ben Parker wrote: > FWIW, if you close the connection before reassigning the variable > to a new connection, your test script succeeds on my system (RedHat > 7.3, MySQLdb 0.9.2, mysql 4.0.13-standard, python 2.2.3). Just add > "conn.close()" at the end of the body

[Webware-devel] bug: transaction.hasSession() (CVS HEAD)

2003-11-09 Thread ChuckEsterbrook
There is a bug in CVS HEAD that transaction.hasSession() always returns false, even when there really is a transaction. This broke my app, for example, which relies on hasSession() to avoid creating a new one for every anonymous visitor. Reverting to Webware 0.8.1 fixed the problem. Looking at

RE: [Webware-devel] MiddleKit & MySQLdb 0.9.2 problem

2003-11-09 Thread Ben Parker
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Chuck > Esterbrook > Sent: Sunday, November 09, 2003 1:11 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: [Webware-devel] MiddleKit & MySQLdb 0.9.2 problem > > > On Sun, 9 Nov 2003 01:56:4