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


Groups > comp.lang.python > #51539

Re: SQLite logic error or missing database

References <b0298f45-ea28-4b5e-9f5e-8a4d0adab34b@googlegroups.com>
Date 2013-07-30 03:17 +0100
Subject Re: SQLite logic error or missing database
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5299.1375150654.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Jul 30, 2013 at 3:02 AM, CM <cmpython@gmail.com> wrote:
> If I try additional commits in that same instance of my app being open,
> it gives me the same error every time.  If I close the app and re-open
> it, it does not give me this error, with the same or very similar data
> being written in the same routines.  So I "know" that the code as
> written is correct (a significant--greater than 90%?--of the time I
> don't see this error).

Is it a race between two concurrent instances of the app? I don't know
sqlite but that seems like something to consider, at least.

ChrisA

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


Thread

SQLite logic error or missing database CM <cmpython@gmail.com> - 2013-07-29 19:02 -0700
  Re: SQLite logic error or missing database Chris Angelico <rosuav@gmail.com> - 2013-07-30 03:17 +0100

csiph-web