i don't know what's going on, even this stopped working: def nuovo_carico(): session.idnuovocarico=gemag.movimenti.insert(tipo='carico') redirect(URL(r=request,f='carico'))
it gives me: Traceback (most recent call last): File "/home/pmate/software/web2py/gluon/restricted.py", line 62, in restricted File "/home/pmate/opt/web2py/applications/gemag/controllers/ default.py", line 156, in <module> File "/home/pmate/opt/web2py/gluon/globals.py", line 55, in <lambda> self._caller=lambda f: f() File "/home/pmate/software/web2py/applications/plugin_t2/modules/ t2.py", line 843, in h File "/home/pmate/opt/web2py/applications/gemag/controllers/ default.py", line 70, in nuovo_carico session.idnuovocarico=db.movimenti.insert(tipo='carico') File "/home/pmate/opt/web2py/gluon/sql.py", line 802, in insert query=self._insert(**fields) File "/home/pmate/opt/web2py/gluon/sql.py", line 798, in _insert sql_v=', '.join(vs) TypeError: sequence item 1: expected string, SQLField found All this stuff stopped working from a day to an other... Suggestions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---