bulk_save exception

23 views
Skip to first unread message

Adam Cox

unread,
Dec 6, 2011, 8:50:22 AM12/6/11
to couch...@googlegroups.com
Hi. 

I have a newly installed OS 10.7 and am getting an exception thrown when calling db.bulk_save(docs). I've installed from 'easy_install' and I tried to install from the latest repository snapshot on github. I get the same exception in both cases.  However, it appears that my documents do get placed on my database. 

thanks!
Adam

Traceback (most recent call last):
  
  File "/Library/Python/2.7/site-packages/couchdbkit-0.5.7-py2.7.egg/couchdbkit/client.py", line 554, in save_docs
    raise BulkSaveError(errors, results)
couchdbkit.exceptions.BulkSaveError

Adam Cox

unread,
Dec 7, 2011, 9:07:11 AM12/7/11
to couch...@googlegroups.com
so, I'm pretty sure the problem is that in my list of docs, there were two docs that probably had the same ID.

i would expect couchdbkit to throw an exception in that case!

cheers,
Adam
Reply all
Reply to author
Forward
0 new messages