Hi All, I just installed web2py and wordpress clone (pypress). If I
post a new comment, I get the following traceback. What did I do
wrong?


Traceback (most recent call last):
  File "/home/malahal/gae/web2py/gluon/restricted.py", line 181, in
restricted
    exec ccode in environment
  File "/home/malahal/gae/web2py/applications/pp4gae/controllers/
default.py:post", line 442, in <module>
  File "/home/malahal/gae/web2py/gluon/globals.py", line 133, in
<lambda>
    self._caller = lambda f: f()
  File "/home/malahal/gae/web2py/applications/pp4gae/controllers/
default.py:post", line 73, in post
  File "/home/malahal/gae/web2py/gluon/sqlhtml.py", line 1202, in
accepts
    self.vars.id = self.table.insert(**fields)
  File "/home/malahal/gae/web2py/gluon/dal.py", line 4487, in insert
    return self._db._adapter.insert(self,self._listify(fields))
  File "/home/malahal/gae/web2py/gluon/dal.py", line 4480, in _listify
    raise SyntaxError,'Table: missing required field: %s' %
ofield.name
SyntaxError: Table: missing required field: post_id

Reply via email to