"Olli Wang" <[EMAIL PROTECTED]> writes:

> "c:\python24\lib\site-packages\TurboGears-1.0b1-py2.4.egg\turbogears\visit\savisit.py",
> line 42, in visit_for_key
>     if not visit or visit.expiry < now:

It looks like these have different mappings / datatypes and SA isn't being
able to do the casting by itself...

> TypeError: can't compare offset-naive and offset-aware datetimes
>
> Is the postgresql not compatible with SA and TG? thanks

It is compatible.  The exception above talks about different objects for
datetimes.  You have to check the mapping done...  I don't remember having
this problem with recent TG and recent SQL Alchemy.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to