Re: mysql / zope db connection issue

"Jamie O'Keefe" <[email protected]>
Newsgroups gmane.comp.web.zope.database
Message-ID <[email protected]>
Hi Chris

On 4/5/06, Chris Withers <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.