[Zope-DB] mysql / zope db connection issue

Jamie O'Keefe jokeefe at jamesokeefe.org
Wed Apr 5 13:52:10 EDT 2006


Hi Chris

On 4/5/06, Chris Withers <chris at simplistix.co.uk> wrote:
> Jamie O'Keefe wrote:
> > try:
> >   result = context.updatePerson(**query_args)
> >   return text
> > except Exception:
>
> This is insane code. If you want to get mailed errors, look at the
> MailingLogger product.

Did.  What if you don't know what the errors could be?

> > The traceback error is:
> >
> > Exception Type        Database Error
> > Exception Value       updatePerson is not connected to a database
>
> What version of Zope/MySQL/mysqldb/ZMySQLDA are you using?

Zope is 2.6.4
MySql is 3.22.32
ZMySQLDA 2.0.8

i don't know the version of mysqldb.

Thanks.

Jamie


More information about the Zope-DB mailing list