I need more more piece of info. How are you calling the data action?
What is the URL? Did you try using sqlite? Does it work?


On Feb 12, 12:02 am, Johann Spies <johann.sp...@gmail.com> wrote:
> 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 web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to