There solution to this problem? I'm experiencing the same problem and I find no solution, what is the cause?
Tanks! Em domingo, 2 de maio de 2010 19h25min42s UTC-3, mdipierro escreveu: > > Can you show the complete model and controller? If you want you can > email it to me confidentially. > > Massimo > > > On May 2, 12:54 pm, Necati Demir <nde...@demir.web.tr> wrote: > > web2py version: Version 1.77.3 (2010-04-20 02:48:54) > > > > Here is the traceback from ticket: > > > > Traceback (most recent call last): > > > > File "/home/ndemir/web2py/gluon/restricted.py", line 178, in > restricted > > > > exec ccode in environment > > > > File > "/home/ndemir/web2py/applications/project1/controllers/default.py" > > </admin/default/edit/urlshortner/controllers/default.py>, line 10, in > > <module> > > > > File "/home/ndemir/web2py/gluon/globals.py", line 96, in <lambda> > > > > self._caller = lambda f: f() > > > > File "/home/ndemir/web2py/applications/ > > </admin/default/edit/urlshortner/controllers/default.py>project1 > > > </admin/default/edit/urlshortner/controllers/default.py>/controllers/default.py" > > > > </admin/default/edit/urlshortner/controllers/default.py>, line 6, in > > index > > > > dbOBJECT.url.insert(variable1=request.vars.variable1, > > variable2=request.vars.variable2) > > File "/home/ndemir/web2py/gluon/sql.py", line 1926, in insert > > > > self._db._execute(query) > > > > File "/home/ndemir/web2py/gluon/sql.py", line 958, in <lambda> > > > > self._execute = lambda *a, **b: self._cursor.execute(*a, **b) > > InterfaceError: cursor already closed > > > > On 2 May 2010 00:59, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > > > > Can you tell us more? > > > > > What os? what web2py version? what code? Is there a complete > > > traceback? Is the error in a ticket? Can we see the ticket? > > > > > Massimo > > > > > On May 1, 3:35 pm, Necati Demir <nde...@demir.web.tr> wrote: > > > > Hello, > > > > > > I get this error with database operations: InterfaceError: cursor > > > > already closed > > > > I get the same error with mysql and postgresql. > > > > > > Any suggestions? > > > > -- > > Necati DEMÄ°Rhttp://blog.demir.web.trhttp://friendfeed.com/ndemir > > ndemir ~ demir.web.tr > > --------------------------------------- > --