#84 AttributeError: server_capabilities

ZMySQLDA-2.0.9
closed
Andy Dustman
ZMySQLDA (19)
5
2012-09-19
2004-04-18
Nicolas Ledez
No

With Zope 2.6, Mysql 4.0.18-max-nt and WinXP

I have this error :

Traceback (innermost last):
Module ZPublisher.Publish, line 100, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.ZRDB.Connection, line 163, in
manage_open_connection
Module Products.ZMySQLDA.DA, line 126, in connect
Module Products.ZMySQLDA.db, line 193, in init
AttributeError: server_capabilities

I correct this with a try block.

Discussion

  • Nicolas Ledez
    Nicolas Ledez
    2004-04-18

    Patch for server_capabilities error

     
  • Andy Dustman
    Andy Dustman
    2004-05-15

    Logged In: YES
    user_id=71372

    Use post-0.9.2 MySQLdb

     
  • Andy Dustman
    Andy Dustman
    2004-05-15

    Logged In: YES
    user_id=71372

    This has already been fixed in the most recent release; please
    upgrade.