Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 33872 invoked from network); 22 Feb 2009 18:43:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2009 18:43:32 -0000 Received: (qmail 56804 invoked by uid 500); 22 Feb 2009 18:43:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 56768 invoked by uid 500); 22 Feb 2009 18:43:26 -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 56757 invoked by uid 99); 22 Feb 2009 18:43:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 10:43:26 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simonmetson@googlemail.com designates 209.85.217.162 as permitted sender) Received: from [209.85.217.162] (HELO mail-gx0-f162.google.com) (209.85.217.162) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 18:43:17 +0000 Received: by gxk6 with SMTP id 6so4453487gxk.11 for ; Sun, 22 Feb 2009 10:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:x-mailer; bh=nOlxs37Aq5TPEHAZLOqgvwL6WTgZfH5mFfIxE1yp6VY=; b=s1ZavH8rI+e/4bCsF3/P7XpDZSTyg4XF5K5NavaWQ+0ydjBsiG9owU1G4X2zp9Pc7/ R9qGyEfIIjILgY3+mD1Ioy386UrN/TjGowD7MRqPfQpRFUl6+5CRCvjhgCrZOsh5iaCO twwFOXO5u9gwuBp4y4sgVMIinhD1HGCVDYF9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=AAksGopeFjX8779hHVxcXDwBVytQA5cTi3a9bvoqzu1vIe7Ur5s/xYNzZr/NV6JM0f 86idLApuK35U5wFmzNbYNoACRyQ6P/r4SMStDG8KueH0lB0txRObIJ/k5/oNJNz0ji/D 76NEC4w8SjxXjwsSRxbytjNa+8MwwAXQ6/F2M= Received: by 10.231.30.198 with SMTP id v6mr4741638ibc.26.1235328176637; Sun, 22 Feb 2009 10:42:56 -0800 (PST) Received: from ?192.168.0.105? (c-24-1-124-224.hsd1.il.comcast.net [24.1.124.224]) by mx.google.com with ESMTPS id 28sm10754492qbw.23.2009.02.22.10.42.53 (version=SSLv3 cipher=RC4-MD5); Sun, 22 Feb 2009 10:42:55 -0800 (PST) Message-Id: From: Simon Metson To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=Apple-Mail-7--677068336 Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Problem with python view server Date: Sun, 22 Feb 2009 12:42:49 -0600 X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7--677068336 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi All, Using CouchDB 0.9.0a722639-incubating I get the following error when trying to access a python view server: {"error":"{badmatch,{start_array,{decoder,null, 37,1,38,trim}}}","reason":"[{mochijson2,json_decode,2},\n {couch_query_servers,read_json,1},\n {couch_query_servers,prompt,2},\n {couch_query_servers,'-map_docs/2-fun-1-',2},\n {lists,map,2},\n {couch_query_servers,map_docs,2},\n {couch_view,view_compute,2},\n {couch_view,update_group,1}]"} http://localhost:5984/_config/query_servers/ has: {"python":"/Users/metson/Documents/Workspace/PlayGround/couchdb-python/ build/lib/couchdb/view.py","javascript":"/Users/metson/Documents/ Workspace/PlayGround/couchdb/install/bin/couchjs /Users/metson/ Documents/Workspace/PlayGround/couchdb/install/share/couchdb/server/ main.js"} which is from the latest trunk of couchdb-python, and the view is: def mapfun(doc): yield doc The script is executable, and, as far as I can tell the python path is correct (I can import all the libs). Am I doing something obviously wrong? Should I update to a more recent couch build? Cheers Simon --Apple-Mail-7--677068336--