From user-return-10354-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed May 05 23:56:27 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 79249 invoked from network); 5 May 2010 23:56:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 23:56:27 -0000 Received: (qmail 93322 invoked by uid 500); 5 May 2010 23:56:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 93290 invoked by uid 500); 5 May 2010 23:56:25 -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 93282 invoked by uid 99); 5 May 2010 23:56:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 23:56:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adam.christian@gmail.com designates 209.85.221.175 as permitted sender) Received: from [209.85.221.175] (HELO mail-qy0-f175.google.com) (209.85.221.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 23:56:19 +0000 Received: by qyk5 with SMTP id 5so8717931qyk.3 for ; Wed, 05 May 2010 16:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=U5lbdZoAmc3tvdyMAm8/00z3Zmei57nzNWvXi7N+fKc=; b=pmUpU+59R/QUBV5kl/Z6bAEzt5QNpvdSYDv6rK77y7XUi48jo2yHCnIcmxAme7igrL x3ULmzUGYw8lWZU1oE0VqwyDBOUgRaCcJGbYWHxm8mw5Fg8o0KL9kISefVSz4Bek0MfL o4Gkg+d2HltOh3z1bhVokhSqN0OWmnsfgfMDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wgHgN3IljgqVVkDfaJDS7lK7gfeGEQjFQhIVclVmGidcWajH/C6dv8MyY21Anx95b0 qscly+Y88kO+/fWzpvmzH5MrnOgrPt9un7wxqeewBRn7yg6Qje8xIJpI3UnpjmNeH21L VHmRZOSgUBQn7btw/WS78+m88YF+WNff0MmeQ= MIME-Version: 1.0 Received: by 10.224.85.196 with SMTP id p4mr3238047qal.6.1273103758416; Wed, 05 May 2010 16:55:58 -0700 (PDT) Received: by 10.229.19.199 with HTTP; Wed, 5 May 2010 16:55:58 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 May 2010 16:55:58 -0700 Message-ID: Subject: Re: .10.1 to .11 Upgrade Pains, ideas? From: Adam Christian To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00c09f9058e5485d580485e1918b X-Virus-Checked: Checked by ClamAV on apache.org --00c09f9058e5485d580485e1918b Content-Type: text/plain; charset=ISO-8859-1 Thanks so much rming the old version of mochiweb fixed the problem. Before we do this in production, can you give me any insight into how that error is caused by the old version of mochiweb? Does it reflect something about our database, or is it a bug in the old version of mochiweb? Thanks again so much! Adam On Wed, May 5, 2010 at 4:20 PM, Randall Leeds wrote: > Most likely you have an old mochiweb sitting around in > /usr/lib/couchdb/erlang/lib > > Make sure you have completely removed 0.10.1. > > On Wed, May 5, 2010 at 16:13, Adam Christian > wrote: > > I'm trying to upgrade our .10.1 server to .11, I can view the DB's in > futon, > > but when I start asking them for data with python I get the following TB, > > any ideas would be greatly appreciated as we are badly needing some of > the > > .11 improvements. > > > > Thanks in advance!! > > > > Adam > > > > TB > > --- > > > > Traceback (most recent call last): > > File "./beanstalk.py", line 75, in > > config = convert_expediter_conf(get_expediter_conf(conf_db)) > > File "/home/hostess/projects/sauce/lib/couch_models.py", line 44, in > > get_expediter_conf > > amis = list(AMI.view('amis/active')) # simplify usage > > File "/usr/local/lib/python2.6/dist-packages/couchdbkit/client.py", line > > 944, in __len__ > > return self.count() > > File "/usr/local/lib/python2.6/dist-packages/couchdbkit/client.py", line > > 878, in count > > self._fetch_if_needed() > > File "/usr/local/lib/python2.6/dist-packages/couchdbkit/client.py", line > > 909, in _fetch_if_needed > > self.fetch() > > File "/usr/local/lib/python2.6/dist-packages/couchdbkit/client.py", line > > 891, in fetch > > self._result_cache = self.view._exec(**self.params).json_body > > File "/usr/local/lib/python2.6/dist-packages/couchdbkit/client.py", line > > 979, in _exec > > return self._db.res.get(self.view_path, **params) > > File "/usr/local/lib/python2.6/dist-packages/restkit/resource.py", line > > 135, in get > > return self.request("GET", path=path, headers=headers, **params) > > File "/usr/local/lib/python2.6/dist-packages/couchdbkit/resource.py", > line > > 125, in request > > payload=body, headers=headers, **params) > > File "/usr/local/lib/python2.6/dist-packages/restkit/resource.py", line > > 245, in request > > response=resp) > > restkit.errors.RequestFailed: {"error":"bad_request","reason":"invalid > UTF-8 > > JSON"} > > > --00c09f9058e5485d580485e1918b--