From user-return-9425-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Fri Mar 19 00:26:05 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 57653 invoked from network); 19 Mar 2010 00:26:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 00:26:04 -0000 Received: (qmail 62452 invoked by uid 500); 19 Mar 2010 00:26:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 62411 invoked by uid 500); 19 Mar 2010 00:26:03 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 62403 invoked by uid 99); 19 Mar 2010 00:26:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 00:26:03 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=10.0 tests=AWL,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [93.93.131.91] (HELO aristaeus.mediagraft.com) (93.93.131.91) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 00:25:58 +0000 Received: from merrells by aristaeus.mediagraft.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NsQ1x-0000Gd-3t for user@couchdb.apache.org; Fri, 19 Mar 2010 00:25:37 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: get document => unknown_error undef From: John Merrells In-Reply-To: <877753C8-6026-4547-8BF2-7A632E0DA58F@gmail.com> Date: Thu, 18 Mar 2010 17:25:33 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0140263B-0C07-4129-AF25-825707F30D73@merrells.com> <20100318205732.GB11805@uk.tiscali.com> <5665A706-3B81-42D4-862D-415D1E24F2C2@merrells.com> <1E446B4B-44EC-4855-811C-0CC2B4EC75FA@gmail.com> <5650FE49-2DEA-4C92-A65F-B1974B90FE31@merrells.com> <877753C8-6026-4547-8BF2-7A632E0DA58F@gmail.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) On Mar 18, 2010, at 5:19 PM, J Chris Anderson wrote: >=20 > It's hard to tell exactly from here.=20 >=20 > Does removing ?revs_info=3Dtrue from the URL string help? I don't actually send that... so that kinda gets added along the way = actually. > You could add more debug logging to the couch_httpd:send_json = function. yeah... which would mean me paging erlang back into my brain which could = take a couple of days i'm suspicious about the utf-8 bit.... maybe I have a bad icu install. >=20 > Is there any chance you can share your database file? If you want to = keep it private, you can email it to me directly, or if it is large, put = it at a URL that I can download from. sure..... let me put a copy somewhere and email you the link >=20 > Also - what version of Erlang are you running? I have: >=20 > $ erl > Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:2:2] [rq:2] = [async-threads:0] [kernel-poll:false] Erlang R13B01 (erts-5.7.2) [source] [smp:4:4] [rq:4] [async-threads:0] = [kernel-poll:false] On ubuntu 9.10 I haven't seen the same problem on mac os-x yet... John >=20 > Chris >=20 >=20 >> John >>=20 >>=20 >> [Fri, 19 Mar 2010 00:03:39 GMT] [debug] [<0.148.0>] 'GET' = /pages/http%3A%2F%2Ffoodbazaar.info%2Frecipes?revs_info=3Dtrue {1,1} >> Headers: [{'Accept',"application/json, text/javascript, */*"}, >> {'Accept-Charset',"ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.3"}, >> {'Accept-Encoding',"gzip,deflate,sdch"}, >> {'Accept-Language',"en-US,en;q=3D0.8"}, >> {'Authorization',"Basic YWRtaW46Y2FtbWF4em9l"}, >> {'Connection',"keep-alive"}, >> {'Cookie',"AuthSession=3D"}, >> {'Host',"127.0.0.1:6095"}, >> = {'Referer',"http://127.0.0.1:6095/_utils/document.html?pages/http%3A%2F%2F= foodbazaar.info%2Frecipes"}, >> {'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X = 10_6_2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 = Safari/532.9"}, >> {"X-Requested-With","XMLHttpRequest"}] >>=20 >> [Fri, 19 Mar 2010 00:03:39 GMT] [debug] [<0.148.0>] OAuth Params: = [{"revs_info","true"}] >>=20 >> [Fri, 19 Mar 2010 00:03:39 GMT] [error] [<0.148.0>] Uncaught error in = HTTP request: {error,undef} >>=20 >> [Fri, 19 Mar 2010 00:03:39 GMT] [info] [<0.148.0>] Stacktrace: = [{xmerl_ucs,from_utf8, >> [<<"\"910d520333cc1fdd43a837b0f147c2f9\"">>]}, >> {mochijson2,json_encode_string,2}, >> {mochijson2,'-json_encode_proplist/2-fun-0-',3}, >> {lists,foldl,3}, >> {mochijson2,json_encode_proplist,2}, >> {couch_httpd,send_json,4}, >> {couch_httpd_db,do_db_req,2}, >> {couch_httpd,handle_request,5}] >>=20 >> [Fri, 19 Mar 2010 00:03:39 GMT] [debug] [<0.148.0>] httpd 500 error = response: >> {"error":"unknown_error","reason":"undef"} >>=20 >> --=20 >> John Merrells >> http://johnmerrells.com >> +1.415.244.5808 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >=20 --=20 John Merrells http://johnmerrells.com +1.415.244.5808