ZSQL Method Failure From within Python
I've got a bizare problem: I've got a Python Script that calls several zsql_methods; these come in two flavours: Read and update/insert. The Read ones are having no problems. Strangely, though, the update/insert ones are failing. Now, here's where it gets interesting: They all work in test mode. So accessing the zsql methods directly works perfectly. How can I figure out what might be causing the discrepency? -roy Content-Type: text/plain; charset="iso-8859-1" ------------------------------------------------- PLEASE READ THIS WARNING: All e-mail sent to or from this address will be received or otherwise recorded by the Fisher Investments corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient.
It would help if you included the python script or at least its call to zSQL - so that readers can help. Also if you get a traceback you could include that. Off the bat I would ask if you included parameters (explicitly) in the call to zSQL? David ----- Original Message ----- From: "Roy Rapoport" <r.rapoport@fi.com> To: <zope@zope.org> Sent: Friday, July 25, 2003 12:14 PM Subject: [Zope] ZSQL Method Failure From within Python
I've got a bizare problem:
I've got a Python Script that calls several zsql_methods; these come in two flavours: Read and update/insert. The Read ones are having no problems.
Strangely, though, the update/insert ones are failing. Now, here's where it gets interesting: They all work in test mode. So accessing the zsql methods directly works perfectly.
How can I figure out what might be causing the discrepency?
-roy Content-Type: text/plain; charset="iso-8859-1"
------------------------------------------------- PLEASE READ THIS WARNING: All e-mail sent to or from this address will be received or otherwise recorded by the Fisher Investments corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Roy Rapoport wrote at 2003-7-25 12:14 -0700:
I've got a bizare problem:
I've got a Python Script that calls several zsql_methods; these come in two flavours: Read and update/insert. The Read ones are having no problems.
Strangely, though, the update/insert ones are failing. Now, here's where it gets interesting: They all work in test mode. So accessing the zsql methods directly works perfectly.
How can I figure out what might be causing the discrepency?
You carefully look at the error message and the traceback. If you do not understand them, you post them such that we can try to decode them. Dieter
participants (3)
-
David Hassalevris -
Dieter Maurer -
Roy Rapoport