strange errors while using mysql with 2.0
I upgraded to 2.0. Now some of my mysql methods fail with the following error. intrestingly some queries do work . Any suggestions comrades ? Traceback (innermost last): File /var/local/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.p y, line 214, in publish_module File /var/local/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.p y, line 179, in publish File /var/local/Zope-2.0.0-linux2-x86/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: ElementWithAttributes) File /var/local/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.p y, line 165, in publish File /var/local/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/mapply.py , line 160, in mapply (Object: processCreateAccount_html) File /var/local/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.p y, line 102, in call_object (Object: processCreateAccount_html) File /var/local/Zope-2.0.0-linux2-x86/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: processCreateAccount_html) File /var/local/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_ String.py, line 502, in __call__ (Object: processCreateAccount_html) File /var/local/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_ Util.py, line 321, in eval (Object: insertLoginAcct(login_id=login_id,email=email,pd=getPassWo rd,fname=fname,lname=lname)) File <string>, line 0, in ? File /var/local/Zope-2.0.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py , line 401, in __call__ (Object: insertLoginAcct) File /var/local/Zope-2.0.0-linux2-x86/lib/python/Products/ZMySQLDA/db .py, line 171, in query error: (see above)
At 02:15 10/09/99 , linuxcraft@scorpio.redspice.com wrote:
I upgraded to 2.0. Now some of my mysql methods fail with the following error. intrestingly some queries do work . Any suggestions comrades ?
The MySQL DA has not yet been updated to support the Zope 2 transaction machinery. My guess is that your errors stem from this. More information on the status of this and other DAs can be found at: http://www.zope.org:18200/Members/petrilli/DARoadmap -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
linuxcraft@scorpio.redspice.com -
Martijn Pieters