Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEBBB9F79 for ; Mon, 26 Mar 2012 15:20:57 +0000 (UTC) Received: (qmail 70130 invoked by uid 500); 26 Mar 2012 15:20:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70063 invoked by uid 500); 26 Mar 2012 15:20:56 -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 70050 invoked by uid 99); 26 Mar 2012 15:20:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 15:20:56 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marty.schoch@gmail.com designates 209.85.161.180 as permitted sender) Received: from [209.85.161.180] (HELO mail-gx0-f180.google.com) (209.85.161.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 15:20:51 +0000 Received: by gglu1 with SMTP id u1so4773149ggl.11 for ; Mon, 26 Mar 2012 08:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=4hIzYtp9+EY/Mki9YIOniIzzPjgZLZbTUD/JbcEwR4Y=; b=ajK/uJkg/v/WN8CM5RxiS7BEt8CXhOcMmSzuVBXrQyjAjo0cqJZS0+/7+lVkakOzWI QobAMNl3B19FLZwO/j6w2eJWINe2Y8FyxZBEJqX4UiO/2J0cpCY7cvbcwmq72E/YjoCS Ann3NCl/YGB5Mizu4YpJ8L728Sy/6tTVF//OEuszKAYMUFdKMpZns7wo2vSw2w5CcMU6 yO/yFG5G1CR/kp7dx7Ut8/rZWRplBLKrfFgOauPRRUadSNfsJineOnLswk03PRVd3hRr NZUAfRSJeFQDJQbjB7FhP6ymzTTiWfPNx3X8wqu5fBW4mCvNbg5RLXiR29/h3Hhcn5EI 3yOg== MIME-Version: 1.0 Received: by 10.50.34.200 with SMTP id b8mr5966810igj.50.1332775230859; Mon, 26 Mar 2012 08:20:30 -0700 (PDT) Received: by 10.43.43.131 with HTTP; Mon, 26 Mar 2012 08:20:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Mar 2012 11:20:30 -0400 Message-ID: Subject: Re: Bad utf8 character code error From: Marty Schoch To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Sorry for the delayed response. The current version is 1.2.0a-573eba5-git. The version you have appears to be the previous release. Could you upgrade to the latest version and see if you experience the same problem? marty On Wed, Mar 21, 2012 at 12:44 PM, Karoly Szanto w= rote: > The Android couchbase version in use, should be the latest > > "version":"1.2.0a-7b47329-git" > > > /Karcsi > > > On Mon, Mar 19, 2012 at 3:06 PM, Marty Schoch wro= te: > >> Can you check which version of Couchbase Mobile for Android is in use? >> =A0We found/resolved an issue with the replicator in December. >> >> http://www.couchbase.com/issues/browse/CBMA-22 >> >> If I remember correctly, the "bad_utf8_character_code" is a red >> herring caused by us logging some binary attachment data. =A0The fix for >> this bug was included in the latest release. >> >> marty >> >> On Mon, Mar 19, 2012 at 5:29 AM, Karoly Szanto >> wrote: >> > Hi Paul, >> > Thanks for the fast reply. >> > >> > I am replicating from couchDB instances running on Android phones towa= rds >> > the server (and the other way around). The couchDB for Android is >> > https://github.com/couchbase/Android-Couchbase =A0which is probably ba= sed >> on >> > a different (older) version of couchDB. >> > >> > The sever is running *version:"1.1.1"* >> > * >> > * >> > Karoly >> > >> > On Mon, Mar 19, 2012 at 10:21 AM, Paul Davis < >> paul.joseph.davis@gmail.com>wrote: >> > >> >> Are you replicating between different versions of CouchDB? My first >> >> guess is that you've replicating older to newer and its hitting a >> >> stricter enforcement of Unicode semantics in surrogate pairs. >> >> >> >> On Mon, Mar 19, 2012 at 3:04 AM, Karoly Szanto > > >> >> wrote: >> >> > Hi, >> >> > During the replication proces I get the following error in the couc= hdb >> >> > server log: >> >> > >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<0.13261.0>,crash_repo= rt, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[[{initial_call, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {mochiweb_accep= tor,init, >> >> > >> =A0['Argument__1','Argument__2','Argument__3']}}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{pid,<0.13261.0>= }, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{registered_name= ,[]}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{error_info, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {exit, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{ucs,{bad_ut= f8_character_code}}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[{xmerl_ucs,= from_utf8,1}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {mochijson2= ,json_encode_string,2}, >> >> > >> >> > =A0{mochijson2,'-json_encode_proplist/2-fun-0-',3}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {lists,fold= l,3}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {mochijson2= ,json_encode_proplist,2}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_http= d,send_json,4}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_http= d,handle_request_int,5}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {mochiweb_h= ttp,headers,5}]}}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{ancestors, >> >> > >> >> [https,couch_secondary_services,couch_server_sup, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<0.35.0>]}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{messages, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{#Ref<0.0.8.97= 038>, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {ok, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{proc,<0= .7774.0>,<<"javascript">>, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{<<"_d= esign/monarcaserver">>, >> >> > >> >> > =A0<<"469-a002d8a3c537c48875b315164d8eadb6">>}], >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_= os_process,prompt}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_= os_process,set_timeout}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {couch_= os_process,stop}}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{[{<<"re= duce_limit">>,true}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<"= timeout">>,30000}]}}}]}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{links,[<0.136.0= >]}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{dictionary, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{mochiweb_requ= est_body,<<>>}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{mochiweb_re= quest_qs, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{"filter",= "monarcaserver/userfilter"}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{"userid= ","70"}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{"feed",= "continuous"}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{"heartb= eat","10000"}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{"style"= ,"all_docs"}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{"since"= ,"0"}]}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{jsonp,no_js= onp}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{mochiweb_re= quest_cookie,[]}]}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{trap_exit,false= }, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{status,running}= , >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{heap_size,41084= 75}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{stack_size,24}, >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{reductions,5319= 640}], >> >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 []]}} >> >> > >> >> > My first guess is that this might be solved by specifying the chars= et >> in >> >> > the replication header but I'd like to know your opinion as well. >> >> > >> >> > Thank you, >> >> > Karoly >> >> >>