Re: mysql / zope db connection issue

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.database
Message-ID <[email protected]>
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?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
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.