Sorry forgot to post the full Error message
Traceback (most recent call last):
File "/var/www/web2py/gluon/restricted.py", line 205, in restricted
exec ccode in environment
File "/var/www/web2py/applications/sc_coast/controllers/appadmin.py"
<https://85.25.242.165/admin/default/edit/sc_coast/controllers/appadmin.py>,
line 433, in <module>
File "/var/www/web2py/gluon/globals.py", line 173, in <lambda>
self._caller = lambda f: f()
File "/var/www/web2py/applications/sc_coast/controllers/appadmin.py"
<https://85.25.242.165/admin/default/edit/sc_coast/controllers/appadmin.py>,
line 277, in update
if form.accepts(request.vars, session):
File "/var/www/web2py/gluon/sqlhtml.py", line 1234, in accepts
fields[fieldname] = safe_int(value)
File "/var/www/web2py/gluon/sqlhtml.py", line 52, in safe_int
return int(x)
TypeError: int() argument must be a string or a number, not 'list'
Error snapshot [image: help]
<type 'exceptions.TypeError'>(int() argument must be a string or a number,
not 'list')
On Mon, Sep 17, 2012 at 5:50 PM, Andrew Evans <[email protected]> wrote:
> Hello I am running into issues updating records in my MySQL database after
> adding multiple=True like so
>
> Field('region', db.region, label='Region *', requires=IS_IN_DB(db,
> db.region.id,'%(title)s', multiple=True)),
>
> Any ideas how to fix this I am using web2py 1.99.7
>
> *cheers
>
> and ty ;-)
>
>
> --
>
>
>
>
--