mr freeze is right on target :) transaction is a reserved keyword.
-Thadeus On Thu, Feb 4, 2010 at 12:49 PM, Jason Brower <[email protected]> wrote: > Yes of course... (: > Traceback (most recent call last): > File "/home/encompass/Programming/Web Pages/2hand/gluon/restricted.py", line > 173, in restricted > exec ccode in environment > File "/home/encompass/Programming/Web > Pages/2hand/applications/2hand/models/db.py", line 57, in <module> > SQLField('created', 'datetime', default=now, readable=False)) > File "/home/encompass/Programming/Web Pages/2hand/gluon/sql.py", line 1252, > in define_table > t._create(migrate=migrate, fake_migrate=fake_migrate) > File "/home/encompass/Programming/Web Pages/2hand/gluon/sql.py", line 1669, > in _create > self._db._execute(query) > File "/home/encompass/Programming/Web Pages/2hand/gluon/sql.py", line 890, > in <lambda> > self._execute = lambda *a, **b: self._cursor.execute(*a, **b) > OperationalError: near "transaction": syntax error > On Thu, 2010-02-04 at 12:41 -0600, Thadeus Burgess wrote: >> A traceback might help :) >> >> -Thadeus >> >> >> >> >> >> On Thu, Feb 4, 2010 at 12:35 PM, Jason Brower <[email protected]> wrote: >> > Prolly obvious, but I can't see it... can you? >> > >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "web2py-users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/web2py?hl=en. >> > >> > >> > > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

