[Zope] zope sql_delimiter windows

garry saddington garry at schoolteachers.co.uk
Sat Dec 23 17:26:35 EST 2006


I have a Zope application that runs perfectly on Linux. However, my
target audience is likely to use Windows so I am trying to port my app.
to that platform.
Whenever I use a multiple insert Zsql method that includes
sql_delimiter, python.exe crashes.

eg.
<dtml-in att>
<dtml-var sql_delimiter>
<dtml-if absent>
insert into attendance (absent,timeperiod,studentid )
values
(
<dtml-sqlvar absent type="string">,
<dtml-sqlvar timeperiod type="string">,
<dtml-sqlvar studentid type="int">
)
</dtml-if>
</dtml-in>

The above ZSQL method works on Linux any Zope version but causes the
crash on Windows, Zope versions - 2.8, 2.9, 2.10 have been tested and
all fail, is there an issue with this?
Regards
Garry




More information about the Zope mailing list