Re: [sqlalchemy] SQLAlchemy cant convert boolean to int with mysql

2013-10-28 Thread Gustavo Gawryszewski
data that isn’t in the range (None, 0, 1) is getting >>> into that column, that’s the part you’d need to fix. >>> >>> Or make yourself a custom type that interprets whatever number it is you’re >>> putting in there as a boolean. >>> >>> >&g

Re: [sqlalchemy] SQLAlchemy cant convert boolean to int with mysql

2013-10-28 Thread Gustavo Gawryszewski
> > Or make yourself a custom type that interprets whatever number it is you’re > putting in there as a boolean. > > > On Oct 28, 2013, at 10:34 AM, Gustavo Gawryszewski > wrote: > >> Well, it happened again after i've added some data to my database. >> >

Re: [sqlalchemy] SQLAlchemy cant convert boolean to int with mysql

2013-10-28 Thread Gustavo Gawryszewski
Well, it happened again after i've added some data to my database. I'm using sqlalchemy 0.8.3 and pymysql 0.6.1. (I have also tried with mysql-python 1.2.4) On Fri, Oct 25, 2013 at 3:33 PM, Michael Bayer wrote: > > On Oct 25, 2013, at 12:59 PM, Gustavo Gawryszewski > wrote

[sqlalchemy] SQLAlchemy cant convert boolean to int with mysql

2013-10-25 Thread Gustavo Gawryszewski
I've got an error while trying to retrieve boolean items from mysql. as stated in http://stackoverflow.com/questions/19591801/sqlalchemy-cant-convert-boolean-to-int-with-mysql but when I've installed without the C Extensions everything worked fine. Is that a bug? -- You received this messag