zope ZMySQLDA

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don Rivard

    zope ZMySQLDA

    zope 2.71b
    ZMySQLDA 2.08
    MySQL-python-0.9.2
    mysql 3.23.55NT

    When I attempt to connect, by creating a Add Z MySQL Database Connection, I
    set the connection string
    to database user password, and i keep getting the following error
    Site Error
    An error was encountered while publishing this resource.

    Error Type: AttributeError
    Error Value: server_capabili ties




    Any ideas why?



    Don Rivard


  • Thomas Güttler

    #2
    Re: zope ZMySQLDA

    Don Rivard wrote:
    [color=blue]
    > zope 2.71b
    > ZMySQLDA 2.08
    > MySQL-python-0.9.2
    > mysql 3.23.55NT
    >
    > When I attempt to connect, by creating a Add Z MySQL Database Connection,
    > I set the connection string
    > to database user password, and i keep getting the following error
    > Site Error
    > An error was encountered while publishing this resource.
    >
    > Error Type: AttributeError
    > Error Value: server_capabili ties[/color]

    Hi,

    If you want to see the stacktrace in error messages put
    <dtml-var error_tb>
    in the standard_error_ message of Zope. This needs to be done
    trough the web and is very handy for debugging.

    The stacktrace shows you the file and the line where
    the error occured. Maybe this helps you to find your problem.

    thomas


    Comment

    • Gilles Lenfant

      #3
      Re: zope ZMySQLDA

      "Thomas Güttler" <guettler@thoma s-guettler.de> a écrit dans le message de
      news: bfobe2$h17es$1@ ID-63505.news.uni-berlin.de...[color=blue]
      > Don Rivard wrote:
      >
      > If you want to see the stacktrace in error messages put
      > <dtml-var error_tb>
      > in the standard_error_ message of Zope. This needs to be done
      > trough the web and is very handy for debugging.
      >
      > The stacktrace shows you the file and the line where
      > the error occured. Maybe this helps you to find your problem.
      >
      > thomas
      >
      >[/color]

      With Zope 2.6.x (and later), the full traceback and the REQUEST object value
      when the exception raised are in the error_log object.

      --Gilles

      Comment

      • Don Rivard

        #4
        Re: zope ZMySQLDA

        I know get:

        Error Type: AttributeError
        Error Value: server_capabili ties


        Traceback (innermost last):

        a.. Module ZPublisher.Publ ish, line 49, in publish
        b.. Module ZPublisher.mapp ly, line 32, in mapply
        c.. Module ZPublisher.Publ ish, line 38, in call_object
        d.. Module Products.ZMySQL DA.DA, line 102, in manage_addZMySQ LConnection
        e.. Module Shared.DC.ZRDB. Connection, line 58, in __init__
        f.. Module Shared.DC.ZRDB. Connection, line 86, in edit
        g.. Module Products.ZMySQL DA.DA, line 120, in connect
        h.. Module Products.ZMySQL DA.db, line 179, in __init__
        AttributeError: server_capabili ties

        I'm not sure what server_capabili ties really means.
        I will write my own DA for this. Thanks

        "Thomas Güttler" <guettler@thoma s-guettler.de> wrote in message
        news:bfobe2$h17 [email protected]...[color=blue]
        > Don Rivard wrote:
        >[color=green]
        > > zope 2.71b
        > > ZMySQLDA 2.08
        > > MySQL-python-0.9.2
        > > mysql 3.23.55NT
        > >
        > > When I attempt to connect, by creating a Add Z MySQL Database[/color][/color]
        Connection,[color=blue][color=green]
        > > I set the connection string
        > > to database user password, and i keep getting the following error
        > > Site Error
        > > An error was encountered while publishing this resource.
        > >
        > > Error Type: AttributeError
        > > Error Value: server_capabili ties[/color]
        >
        > Hi,
        >
        > If you want to see the stacktrace in error messages put
        > <dtml-var error_tb>
        > in the standard_error_ message of Zope. This needs to be done
        > trough the web and is very handy for debugging.
        >
        > The stacktrace shows you the file and the line where
        > the error occured. Maybe this helps you to find your problem.
        >
        > thomas
        >
        >[/color]


        Comment

        Working...