[Zope-DB] mysql / zope db connection issue

Chris Withers chris at simplistix.co.uk
Wed Apr 5 03:19:03 EDT 2006

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.

> 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?


Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

More information about the Zope-DB mailing list