Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4934

Py 3.2: sqlite can't operate on a closed cursor

From Gnarlodious <gnarlodious@gmail.com>
Newsgroups comp.lang.python
Subject Py 3.2: sqlite can't operate on a closed cursor
Date 2011-05-07 19:55 -0700
Organization http://groups.google.com
Message-ID <2ba90070-ee5e-4388-a713-c612a7419db0@s16g2000prf.googlegroups.com> (permalink)

Show all headers | View raw


I installed Python 3.2, suddenly getting an error on my sqlite pages
(CGI):

ProgrammingError: Cannot operate on a closed cursor

Works normally in interactive mode. Seems to error when the sqlite
statement is in a function. Are sqlite objects now required to be
declared global?

-- Gnarlie

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Py 3.2: sqlite can't operate on a closed cursor Gnarlodious <gnarlodious@gmail.com> - 2011-05-07 19:55 -0700
  Re: Py 3.2: sqlite can't operate on a closed cursor Gnarlodious <gnarlodious@gmail.com> - 2011-05-07 20:17 -0700

csiph-web