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