[sqlalchemy] py32 TypeError: unorderable types: str() int()

2011-07-20 Thread ddarko
declarative_base tmp = session.query(Opt).all() session.add(Opt(key='a', value='b')) session.commit() File /usr/local/lib/python3.2/dist-packages/SQLAlchemy-0.7.1- py3.2.egg/sqlalchemy/orm/session.py, line 617, in commit self.transaction.commit() File

Re: [sqlalchemy] py32 TypeError: unorderable types: str() int()

2011-07-20 Thread Michael Bayer
Can I ask that you put a little more effort into providing context / mappings / specifics for this stack trace (see guidelines at http://www.sqlalchemy.org/support.html#mailinglist ) ? Clearly If I make a sample Opt() class with two fields and commit it, no such error occurs. There is some