[sqlalchemy] Re: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-22 Thread robertz23
Sorry for the delay. Thanks for helping me. It was a driver problem. I've solved this problem. Thanks everybody for the help. regards, Roberto Zapata On Jul 13, 3:57 pm, Michael Bayer [EMAIL PROTECTED] wrote: On Jul 13, 2007, at 3:41 PM, robertz23 wrote: Thanks for the answers. I've

[sqlalchemy] Re: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-13 Thread Christoph Haas
Disclaimer: I'm no SQLAlchemy guru. On Fri, Jul 13, 2007 at 01:53:48PM -, robertz23 wrote: Hi, I've been using SQLAlchemy since a month. I'm having some problems with a one-to-many relationship. I have 2 tables: one for users and one for users's emails. The problem arises when I

[sqlalchemy] Re: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-13 Thread Michael Bayer
i cant reproduce that on this end. created the tables, inserted a row into each, script returns fine (note its using a long value, i thought that might be an issue, but its not). make sure youre on the latest MySQLDB driver. also not sure if an older MySQL might be problematic as well

[sqlalchemy] Re: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-13 Thread robertz23
Thanks for the answers. I've tried what Christoph told, but returns the same error. What I'm trying now is to override that column to be a DateTime type because in this case SQLAlchemy doesn't give me any errors, so I think you are right Michael, is because of the driver. Can tell me how to

[sqlalchemy] Re: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-13 Thread Michael Bayer
On Jul 13, 2007, at 3:41 PM, robertz23 wrote: Thanks for the answers. I've tried what Christoph told, but returns the same error. What I'm trying now is to override that column to be a DateTime type because in this case SQLAlchemy doesn't give me any errors, so I think you are right