Hi!
There is a problem in the Converters.py, IntConverter (SQLObject 0.5.2):
>>> repr(int(11111111111111111111111111L))
'11111111111111111111111111L'
And of course Postgres complaints about that 'L'.
The code should be something like
def IntConverter(value, db):
s = repr(int(value))
if s[-1] == 'L':
s = s[:-1]
return s
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|