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 2F4199DDA for ; Mon, 26 Mar 2012 18:39:26 +0000 (UTC) Received: (qmail 77369 invoked by uid 500); 26 Mar 2012 18:39:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 77327 invoked by uid 500); 26 Mar 2012 18:39:24 -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 77319 invoked by uid 99); 26 Mar 2012 18:39:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 18:39:24 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of szanto.karoly@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 18:39:18 +0000 Received: by iage36 with SMTP id e36so11372741iag.11 for ; Mon, 26 Mar 2012 11:38:56 -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; bh=IyH4SLUPMPrGuy/f2I++NiJerl/Mq5T8UXwRtNXaqhs=; b=UA+Ume1UGZKQ9BN8IhzL68IN+kLZ767+2g396Z5MyQYAkjG/iDsjewVPSIzQqP3wdd 8AkV8VFKfs9/64HiJvdB1OQznEafOjnW1U6/8D57C6/6CuOjinW2S/GUo6APLm8bYlSA bRg2xpqnzAh+sDZ8xTwnsi3DHSgOFm38f5lwvOmStwMtbEljtC9RIJvHjWGtjPZuMFYY ylPcB+NgUmTfvngwKTqm3FobAy9rdasntmZZ2Toh3p1sPpWCKK9s+sO5A0WU0IXO8TgV ti6oNHQu1hfEcH1IhH988ROYciFY4olR8dygl5SVjFYyLB7WWQMRpkh+baUWRYfuo2NV H/jg== MIME-Version: 1.0 Received: by 10.50.192.228 with SMTP id hj4mr6541834igc.72.1332787136773; Mon, 26 Mar 2012 11:38:56 -0700 (PDT) Received: by 10.231.144.70 with HTTP; Mon, 26 Mar 2012 11:38:56 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Mar 2012 21:38:56 +0300 Message-ID: Subject: Re: Bad utf8 character code error From: Karoly Szanto To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=14dae9341029d93d1104bc29af7f --14dae9341029d93d1104bc29af7f Content-Type: text/plain; charset=ISO-8859-1 Oh great. I've been following https://github.com/couchbase/Android-Couchbase but seems to be a bit behind. I've seen the latest release 2.0 is a Beta. So I might be waiting for the final releas. Thanks a lot, /Karcsi On Mon, Mar 26, 2012 at 9:09 PM, Marty Schoch wrote: > You can find the latest release here: > > http://www.couchbase.com/wiki/display/couchbase/Android > > The upgrade process is straightforward. Extract the distribution zip > file, and take the resulting Couchbase.zip and couchbase.xml files and > replace the ones in your current project. Then run the the > couchbase.xml file as ant script. > > If you have more questions specific to Couchbase Mobile, you may want > to ask here: > > http://groups.google.com/group/mobile-couchbase > > marty > > On Mon, Mar 26, 2012 at 1:40 PM, Karoly Szanto > wrote: > > Hi. No worries :) > > But where can I find the files for the latest release? How can I upgrade > to > > the latest release? > > > > /Karcsi > > > > On Mon, Mar 26, 2012 at 6:20 PM, Marty Schoch >wrote: > > > >> 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 < > szanto.karoly@gmail.com> > >> wrote: > >> > 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 >> >wrote: > >> > > >> >> Can you check which version of Couchbase Mobile for Android is in > use? > >> >> We 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. The fix > for > >> >> this bug was included in the latest release. > >> >> > >> >> marty > >> >> > >> >> On Mon, Mar 19, 2012 at 5:29 AM, Karoly Szanto < > szanto.karoly@gmail.com > >> > > >> >> wrote: > >> >> > Hi Paul, > >> >> > Thanks for the fast reply. > >> >> > > >> >> > I am replicating from couchDB instances running on Android phones > >> towards > >> >> > the server (and the other way around). The couchDB for Android is > >> >> > https://github.com/couchbase/Android-Couchbase which is probably > >> based > >> >> 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 < > >> szanto.karoly@gmail.com > >> >> > > >> >> >> wrote: > >> >> >> > Hi, > >> >> >> > During the replication proces I get the following error in the > >> couchdb > >> >> >> > server log: > >> >> >> > > >> >> >> > {<0.13261.0>,crash_report, > >> >> >> > [[{initial_call, > >> >> >> > {mochiweb_acceptor,init, > >> >> >> > > >> >> ['Argument__1','Argument__2','Argument__3']}}, > >> >> >> > {pid,<0.13261.0>}, > >> >> >> > {registered_name,[]}, > >> >> >> > {error_info, > >> >> >> > {exit, > >> >> >> > {ucs,{bad_utf8_character_code}}, > >> >> >> > [{xmerl_ucs,from_utf8,1}, > >> >> >> > {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,handle_request_int,5}, > >> >> >> > {mochiweb_http,headers,5}]}}, > >> >> >> > {ancestors, > >> >> >> > > >> >> >> [https,couch_secondary_services,couch_server_sup, > >> >> >> > <0.35.0>]}, > >> >> >> > {messages, > >> >> >> > [{#Ref<0.0.8.97038>, > >> >> >> > {ok, > >> >> >> > {proc,<0.7774.0>,<<"javascript">>, > >> >> >> > [{<<"_design/monarcaserver">>, > >> >> >> > > >> >> >> > <<"469-a002d8a3c537c48875b315164d8eadb6">>}], > >> >> >> > {couch_os_process,prompt}, > >> >> >> > {couch_os_process,set_timeout}, > >> >> >> > {couch_os_process,stop}}, > >> >> >> > {[{<<"reduce_limit">>,true}, > >> >> >> > {<<"timeout">>,30000}]}}}]}, > >> >> >> > {links,[<0.136.0>]}, > >> >> >> > {dictionary, > >> >> >> > [{mochiweb_request_body,<<>>}, > >> >> >> > {mochiweb_request_qs, > >> >> >> > > [{"filter","monarcaserver/userfilter"}, > >> >> >> > {"userid","70"}, > >> >> >> > {"feed","continuous"}, > >> >> >> > {"heartbeat","10000"}, > >> >> >> > {"style","all_docs"}, > >> >> >> > {"since","0"}]}, > >> >> >> > {jsonp,no_jsonp}, > >> >> >> > {mochiweb_request_cookie,[]}]}, > >> >> >> > {trap_exit,false}, > >> >> >> > {status,running}, > >> >> >> > {heap_size,4108475}, > >> >> >> > {stack_size,24}, > >> >> >> > {reductions,5319640}], > >> >> >> > []]}} > >> >> >> > > >> >> >> > My first guess is that this might be solved by specifying the > >> charset > >> >> in > >> >> >> > the replication header but I'd like to know your opinion as > well. > >> >> >> > > >> >> >> > Thank you, > >> >> >> > Karoly > >> >> >> > >> >> > >> > --14dae9341029d93d1104bc29af7f--