Chris,<br>
<br>
I was preparing to reply to your e-mail when I discovered the problem.
I had been assuming it was the query zsql method value that was the
problem (due to the "0\n" error), when it was actually a typo in the
insert zsql method (I had failed to add a "," when adding the
additional field to insert . . . my eyes must be getting old).<br>
<br>
Anyway, I will try not to make so many assumption when I run it future bugs. <br>
<br>
Thank you for your help,<br>
<br>
Ivan<br>
<br><div><span class="gmail_quote">On 11/15/05, <b class="gmail_sendername">Chris Withers</b> <<a href="mailto:chris@simplistix.co.uk">chris@simplistix.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ivan Stout wrote:<br>> Yes, the full error message is the following:<br>><br>> " ProgrammingError: (1064, "You have an error in your SQL syntax; check the<br>> manual that corresponds to your MySQL server version for the right syntax to
<br>> use near '0\n)' at line 9") "<br>><br>> Here is the select portion of the query I am running:<br>><br>> select count(*) as "order"<br><br>I'd look for the bit of your SQL that is '0' at the end of a line ;-)
<br><br>What's your full ZSQL? (well, actually, boil it down to a minimal test<br>case that fails...)<br><br>cheers,<br><br>Chris<br><br>--<br>Simplistix - Content Management, Zope & Python Consulting<br> -
<a href="http://www.simplistix.co.uk">http://www.simplistix.co.uk</a><br></blockquote></div><br>