Well, I installed MySQL-python 0.9.1 (because I'm running Python 2.1.x with my Zope installation) and extracted the ZMySQLDA into the products directory and for the ZMySQLDA product (which is broken), I get the following error:

Product at  /Control_Panel/Products/ZMySQLDA

Import Traceback

Traceback (most recent call last):
  File "D:\IntranetSite\lib\python\OFS\Application.py", line 531, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "D:\IntranetSite\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ?
    import DA
  File "D:\IntranetSite\lib\python\Products\ZMySQLDA\DA.py", line 92, in ?
    from db import DB
  File "D:\IntranetSite\lib\python\Products\ZMySQLDA\db.py", line 99, in ?
    from MySQLdb.converters import conversions
ImportError: No module named MySQLdb.converters

This is the problem I recall encountering when I attempted these installs several weeks ago and gave up. Now, it should be noted that during the MySQL-python install, it did find an existence of Python 2.1 in the registry BUT wouldn't let me indicate an installation directory (that field was grayed out). I accepted the default (whatever that is) and continued the installation. My ZOPE installation is on DRIVE D: and not C: on a W98 computer (interim solution until the new server comes). Does this make any difference or have any impact on ZMySQLDA not finding the MySQLdb.converters module? How do I fix this installation...?

Thanks.

 

 Chris Withers <chrisw@nipltd.com> wrote:

Deb B. wrote:
> I am going through the documentation for MySQL-python and aren't there a
> few more steps to the installation?

I didn't do anything special and it worked for me...
Dunno why you're looking at setup.py if you're using the binary installer.

Chris



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now