2018-03-12 7:03 GMT+01:00 Stefan Klein <st.fankl...@gmail.com>:

> Hi Couchusers,
>
> i am trying to create a document with multiple attachments.
> 13 images, 1.2MB total.
>
> I get a 500 from couchdb 1.7.1 and in the couchdb log i get:
>
> [info] [<0.3275.73>] Stacktrace: [{couch_db,write_streamed_attachment,
>                                       [<0.4494.73>,
>                                        #Fun<couch_doc.16.26040431>,-2603],
>                                       [{file,"couch_db.erl"},{line,
> 1075}]},
>                                   {couch_db,with_stream,3,
>                                       [{file,"couch_db.erl"},{line,
> 1034}]},
>                                   {couch_db,'-doc_flush_atts/2-
> lc$^0/1-0-',2,
>                                       [{file,"couch_db.erl"},{line,941}]},
>                                   {couch_db,'-doc_flush_atts/2-
> lc$^0/1-0-',2,
>                                       [{file,"couch_db.erl"},{line,941}]},
>                                   {couch_db,doc_flush_atts,2,
>                                       [{file,"couch_db.erl"},{line,941}]},
>                                   {couch_db,'-update_docs/4-lc$^7/1-7-',2,
>                                       [{file,"couch_db.erl"},{line,810}]},
>                                   {couch_db,'-update_docs/4-lc$^6/1-6-',2,
>                                       [{file,"couch_db.erl"},{line,809}]},
>                                   {couch_db,update_docs,4,
>                                       [{file,"couch_db.erl"},{line,809}]}]
>
>
>
Found the error, the attachment names where not unique.
A resonable error message would have been nice, though.

regards,
Stefan

Reply via email to