[Mailman-Developers] MysqlMemberships.py [was: Informal "MEP"process, anyone? [was: PHP Wrappers?]]

Fil fil at rezo.net
Mon Nov 21 11:53:40 CET 2005

@ Fil <fil at rezo.net> :
> > I'm running the patch as is, and there's trouble. Here is the error log:
> OK, good. A quick fix is to add on line 153
>         self.cursor = self.connection.cursor()
> The correct fix would be to isolate the connection/reconnection procedure in
> a unique function, but that'll be for later.

Unfortunately this still doesn't succeed reconnecting to the server: I get
this traceback:

  File "/var/local/mailman/Mailman/MysqlMemberships.py", line 141, in _prodServerConnection
    if self.connection.ping() == 0: OperationalError: (2006, 'MySQL server has gone away')

-- Fil

More information about the Mailman-Developers mailing list