When I use the "default/data/update" on an unchanged existing record I
get the following error:
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/restricted.py", line 173, in restricted
exec ccode in environment
File "/home/www-data/web2py/applications/nuwesarua/controllers/default.py",
line 104, in <module>
File "/home/www-data/web2py/gluon/globals.py", line 96, in <lambda>
self._caller = lambda f: f()
File "/home/www-data/web2py/applications/nuwesarua/controllers/default.py",
line 11, in data
return dict(form=crud()) # See book page 215(231)
File "/home/www-data/web2py/gluon/tools.py", line 1980, in __call__
if not user_id and self.user:
File "/home/www-data/web2py/gluon/tools.py", line 2075, in update
table_name='',
File "/home/www-data/web2py/gluon/sqlhtml.py", line 868, in accepts
qry = reduce(lambda x,y: x & y, [self.table[k]==self.record[k] for
k in self.table._primarykey])
ValueError: invalid literal for int() with base 10: ' '
What would cause this?
Johann
--
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.