Re: Newbie question about Python + CouchDB

2010-09-13 Thread James Mills
On Tue, Sep 14, 2010 at 8:59 AM, C3 wrote: > i was wondering if it is possible to; > > 1. capture the HTTP status code for each post > 2. write logic around that code (such as "skip post if error code was a > 409") An appropriate exception should by thrown when it "crashes". Use an appropriate

Newbie question about Python + CouchDB

2010-09-13 Thread C3
Total newbie here - have a quick question I have a script that takes data in a flat text file, breaks it up and builds a CouchDB with all my data - however during the loop in which the data is loaded into couchdb - I sometimes get crashes becuase of a duplicate Document ID (which in my case is