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


Groups > comp.lang.python > #51539

Re: SQLite logic error or missing database

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:error': 0.03; 'subject:missing': 0.07; 'concurrent': 0.16; 'error).': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'least.': 0.16; 'sqlite': 0.16; 'wrote:': 0.18; 'app': 0.19; 'written': 0.21; 'seems': 0.21; 'error': 0.23; 'header:In-Reply- To:1': 0.27; 'correct': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'gives': 0.31; 'code': 0.31; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'instances': 0.36; 'similar': 0.36; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; '30,': 0.65; 'between': 0.67; 'close': 0.67; 'jul': 0.74; 'race': 0.95; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9+1u+M+boy9pL3vG4KrkLxy33WzbxMUOLex7oKRd5xI=; b=pcnlJnzIVQ9kuccOctV64FuEDnVh+EzNEQVfcQ+v6nvm1wwgZsx3lPKkQguMQe7ujG 7raRUANIbgAoQCIve4ClVYv3EacKN5G7PuJ3jyoG2AZtRKyj5clgZS6uY29C5duPiNQm lTely3pym0ymSGNRKf8m+93EQYPg3TU7V4PinLWzFKFAOdNfhyedNtxfXrUfMfGtemGO xnSy9n6ywPYMoMmne5YU0GFRmc/LLfwRftnOnT2wxOEdXL2DNbV3W5D1vLXFSHPYB7yA tc3d6M/b6oe4SokkNKq57M8WTWBD+suhMAlWJ57xA8Q0xVUqEGGI/wbybL9aB1Z+iinG qiSA==
MIME-Version 1.0
X-Received by 10.52.65.241 with SMTP id a17mr1409265vdt.23.1375150645531; Mon, 29 Jul 2013 19:17:25 -0700 (PDT)
In-Reply-To <b0298f45-ea28-4b5e-9f5e-8a4d0adab34b@googlegroups.com>
References <b0298f45-ea28-4b5e-9f5e-8a4d0adab34b@googlegroups.com>
Date Tue, 30 Jul 2013 03:17:25 +0100
Subject Re: SQLite logic error or missing database
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5299.1375150654.3114.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375150654 news.xs4all.nl 15907 [2001:888:2000:d::a6]:37548
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51539

Show key headers only | 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