Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 7995 invoked from network); 22 Dec 2009 06:37:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Dec 2009 06:37:28 -0000 Received: (qmail 29774 invoked by uid 500); 22 Dec 2009 06:37:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29661 invoked by uid 500); 22 Dec 2009 06:37: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 29649 invoked by uid 99); 22 Dec 2009 06:37:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 06:37:24 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.61.36.196] (HELO vs2-rsm2.koutbo6.com) (69.61.36.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 06:37:15 +0000 Received: from localhost (localhost [127.0.0.1]) by vs2-rsm2.koutbo6.com (Postfix) with ESMTP id 077BE212868E for ; Tue, 22 Dec 2009 09:36:54 +0300 (AST) X-Virus-Scanned: Debian amavisd-new at mail.koutbo6.com Received: from vs2-rsm2.koutbo6.com ([69.61.36.196]) by localhost (vs2-rsm2.koutbo6.com [69.61.36.196]) (amavisd-new, port 10024) with ESMTP id G3959oN3YlNv for ; Tue, 22 Dec 2009 09:36:47 +0300 (AST) Received: from [192.168.1.9] (unknown [62.215.66.153]) by vs2-rsm2.koutbo6.com (Postfix) with ESMTP id E317A212856F for ; Tue, 22 Dec 2009 09:36:45 +0300 (AST) From: Mohammad AlMarzouq Content-Type: multipart/alternative; boundary=Apple-Mail-11--311237915 Subject: Re: couchdb on snowleopard Date: Tue, 22 Dec 2009 09:36:43 +0300 Message-Id: <6083AE07-7F3B-41DC-85B8-90BD07302F57@twothirty.am> To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) --Apple-Mail-11--311237915 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Sat, Dec 19, 2009 at 7:22 AM, Mohammad AlMarzouq = wrote: > > Hi all, > > > > Managed to compile couchdb on SL and run it. All seemed good as this = is what I get when > I use safari to open http://localhost:5984/ > > > > {"couchdb":"Welcome","version":"0.10.1"} > > > > However, when I open http://localhost:5984/_utils I get: > > > > {"error":"unknown_error","reason":"badarg"} > > > > This is output from console: > > [error] [<0.63.0>] Badarg error in HTTP request > > [info] [<0.63.0>] Stacktrace: = [{erlang,universaltime_to_localtime,[{{1969,12,31},{23,59,59}}]}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {calendar,local_time_to_universal_time_dst,1}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {httpd_util,rfc1123_date,1}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {mochiweb_request,serve_file,4}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {couch_httpd,serve_file,3}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {couch_httpd,handle_request,5}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {mochiweb_http,headers,5}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {proc_lib,init_p_do_apply,3}] > > [info] [<0.63.0>] 127.0.0.1 - - 'GET' /favicon.ico 500 > > [error] [<0.72.0>] Badarg error in HTTP request > > [info] [<0.72.0>] Stacktrace: = [{erlang,universaltime_to_localtime,[{{1969,12,31},{23,59,59}}]}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {calendar,local_time_to_universal_time_dst,1}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {httpd_util,rfc1123_date,1}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {mochiweb_request,serve_file,4}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {couch_httpd,serve_file,3}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {couch_httpd,handle_request,5}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {mochiweb_http,headers,5}, > > =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD =EF=BF=BD = {proc_lib,init_p_do_apply,3}] > > [info] [<0.72.0>] 127.0.0.1 - - 'GET' /_utils/ 500 > > > > I managed to use couchdb-python to create dbs and insert documents. = However, when I created > some views and attempted to access them, I got the exact same error = mentioned above. > > > > Might I also point out, that I got this exact error even when I = tried installing from > trunk. > > > > You assistance is greatly appreciated. > > > > Best regards, > > > > Mohammad AlMarzouq > > > > >=20 > Looks like there's either a problem with your system clock or with the > time reported on the files in you utils directory. Can you paste the > output of these two commands? >=20 > $ date > Sat Dec 19 13:11:19 EST 2009 > $ ls -alh /usr/local/share/couchdb/www/index.html > -rw-r--r-- 1 davisp staff 3.1K Sep 6 23:20 > /usr/local/share/couchdb/www/index.html Here is the output, nothing seems odd: $ date Tue Dec 22 09:34:33 AST 2009 $ ls -alh /usr/local/share/couchdb/www/index.html -rw-r--r--@ 1 root wheel 3.1K Dec 14 21:39 = /usr/local/share/couchdb/www/index.html Mohammad --Apple-Mail-11--311237915--