Re: [sqlalchemy] sql works when run manually, not when part of sqlalchemy query

2015-11-24 Thread Mike Bayer
no idea. you have any kind of isolated test case? http://stackoverflow.com/help/mcve ? On 11/24/2015 12:17 AM, robert rottermann wrote: > Hi there, > > DB: mysql 5.5.46-0ubuntu0.12.04.2 > Python: 2.7.3 > SQLAlchemy-1.0.9-py2.7-linux-x86_64.egg > > snippet that provokes trace back: >

[sqlalchemy] sql works when run manually, not when part of sqlalchemy query

2015-11-24 Thread robert rottermann
Hi there, DB: mysql 5.5.46-0ubuntu0.12.04.2 Python: 2.7.3 SQLAlchemy-1.0.9-py2.7-linux-x86_64.egg snippet that provokes trace back: c = tblMembership.__table__.c records = session.query(tblMembership).filter(c['idPerson'] == member_id).all() I use a zope/plone python