Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 58616 invoked from network); 23 Feb 2009 07:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2009 07:02:25 -0000 Received: (qmail 78328 invoked by uid 500); 23 Feb 2009 07:02:23 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78288 invoked by uid 500); 23 Feb 2009 07:02:23 -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 78277 invoked by uid 99); 23 Feb 2009 07:02:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Feb 2009 23:02:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of skippy.hammond@gmail.com designates 209.85.200.172 as permitted sender) Received: from [209.85.200.172] (HELO wf-out-1314.google.com) (209.85.200.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 07:02:14 +0000 Received: by wf-out-1314.google.com with SMTP id 28so2048211wff.29 for ; Sun, 22 Feb 2009 23:01:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=r2PYcuwW7EZumw6bhUH8kG3GThqGCub8lR/YNqlq/T0=; b=Qu9kPqvkdBtBgrIJbth1Ax1mk20pIsD07/UMCRh5G6Sq6b2X2Hzj96018e8RLDf5Ou HYNGRCQA752beYtl3RwcKVm3Tu7qQCDF2n/lmnY1Yy8za0bKybv2PYNpXD5xdxpQ15L6 9IHDu4B0iYsKsLci3uhfIRIMuxDRUZU/lJ0NQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=bvqI4sp5arH5+W6nH71DCK7s6s2K4kP/q4NfvitozjOlOwtAPs5POTUOU929cQG27e KLQI+a+ltoBLZymHRsosRda0J8ijn2JXj9c+YMQCaFPfjDrVzA1eitmDOvhQRMlB6L6x IHxg3WspgiPMg21CV470lvYlNxlC6Ld27jpoE= Received: by 10.143.160.17 with SMTP id m17mr1831612wfo.298.1235372512908; Sun, 22 Feb 2009 23:01:52 -0800 (PST) Received: from ?192.168.0.12? (202.168.100.57.dynamic.rev.eftel.com [202.168.100.57]) by mx.google.com with ESMTPS id 20sm10661206wfi.52.2009.02.22.23.01.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Feb 2009 23:01:52 -0800 (PST) Message-ID: <49A24993.7040503@gmail.com> Date: Mon, 23 Feb 2009 18:00:35 +1100 From: Mark Hammond User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: help getting svn version running on Windows Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'm playing with a project which uses couchdb and I'm trying to get the project working on Windows. I found the Wiki at http://wiki.apache.org/couchdb/Installing_on_Windows, and while the binaries worked well, the application was causing the following error: """ [info] [<0.75.0>] HTTP Error (code 500): {query_parse_error,"Bad URL query key:include_docs"} """ A bit of time with google led me to believe that I needed a newer version of couchdb for this to work. After pulling from SVN and updating and recompiling the couchdb-0.8.1 directory, the 'couch_start.bat' batch file fails with: """ 1> {"init terminating in do_boot",{{badmatch,{error,{function_clause,[{couch_util,separate_cmd_args,[46,[]]},{couch_util,abs_pathname,1},{couch_config,load_ini_file,1},{couch_config,'-init/1-lc$^0/1-0-',1},{couch_config,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}} Crash dump was written to: erl_crash.dump init terminating in do_boot () """ I suspect the problem is the args we are passing to the start function but I'm not experienced enough to decycpher it; for reference, couch_start.bat consists of the single line: """ ..\bin\werl.exe -smp auto -sasl errlog_type error -eval "application:load(inets)" -eval "application:load(crypto)" -eval "application:load(couch)" -eval "crypto:start()" -eval "inets:start()" -eval "couch_server:start(\"../usr/couch.ini\"), receive done -> done end." """ If I try and start it via the Wiki instructions (ie, a simple 'couch_server:start().', I get: """ 1> couch_server:start(). Apache CouchDB 0.0.0 (LogLevel=info) is starting. ** exception error: no function clause matching filename:join({error,bad_name},"lib") in function couch_server_sup:start_server/1 """ Ultimately, all I really need is the initial 'include_docs' error resolved; is updating couchdb the correct way to do that? If so, can anyone offer any clues to what my problem is? Thanks, Mark