From dev-return-11839-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Fri Sep 24 18:48:52 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 93272 invoked from network); 24 Sep 2010 18:48:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Sep 2010 18:48:52 -0000 Received: (qmail 93760 invoked by uid 500); 24 Sep 2010 18:48:51 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 93709 invoked by uid 500); 24 Sep 2010 18:48:51 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 93701 invoked by uid 99); 24 Sep 2010 18:48:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 18:48:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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 cqxiao@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 18:48:43 +0000 Received: by wyj26 with SMTP id 26so3534656wyj.11 for ; Fri, 24 Sep 2010 11:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=SW5i8baf6TVjAI+MKnVKfmNWY3W9IJ+RUrQFZscUe7k=; b=kIwDeR8c327G7cAxtQwVfAHIl6he7Zp6H761Yq+6/S8rvVwIQLoCZRFsYe0XxPpIuJ 2/3VrphQT4XpjvA1kOlD2bsTOlIRjU5LWeXcW4lIVvTWxmCKH9lpkSds2Vz4iIaph/7m njQ6kMaxRjrRlOoQrpKt5sMMQV8bJxr9cWo7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=eDU73ecJl0tQL9NJ7qYGG51ca9u1maOWxWZHN+s3ibyyKC46GioAFSNN6Vq/e2OaDE F3lOeXr8N7Lf/YTdBvMPZkhAarhGvFoasx3FROFuqK26xYGnWABx+4pMOyd+scW6m6+s /J7Q5U7zkGkpZy2BWa6DoVLCTlNMQSiV9G5fg= MIME-Version: 1.0 Received: by 10.216.159.195 with SMTP id s45mr3098009wek.43.1285354103371; Fri, 24 Sep 2010 11:48:23 -0700 (PDT) Received: by 10.216.93.197 with HTTP; Fri, 24 Sep 2010 11:48:23 -0700 (PDT) Date: Fri, 24 Sep 2010 13:48:23 -0500 Message-ID: Subject: Simple erlang and erl question From: chongqing xiao To: dev@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, I was learning erlang and couchdb using the erl and I got the following error when I tried to use couch_file in erl shell. Could someone explain what might be the problem? I am guessing couch_file is not the actual module but I can't figure out how to get that. =E0=B8=80Eshell V5.8.1 (abort with ^G) 1> c("c:/couchdb/src/couchdb/couch_file", [{outdir, "c:/couchdb/src/couchdb/"}]). {ok,couch_file} 2> couch_file.open("c:/test"). ** exception error: bad function 'couch_file.open' Thanks Chong