My configuration is:
Python 2.5
SA 0.5rc1
psycopg 2.0.8
Postgres 8.3.4
Windows XP
The problem was in locale. I have russian locale and Moscow time zone.
DB had configuration which outputed this date (in 1919 year) as
string: 1919-01-01 15:04:48+03:30:48. Look at time zone offset.
Psycopg2 fails
mraer schrieb:
This simple test fails with error:
DataError: (DataError) unable to parse time None None
Which version are you using?
Your test works for me (except I needed to change Mapper to mapper)
with SA 0.5rc1 and psycopg 2.0.8, Py 2.5, Postgres 8.3.1 on WinXP.
As an aside, you should