request.date.now() works well in my system (Python 2.6.5, web2py 1.99.3, Linux)
Would you post part of the model and controller to see what it does? On 14 dic, 19:43, Daniel Aguayo Catalán <daniel.agu...@gmail.com> wrote: > Alan Etkin escribi :>> datepart,timepart=val.split(" ")ValueError:need more > than1value to unpack > > It looks like convert_timestamp() in pysqlite2.dbapi2 is expecting a > > date+time object and receives a date, isn't it? > > Hi, I forgot to say that the problem exists even if I try to insert a > request.now value. > > If I try to insert a datetime.datetime.now() object the same problem > doesn't show, but then the 'update_or_insert' function see it as a new > entry, doing always an insert