[Mailman-Developers] MySQLMemberships.py

Fil fil at rezo.net
Fri Dec 15 15:01:25 CET 2006


Hello,

I have upgraded the MysqlMemberships.py member adaptor, so that it uses only
one connection for all lists, and not one connection per list (as it did
before).

Everything works fine (only one day of operation though), except when the
mysql link is broken (I stopped mysqld to check that). Then I get this
error:

      self._prodServerConnection()
   File "/var/local/mailman/Mailman/MysqlMemberships.py", line 132, in _prodServerConnection
      mm_cfg.connexion.close()
 _mysql_exceptions . ProgrammingError :  closing a closed connection 


I guess I could use help from someone who knows more python than me. If you
want to have a look at the code it's here:
http://trac.rezo.net/trac/rezo/browser/Mailman/MySQLMemberAdaptor/MysqlMemberships.py

-- Fil



More information about the Mailman-Developers mailing list