[Zope] Zope 2 ODBC date errors

Graham Chiu anon_emouse@hotmail.com
Sun, 25 Jul 1999 12:28:22 +1200


I've installed the Win32 2.0.0b1, and now find that *all* my Zsql
queries where dates are returned using the ODBC adapter, now fail.

Here is a traceback from a test

<!--
Traceback (innermost last):
  File F:\Zope2\lib\python\ZPublisher\Publish.py, line 256, in
publish_module
  File F:\Zope2\lib\python\ZPublisher\Publish.py, line 161, in publish
  File F:\Zope2\lib\python\ZPublisher\mapply.py, line 154, in mapply
    (Object: manage_test)
  File F:\Zope2\lib\python\ZPublisher\Publish.py, line 98, in
call_object
    (Object: manage_test)
  File F:\Zope2\lib\python\Shared\DC\ZRDB\DA.py, line 307, in
manage_test
    (Object: sqlShowBasketDescription)
  File F:\Zope2\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
    (Object: <string>)
  File F:\Zope2\lib\python\DocumentTemplate\DT_In.py, line 591, in
renderwb
    (Object: sqlShowBasketDescription)
  File F:\Zope2\lib\python\Shared\DC\ZRDB\RDB.py, line 272, in
__getitem__
ValueError: Invalid value, 1999-07-19 21:34:50, for LDATE in record 0

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz