I'm using 0.4.6 but I thought I'd give 0.5b3 a try.

An existing (working) query failed with:

Query.__no_criterion() being called on a Query with existing
criterion.

I tracked that down to using order_by when building the query.
An example is below:

q = dbsess.query(Obj)
q = q.order_by(Obj.name)
instance = q.get(some_id)

Why does this happen and is it a bug?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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