Menu

Inserts fail silently

Help
2007-12-06
2012-09-19
  • Brian Morton

    Brian Morton - 2007-12-06

    I am experiencing a very strange error with 1.2.1-p2, which I can also reproduce with 1.2.2. In a python script I wrote to load some data with the Django ORM, inserts begin to fail after a hundred rows or so. It is always some value between 100 and 125, maybe 105, maybe 119, etc. My script will keep going without an exception as if it were inserting. But when I check my database, there are only 100 or so rows in place, and no more inserts are going on. A check of show processlist shows that the connected process is sleeping rather than querying.

    Any idea what this could be?

     
    • Andy Dustman

      Andy Dustman - 2007-12-07

      Are you using transactions? Are you committing transactions?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.