Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 84536 invoked from network); 5 Aug 2009 23:04:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Aug 2009 23:04:12 -0000 Received: (qmail 46563 invoked by uid 500); 5 Aug 2009 23:04:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 46492 invoked by uid 500); 5 Aug 2009 23:04:18 -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 46482 invoked by uid 99); 5 Aug 2009 23:04:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 23:04:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-vw0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 23:04:09 +0000 Received: by vws7 with SMTP id 7so422511vws.29 for ; Wed, 05 Aug 2009 16:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=d97113c3iowJNu6SBW2MAlrKSJ+nfRFuibRK9nr8Pl0=; b=WcJbmFt+CW1yP1E9s56H7TqjUgn98P87LAz+jw/ZuWRAg+mbkwpgG0I858u1eqDgsD R+3JhmiSreL+lTdQta527N9fak0d0cAkUBzX86z07f3TPejNgQLGdCBfxGMkUa7aGWIj e8Eu3fBDE6zf1bApAN6AsgXOuZ4LKtjDlXuAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=XlMFy0tc49Wo7xmXBMwXw34Nb8yxvoQjEwA181xqtmDY603iPTKoh56t/nRufUKyrx QzsiavnCuH3lnCD4BFm0PCjWsfHu0pEiYfhVDUxfQHyeAsf/nb4Bbaig4liTFaAPifiY xGDZPzuCk8OE+T1tGyhP1vQ3qwmTbFhGfC9sc= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.220.87.8 with SMTP id u8mr9204815vcl.103.1249513428569; Wed, 05 Aug 2009 16:03:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Aug 2009 16:03:48 -0700 X-Google-Sender-Auth: ce736ea3be60c87b Message-ID: Subject: Re: Can't run views on new install From: Chris Anderson 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 On Wed, Aug 5, 2009 at 12:36 PM, Michael McCaffrey w= rote: > New to couchDB. > > > > Got a small java app reading and writing documents to the db using > couchdb4j. > > > > However, I can't get views to work. =A0Get this error when I try to run a > view. Get the error both in java and on futon. > > > > View is simple to return all docs > > > > function(doc) {emit(null,doc);} > > > > > > Error: badmatch > > > > {{einval,[{erlang,open_port, > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[{spawn,"couch_js > ../lib/couchdb/share/server/main.js"}, > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [stream,{line,1024},binary,exit_statu= s,hide]]}, > > =A0 =A0 =A0 =A0 =A0{couch_os_process,init,1}, > > =A0 =A0 =A0 =A0 =A0{gen_server,init_it,6}, > > =A0 =A0 =A0 =A0 =A0{proc_lib,init_p_do_apply,3}]}, > > =A0{gen_server,call,[couch_query_servers,{get_proc,<<"javascript">>}]}} > > > > Running on windows/Firefox. > The Windows process model is a bit different from posix, so that's probably why spawning the JavaScript process is failing. There is a windows installer in the works. Maybe someone who knows more about it can comment. Chris > > > > > Any help? > > > > Thanks > > > > --=20 Chris Anderson http://jchrisa.net http://couch.io