lookup the group, there was someone getting similar error about 
timezones last month or so

On Tuesday 30 December 2008 18:09:18 jo wrote:
> Hi all,
>
> I have this error:
>
>     TypeError: can't compare offset-naive and offset-aware
> datetimes
>
> in the file
> "/usr/lib/python2.4/site-packages/sqlalchemy/orm/mapper.py", at
> line 1263, when it compares datetimes...
>
>     v != params.get_original(c.key)
>
> this is the value returned by params.get_original(c.key):
>     datetime.datetime(2008, 12, 30, 15, 44, 31,
> 418607,tzinfo=<psycopg2.tz.FixedOffsetTimezone object at
> 0xbd33e4c>)
>
> and this is the value of v:
>     datetime.datetime(2008, 12, 30, 12, 59, 49, 742472)
>
> tahnks for any help,
>
> jo
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to