When trying to save a model object I get an error saying, Getting Out
of range value adjusted for column 'created_on' at row 1
This is the line, which is causing the error.
new_entry.created_on = time.mktime(entry.updated_parsed)
If I remove this line
and add null = True to created_
When trying to save a model object I get an error saying,
This is the line, which is causing the error. If I remove this line
and add null + True to created_on firld I do not get the exception.
The traceback is at,
http://dpaste.com/32727/
--~--~-~--~~~---~--~~
Yo
Am Montag, 26. November 2007 14:28 schrieb Nader:
> Hallo,
>
> I have a model in which one field value can be a large integer value
> (from 2^0=1 till 2^32=4294967296).
...
> If want to try to input the 2^31 or 2^32 I get the next 'Warning':
> Out of range value adj
olMaskID int(11)
>
> If want to try to input the 2^31 or 2^32 I get the next 'Warning':
>
> Out of range value adjusted for column 'poolMaskID' at row 1!
>
> I have tried to change the attribute definition in MySQL database and
> have
attribute in MySQL database is:
poolMaskID int(11)
If want to try to input the 2^31 or 2^32 I get the next 'Warning':
Out of range value adjusted for column 'poolMaskID' at row 1!
I have tried to change the attribute definition in MySQL database and
have chan
5 matches
Mail list logo