Hi,

What this message means?

    self.save_objects(trans, task)
  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py", line 
1023, in save_objects
    task.mapper.save_obj(task.polymorphic_tosave_objects, trans)
  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/mapper.py", line 1195, 
in save_obj
    mapper._postfetch(connection, table, obj, c, c.last_updated_params())
  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/mapper.py", line 1263, 
in _postfetch
    elif v != params.get_original(c.key):
TypeError: can't compare offset-naive and offset-aware datetimes


both values are datetime type

v = 2008-12-10 14:28:17.537583 
params.get_original(c.key) =  2008-12-10 16:47:43.209162+01:00

Any idea?

j


--~--~---------~--~----~------------~-------~--~----~
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