Andy Dustman wrote:
On Tue, 28 Dec 2004 12:58:02 -0500, Larry McDonnell <larry@technologyinedu.com> wrote:
I'm test 2.7.3 out and I cannot create a connection to my database. I am using the new adapter ZMySQLDA-2.0.9b2 .and I loaded MySQL-python.exe-0.9.2.win32-py2.3.exe pointing it to the bin directory of my zope installation. It added it to my product list but when I try to make a connection I see the following:
Module Products.ZMySQLDA.db, line 183, in __init__ AttributeError: server_capabilities (Also, an error occurred while attempting to render the standard error message.)
I posted a patch for this ages ago. Know how to use google? ;-)
A well-known bug in MySQLdb-0.9.2 that occurs with Python-2.2 and newer. I recommend using 1.1.7 or newer, or 1.0.0. There may be some new Windows packages in the next few days; however, I depend on people to contribute these because I cannot build them myself.
What's the official work on what version of MySQLdb and ZMySQLDA you should use with Zope 2.7 (which uses Python 2.3)? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk