Hi, I am an experienced web programmer but new to web2py, so I hope to find
some help here :-)
I have an application running perfectly on my local server (macbook air,
web2py 2.14) but the same application on a linux web server (web2py 2.9)
throws this strange exception inside web2pys function forms.process. Does
anybody have a clue? Could it be the older version?
<type 'exceptions.SyntaxError'> Field update_record does not belong to the
tableVersion
web2py™ Version 2.9.12-stable+timestamp.2015.01.17.06.11.03
Python Python 2.7.13: /usr/sbin/python2.7 (prefix: /usr)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
Traceback (most recent call last):
File "/usr/local/webapps/web2py/gluon/restricted.py", line 224, in restricted
exec ccode in environment
File
"/usr/local/webapps/web2py/applications/anmeldung/controllers/veranstaltung.py"
<https://cloud.gemeinde-immanuel.de/web2py/admin/edit/anmeldung/controllers/veranstaltung.py>,
line 439, in <module>
File "/usr/local/webapps/web2py/gluon/globals.py", line 393, in <lambda>
self._caller = lambda f: f()
File "/usr/local/webapps/web2py/gluon/tools.py", line 3444, in f
return action(*a, **b)
File
"/usr/local/webapps/web2py/applications/anmeldung/controllers/veranstaltung.py"
<https://cloud.gemeinde-immanuel.de/web2py/admin/edit/anmeldung/controllers/veranstaltung.py>,
line 42, in aendern
return anmeldung_dateneingabe(True)
File
"/usr/local/webapps/web2py/applications/anmeldung/controllers/veranstaltung.py"
<https://cloud.gemeinde-immanuel.de/web2py/admin/edit/anmeldung/controllers/veranstaltung.py>,
line 75, in anmeldung_dateneingabe
if form.process().accepted:
File "/usr/local/webapps/web2py/gluon/html.py", line 2303, in process
self.validate(**kwargs)
File "/usr/local/webapps/web2py/gluon/html.py", line 2240, in validate
if self.accepts(**kwargs):
File "/usr/local/webapps/web2py/gluon/sqlhtml.py", line 1677, in accepts
self.vars.id = self.table.insert(**fields)
File "/usr/local/webapps/web2py/gluon/dal/objects.py", line 724, in insert
ret = self._db._adapter.insert(self, self._listify(fields))
File "/usr/local/webapps/web2py/gluon/dal/objects.py", line 644, in _listify
'Field %s does not belong to the table' % name)SyntaxError: Field
update_record does not belong to the table
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.