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 <[email protected]> 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 <[email protected]> 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İR
http://blog.demir.web.tr
http://friendfeed.com/ndemir
ndemir ~ demir.web.tr
---------------------------------------