On Sunday, March 12, 2017 at 11:57:05 AM UTC-7, LoveWeb2py wrote: > > Hello, > > I'm getting an error. I have a table and I'm trying to insert this date > format: > > db.define('mytable', > Field('game_date', 'date'), > migrate=True) > > db.mytable.insert(game_date='2016-10-25') > > When I create a single record with that game date I get an error from > web2py > > Query Not Supported: need more than 1 value to unpack > > However, when I switch the field to "datetime" and create a new record it > seems to work okay. > > Could someone please help me understand why this happens? > > Here is the full traceback from appadmin > > Traceback (most recent call last): > [...] > > If that's from a ticket, there should be a section showing the args and/or locals for the point of fault-finding; it might help to show us those.
/dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.